Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
It’s fundamental to everything we design. The 8px Grid is the geometric foundation of all the visual elements of Kyper, from typography to columns, boxes, icons, and illustrations. It provides structure and guidance for all creative decision-making.
MX uses an 8 px layout grid. All visual assets should align to this grid. There are some cases where it's ok to "split" the grid.
Spacing refers to either the margin or padding of an object. Spacing should align to the values below.
Splitting is when an assets height or width end at an increment of 4px. In some cases it is ok to space objects at 4px or 12px apart. Typically you will split the grid to allow for proper grouping of assets. See Gestalt's principle of proximity for more context.
Also, due to font sizing constraints some of our font sizes split the grid. Below are a list of font sizes that have line heights that do not strictly align to an 8px grid.
Size | Line height |
---|---|
Body | 20px |
Paragraph small | 20px |
Tiny | 12px |