UNPKG

@atlaskit/tokens

Version:

Design tokens are the single source of truth to name and store design decisions.

479 lines • 14 kB
{ "name": "Spacing", "tokens": { "Spacing/space.0": { "attributes": { "group": "spacing", "state": "active", "introduced": "0.12.0", "description": "Equates to `0`. Use for resetting default spacing styles." }, "value": 0 }, "Spacing/space.025": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "1px", "3px" ], "introduced": "0.12.0", "description": "Use for small and compact pieces of UI." }, "value": 2 }, "Spacing/space.050": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "3px", "5px" ], "introduced": "0.12.0", "description": "Use for small and compact pieces of UI." }, "value": 4 }, "Spacing/space.075": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "5px", "7px" ], "introduced": "0.12.0", "description": "Use for small and compact pieces of UI." }, "value": 6 }, "Spacing/space.100": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "7px", "9px" ], "introduced": "0.12.0", "description": "Use for small and compact pieces of UI." }, "value": 8 }, "Spacing/space.150": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "10px", "11px", "13px", "14px" ], "introduced": "0.12.0", "description": "Use for larger and less dense pieces of UI." }, "value": 12 }, "Spacing/space.200": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "14px", "15px", "17px", "18px" ], "introduced": "0.12.0", "description": "Use for larger and less dense pieces of UI." }, "value": 16 }, "Spacing/space.250": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "19px", "21px", "22px", "23px" ], "introduced": "0.12.0", "description": "Use for larger and less dense pieces of UI." }, "value": 20 }, "Spacing/space.300": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "23px", "25px", "26px", "27px", "28px" ], "introduced": "0.12.0", "description": "Use for larger and less dense pieces of UI." }, "value": 24 }, "Spacing/space.400": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "28px", "29px", "30px", "31px", "33px", "34px", "35px" ], "introduced": "0.12.0", "description": "Use for the largest pieces of UI and for layout elements." }, "value": 32 }, "Spacing/space.500": { "attributes": { "group": "spacing", "state": "active", "introduced": "0.12.0", "description": "Use for the largest pieces of UI and for layout elements." }, "value": 40 }, "Spacing/space.600": { "attributes": { "group": "spacing", "state": "active", "introduced": "0.12.0", "description": "Use for the largest pieces of UI and for layout elements." }, "value": 48 }, "Spacing/space.800": { "attributes": { "group": "spacing", "state": "active", "introduced": "0.12.0", "description": "Use for the largest pieces of UI and for layout elements." }, "value": 64 }, "Spacing/space.1000": { "attributes": { "group": "spacing", "state": "active", "introduced": "0.12.0", "description": "Use for the largest pieces of UI and for layout elements." }, "value": 80 }, "Spacing/space.gap.large": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.150", "introduced": "20.5.0", "description": "Use for large gaps between elements in horizontal or vertical layouts. Do not use for component insets or dimensions." }, "value": 12 }, "Spacing/space.gap.medium": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.100", "introduced": "20.5.0", "description": "Use for medium gaps between related elements in horizontal or vertical layouts. Do not use for component insets or dimensions." }, "value": 8 }, "Spacing/space.gap.small": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.075", "introduced": "20.5.0", "description": "Use for small gaps between related elements, such as icons and text. Do not use for component insets or dimensions." }, "value": 6 }, "Spacing/space.gap.xlarge": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.200", "introduced": "20.5.0", "description": "Use for extra-large gaps between elements or groups of related content. Do not use for component insets or dimensions." }, "value": 16 }, "Spacing/space.gap.xsmall": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.050", "introduced": "20.5.0", "description": "Use for extra-small gaps between closely related elements. Do not use for component insets or dimensions." }, "value": 4 }, "Spacing/space.gap.xxlarge": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.300", "introduced": "20.5.0", "description": "Use for the largest gaps between groups of related content. Do not use for component insets or dimensions." }, "value": 24 }, "Spacing/space.gap.xxsmall": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.025", "introduced": "20.5.0", "description": "Use for the smallest gaps between closely related elements. Do not use for component insets or dimensions." }, "value": 2 }, "Spacing/space.inset.3xlarge": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.600", "introduced": "20.7.0", "description": "Use for the largest padding between a surface and its content, on individual sides or all sides. Do not use for gaps, margins, or dimensions." }, "value": 48 }, "Spacing/space.inset.large": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.250", "introduced": "20.7.0", "description": "Use for large padding between a surface and its content, on individual sides or all sides. Do not use for gaps, margins, or dimensions." }, "value": 20 }, "Spacing/space.inset.medium": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.200", "introduced": "20.7.0", "description": "Use for medium padding between a surface and its content, on individual sides or all sides. Do not use for gaps, margins, or dimensions." }, "value": 16 }, "Spacing/space.inset.small": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.150", "introduced": "20.7.0", "description": "Use for small padding between a surface and its content, on individual sides or all sides. Do not use for gaps, margins, or dimensions." }, "value": 12 }, "Spacing/space.inset.xlarge": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.300", "introduced": "20.7.0", "description": "Use for extra-large padding between a surface and its content, on individual sides or all sides. Do not use for gaps, margins, or dimensions." }, "value": 24 }, "Spacing/space.inset.xsmall": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.100", "introduced": "20.7.0", "description": "Use for extra-small padding between a surface and its content, on individual sides or all sides. Do not use for gaps, margins, or dimensions." }, "value": 8 }, "Spacing/space.inset.xxlarge": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.400", "introduced": "20.7.0", "description": "Use for extra-extra-large padding between a surface and its content, on individual sides or all sides. Do not use for gaps, margins, or dimensions." }, "value": 32 }, "Spacing/space.inset.xxsmall": { "attributes": { "group": "spacing", "state": "experimental", "replacement": "space.050", "introduced": "20.7.0", "description": "Use for the smallest padding between a surface and its content, on individual sides or all sides. Do not use for gaps, margins, or dimensions." }, "value": 4 }, "Spacing/space.negative.025": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "-1px", "-3px" ], "introduced": "1.21.0", "description": "Use to negate parent whitespace or overlap small pieces of UI." }, "value": -2 }, "Spacing/space.negative.050": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "-3px", "-5px" ], "introduced": "1.21.0", "description": "Use to negate parent whitespace or overlap small pieces of UI." }, "value": -4 }, "Spacing/space.negative.075": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "-5px", "-7px" ], "introduced": "1.21.0", "description": "Use to negate parent whitespace or overlap small pieces of UI." }, "value": -6 }, "Spacing/space.negative.100": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "-7px", "-9px" ], "introduced": "1.21.0", "description": "Use to negate parent whitespace or overlap small pieces of UI." }, "value": -8 }, "Spacing/space.negative.150": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "-10px", "-11px", "-13px", "-14px" ], "introduced": "1.21.0", "description": "Use to negate parent whitespace or overlap larger pieces of UI." }, "value": -12 }, "Spacing/space.negative.200": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "-14px", "-15px", "-17px", "-18px" ], "introduced": "1.21.0", "description": "Use to negate parent whitespace or overlap larger pieces of UI." }, "value": -16 }, "Spacing/space.negative.250": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "-19px", "-21px", "-22px", "-23px" ], "introduced": "1.21.0", "description": "Use to negate parent whitespace or overlap larger pieces of UI." }, "value": -20 }, "Spacing/space.negative.300": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "-23px", "-25px", "-26px", "-27px", "-28px" ], "introduced": "1.21.0", "description": "Use to negate parent whitespace or overlap larger pieces of UI." }, "value": -24 }, "Spacing/space.negative.400": { "attributes": { "group": "spacing", "state": "active", "suggest": [ "-28px", "-29px", "-30px", "-31px", "-33px", "-34px", "-35px" ], "introduced": "1.21.0", "description": "Use to negate parent whitespace or overlap the largest pieces of UI." }, "value": -32 } }, "renameMap": { "Spacing/space.gap.xxsmall": "Spacing/space.025", "Spacing/space.gap.xsmall": "Spacing/space.050", "Spacing/space.gap.small": "Spacing/space.075", "Spacing/space.gap.medium": "Spacing/space.100", "Spacing/space.gap.large": "Spacing/space.150", "Spacing/space.gap.xlarge": "Spacing/space.200", "Spacing/space.gap.xxlarge": "Spacing/space.300", "Spacing/space.inset.xxsmall": "Spacing/space.050", "Spacing/space.inset.xsmall": "Spacing/space.100", "Spacing/space.inset.small": "Spacing/space.150", "Spacing/space.inset.medium": "Spacing/space.200", "Spacing/space.inset.large": "Spacing/space.250", "Spacing/space.inset.xlarge": "Spacing/space.300", "Spacing/space.inset.xxlarge": "Spacing/space.400", "Spacing/space.inset.3xlarge": "Spacing/space.600" } }