@fylgja/tokens
v2.2.0
Published
[](https://www.npmjs.com/package/@fylgja/tokens) [](https://www.npmjs.com/package/@fylgja/tokens) [ Design Tokens Spec |
| @fylgja/tokens/figma | Can be used with the Figma Plugin Token Studio |
Shadow DOM Support
For web components utilizing Shadow DOM,
import the .host variants to apply tokens within the host scope:
@import "@fylgja/tokens/css/aspect-ratio.host";This enables seamless integration of Fylgja Design Tokens within your custom web components.
PostCSS Jit Props Integration
Leverage PostCSS Jit Props to optimize CSS output by including only the tokens used in your project.
While Fylgja tokens are designed for minimal size, this integration further reduces file sizes, especially when combined with custom tokens.
Tailwind Support
The Fylgja Tokens also have a dedicated import options for TailwindCSS v4, specifically curated to augment or override relevant tokens within TailwindCSS's default theme settings.
