Design X is a design system built in Sketch, Framer X and React. The purpose of this project was to create a UI kit that will be used for all future Back Office control panels and for all components that are used for the casinos offered by Global Gaming.
The problem identified was that there was no consistency between products, designers and developers. The solution was to create a library and documentation with all the guidelines and components structure, so that the development team can easily refer to when building new interfaces and components. If no framework is used, the development team will end up using an interim UI kit. This would further increase the inconsistency when building the UI.
The goals for this project were to have:
1. Consistent Casino and Back Office Components.
2. Consistent Back Office Experience.
3. Consistent style resources to be used by all services.
4. Clear, familiar design for all users.
5. Allow for fast UX prototyping and UI development.
6. Self-contained and re-usable.
7. Easily updatable.

The scope was to replace all back-end and gaming platforms and build them using an atomic structure. Some of the requirements included:
1. A selection of individual styled elements including headings, buttons, lists, etc.
2. A responsive grid layout for building application pages.
3. A visual library showcasing all available components (this project focuses on the building blocks and guidelines of the framework)
4. A Sketch and a Framer file matching the theme version for fast UX prototyping.
5. Online documentation for all the quarks and components.
6. Components bundled into a single CSS and JS file for easy inclusion into applications and served via CDN.
7. Use of the BEM methodology to allow for clear labelling and styling encapsulation.
8. Consistent UX Structure for layout of theming to be familiar with all UX team members.

Sketch Files

The sketch files are based on quarks and library of the components. The quarks include all the colours, icons and typography. The components library includes all the components used in the casino and back-office.

Framer

Another task assigned to me was to build the building blocks and components of the system using Framer to enhance the possibilities of interactive design and reusability.

Colours

In the Color Libraries one will find 8 different color palettes; Gray, Primary, Secondary, Accent, Alert, Error, Success and Info. The color palettes are grouped in three different sections; Default, Brand and System Colors. The colour palette is using the same method as Material's Design, starting with a base primary colour, which is designated as '500', then have a range of incremental steps of shade, brighter and darker, to create a range of about 10 colours. The lightest is designated '50', and is near white, and the darkest '900', and is near black. Both scales retain some of the base colour. Below is an image representation of how the libraries are structured.
When it comes to react, the process was much easier as a const declaration and different properties were used for all the colours.

Typography

Design X is using a simple font combination organised from H1 to H6 headers and P1 to P6 Paragraphs. The typesheet also includes Displays and other text styles such as Block Quotes, Captions, Small Caps, and Small Text.
Typography system in Sketch is built into shared styles with a simple structure:
In Sketch, The type scale includes a range of contrasting styles that support the needs of the product and its content. The type scale is a combination of 25 styles for both primary and secondary fonts that are supported by the type system. It contains reusable categories of text, each with an intended application and meaning.

Responsive Type Scale

In Framer, the typesheet is structured a bit different and slightly more advanced. The typescale is extended to be responsive across multiple breakpoints. Another const declaration was used for the breakpoints. The breakpoints set are ‘extra small’, ‘small’, ‘medium’, ‘large’ and ‘extra large’.
The breakpoints value was used to set different font sizes for different type scales. This approach is useful for scaling across a vast spectrum of breakpoint sizes.
Different props were passed in the component for the user to control the text input, type scale, colour, colour scale and alignment. A padding and a margin background were also added to the component so that the user can see the padding and margin set to the text value. These can be toggled on or off from the right panel of framer.

Type Sheet

In total 3 different components were used for the typesheet, display, heading and paragraph. Below is a video showing how a user can set different values to a type component.
Responsive heading - The font size of the heading component is changing per breakpoint.
The advantage to using a system like this is that there is always a single source of truth, irrelevant if the component is used once or multiple times.

Shapes

To create the shape component, I had to create other variables such as the radius and shadows. The same approach used for the colours and breakpoints, was applied to the radius and shadows.
For the shadows, the values are very simple varying from 1 to 5. The radius property has 16 values with increments of 2 except for values 18 and 19. A 500rem was used to cater for buttons and other rounded shapes. The 100% value (19) was used to cater for oval shapes.
The radius and shape were integrated together to offer multiple possibilities. Designers can change the radius of either all sides of the shapes, or of one particular angle. This helps to have different options to design while still following a set of guidelines.

Documentation

Documentation of all the guidelines and components was documented for better consistency. Documentation is essential as most coders refer to it when they want to learn about a new project, or when they come across an issue or try solving a new problem with a project they already are familiar with. The documentation was very quickly drafted in sketch and uploaded to confluence. Post MVP an inhouse portal will be developed for all the guidelines and documentation.