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 Nov 5, 2024
1 parent f546b9c commit bab5113
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 bab5113

Please sign in to comment.