SPACING AS DESIGN TOKENS
YAML
JSON {
SPACING_NONE: ‘0px’ SPACING_XXXS: ‘2px’ SPACING_XXS: ‘4px’ SPACING_XS: ‘8px’ SPACING_S: ‘16px’ SPACING_M: ‘24px’ SPACING_L: ‘32px’ SPACING_XL: ‘48px’ SPACING_XXL: ‘64px’ SPACING_XXXL: ‘128px’
“SPACING_NONE”: “0px”, “SPACING_XXXS”: “2px”, “SPACING_XXS”: “4px”, “SPACING_XS”: “8px”, “SPACING_S”: “16px”, “SPACING_M”: “24px”, “SPACING_L”: “32px”, “SPACING_XL”: “48px”, “SPACING_XXL”: “64px”, “SPACING_XXXL”: “128px” }
JS ARRAY module.exports = [ {key:’SPACING_NONE’, value:’0px’}, {key:’SPACING_XXXS’, value:’2px’}, {key:’SPACING_XXS’, value:’4px’}, {key:’SPACING_XS’, value:’8px’}, {key:’SPACING_S’, value:’16px’}, {key:’SPACING_M’, value:’24px’}, {key:’SPACING_L’, value:’32px’}, {key:’SPACING_XL’, value:’48px’}, {key:’SPACING_XXL’, value:’64px’}, {key:’SPACING_XXXL’, value:’128px’} ]