Skip to content

Commit

Permalink
Feat(web-react): Rename spaces token object
Browse files Browse the repository at this point in the history
  • Loading branch information
crishpeen committed Oct 31, 2024
1 parent 28ad12f commit 02d4c4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web-react/src/types/shared/tokens.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { breakpoints, space } from '@lmc-eu/spirit-design-tokens';
import { breakpoints, spaces } from '@lmc-eu/spirit-design-tokens';

export const BREAKPOINT_MOBILE = 'mobile';

export type BreakpointToken = keyof typeof breakpoints | string;
export type SpaceToken = `${'space-'}${Extract<keyof typeof space, string>}` | `${'space-'}${number}`;
export type SpaceToken = `${'space-'}${Extract<keyof typeof spaces, string>}` | `${'space-'}${number}`;

0 comments on commit 02d4c4d

Please sign in to comment.