0.1.1 • Published 2 months ago

@tokens-studio/tokens v0.1.1

Weekly downloads
-
License
-
Repository
-
Last release
2 months ago

Tokens Studio: Internal tokens

Internal tokens used throughout various tools.

How to use

Use this repository as the source of truth for our design tokens in Figma. Output is currently configured for Stitches, to be consumed inside a Stitches config.

npm install @tokens-studio/tokens

Then, import the theme in stitches.config.ts

import { darkTheme, core } from '@tokens-studio/tokens';

export const stitchesInstance = createStitches({
  theme: {
    colors: darkTheme,
    ...core
  }

const { styled, css, keyframes, theme } = stitchesInstance;

export { styled, css, keyframes, theme };

Note that you could also use lightTheme as the default, then you'd just set

 theme: {
    colors: lightTheme,
    ...core
  }
0.1.1

2 months ago

0.1.0

2 months ago

0.0.24

5 months ago

0.0.23

8 months ago

0.0.22

11 months ago

0.0.20

1 year ago

0.0.21

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago