Skip to content

Commit

Permalink
chore: Add xxxx_l spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
mheggelund committed Sep 20, 2023
1 parent cee8ea8 commit ba94426
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions src/tokens/spacings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,24 @@ import { tokens } from '@equinor/eds-tokens'
const comfortable = tokens.spacings.comfortable

export const spacings = {
XX_SMALL: comfortable.xx_small /* 2px */,
X_SMALL: comfortable.x_small /* 4px */,
SMALL: comfortable.small /* 8px */,
MEDIUM_SMALL: comfortable.medium_small /* 12px */,
MEDIUM: comfortable.medium /* 16px */,
LARGE: comfortable.large /* 24px */,
X_LARGE: comfortable.x_large /* 32px */,
XX_LARGE: comfortable.xx_large /* 40px */,
XXX_LARGE: comfortable.xxx_large /* 48px */,
/** 2px */
XX_SMALL: comfortable.xx_small,
/** 4px */
X_SMALL: comfortable.x_small,
/** 8px */
SMALL: comfortable.small,
/** 12px */
MEDIUM_SMALL: comfortable.medium_small,
/** 16px */
MEDIUM: comfortable.medium,
/** 24px */
LARGE: comfortable.large,
/** 32px */
X_LARGE: comfortable.x_large,
/** 40px */
XX_LARGE: comfortable.xx_large,
/** 48px */
XXX_LARGE: comfortable.xxx_large,
/** 64px */
XXXX_LARGE: '64px',
}

0 comments on commit ba94426

Please sign in to comment.