
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@vega-ui/tokens-core
Advanced tools
Core tokens for Vega UI Kit Web
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.
| 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 |
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);
FAQs
CSS tokens for @vega-ui/react
We found that @vega-ui/tokens-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.