npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@fylgja/tokens

v2.2.0

Published

[![NPM version](https://img.shields.io/npm/v/@fylgja/tokens)](https://www.npmjs.com/package/@fylgja/tokens) [![NPM Downloads](https://img.shields.io/npm/dt/%40fylgja%2Ftokens)](https://www.npmjs.com/package/@fylgja/tokens) [![License](https://img.shields.

Readme

Fylgja Tokens

NPM version NPM Downloads License

Establish a consistent design language across your projects with Fylgja Design Tokens.

This predefined set of tokens eliminates redundant variations in spacing, colors, and other design elements, ensuring a unified structure throughout your codebase.

For projects with specific requirements, Fylgja offers granular imports.

Select only the necessary token categories, such as spacing, and define your own custom color palettes.

Furthermore, Fylgja seamlessly integrates with PostCSS Jit Props, mirroring the functionality of Open Props and other design token systems, for optimized CSS output.

Installation

You can install Fylgja Tokens via npm or other Node-based package managers like pnpm or bun:

npm install @fylgja/tokens

Alternatively, you can use it directly via a CDN:

<link href="https://cdn.jsdelivr.net/npm/@fylgja/tokens/css/index.min.css" rel="stylesheet">

Usage

Once installed, you can import the full package with:

import tokens from "@fylgja/tokens";

or as CSS with:

@import "@fylgja/tokens/css";

Next to this we also offers imports for SCSS, JS and for design systems in a json format.

Each option can be import for all tokens or just the part you need.

| Import Path | Description | | ---------------------------------------------------- | ----------------------------------------------- | | @fylgja/tokens/{css/scss/tailwind} | All tokens | | @fylgja/tokens/{css/scss/tailwind/js}/aspect-ratio | Aspect Ratios | | @fylgja/tokens/{css/scss/js}/borders | Border Widths and Radii | | @fylgja/tokens/{css/scss/js}/colors | List of 14 colors in oklch format | | @fylgja/tokens/{css/scss}/hues | JS version is part of the colors import | | @fylgja/tokens/{css/scss}/colors-static | Combination of colors and hues as a static list | | @fylgja/tokens/tailwind/colors | Same as colors-static | | @fylgja/tokens/{css/scss/tailwind/js}/easing | Easing Functions | | @fylgja/tokens/{css/scss/js}/fonts | Font Size and Line Height | | @fylgja/tokens/{css/scss/tailwind/js}/mq | CSS Breakpoints and User preferences | | @fylgja/tokens/{css/scss/tailwind/js}/shadows | Shadows | | @fylgja/tokens/{css/scss/tailwind/js}/sizes | Sizes | | @fylgja/tokens/{css/scss/js}/z-layer | Z-Index's |

[!Note] Not all tokens can be represented in a design system format.

| Import Path for design system | Description | | ----------------------------- | ------------------------------------------------ | | @fylgja/tokens/tokens | Follows the (draft) 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.