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

@vega-ui/tokens-core

v2.3.1

Published

CSS tokens for @vega-ui/react

Readme

@vega-ui/tokens-core

Core tokens for Vega UI Kit Web

Color palette

Each color has 11 steps from 0 to 1000. Use raw palette tokens (--color-blue-500) only to define semantic tokens. In components always use semantic tokens: --color-primary-*, --color-secondary-*, --color-gray-accent-*, etc.

In dark mode the scale is automatically inverted: accent-N maps to raw-(1000−N), so components don't need dark mode overrides when using accent tokens.

Scale anatomy

| Steps | Zone | Purpose | |-------|------|---------| | 0 | Background | Lightest surface, ghost button resting state | | 100–200 | Surface | Hover/active states on light backgrounds, disabled fills, subtle borders | | 300–400 | Border | Default and hover borders for form controls | | 500 | Action | Primary interactive color — filled buttons, checked states, progress, links | | 600–700 | Action states | Hover (600) and active/pressed (700) for filled elements | | 800 | Text on fill | Text color inside filled alert/badge backgrounds | | 900–1000 | Deep | Not used directly in components; needed for dark mode inversion |

How to apply steps in a component

Filled element (button, checkbox, progress bar):

background: var(--color-primary-500);   /* default */
background: var(--color-primary-600);   /* hover   */
background: var(--color-primary-700);   /* active  */

Ghost / transparent element (ghost button, option row):

background: transparent;                /* default */
background: var(--color-primary-0);     /* hover   */
background: var(--color-primary-100);   /* active  */
color: var(--color-primary-500);        /* text — all states */

Outline element (outline button, outline badge):

border-color: var(--color-primary-500); /* default */
background:   var(--color-primary-0);   /* hover   */
background:   var(--color-primary-100); /* active  */

Form control border (input, select):

border-color: var(--color-gray-accent-300); /* default */
border-color: var(--color-gray-accent-400); /* hover   */
border-color: var(--color-gray-accent-500); /* active  */
border-color: var(--color-primary-500);     /* focus   */

Notification / badge variants:

/* filled  */ background: var(--color-red-accent-100); color: var(--color-red-accent-800);
/* surface */ background: var(--color-red-accent-0);   color: var(--color-red-accent-700); border-color: var(--color-red-accent-700);
/* fill    */ background: var(--color-red-accent-500); color: var(--color-white);