@dynamicnorway/tokens
v1.0.2
Published
Design tokens and global styles for Dynamic
Downloads
475
Readme
@dynamicnorway/tokens
Design tokens and global styles for Dynamic applications.
Built for Tailwind CSS v4.
Install
pnpm add @dynamicnorway/tokens tailwindcssUsage
In your global CSS:
@import "@dynamicnorway/tokens";If you also use @dynamicnorway/react, add a @source line so Tailwind picks up component utility classes — see the react package README.
This imports the full token set and base styles. To import only the theme variables:
@import "@dynamicnorway/tokens/theme";Toggle dark mode by adding the dark class to <html>.
Preview
Token swatches and typography are shown in Storybook under Tokens / Theme. From the monorepo root, run pnpm dev and open http://localhost:6006.
