Socket
Book a DemoInstallSign in
Socket

@tokens-studio/tokens

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tokens-studio/tokens

Internal tokens used throughout various tools.

latest
npmnpm
Version
0.3.13
Version published
Weekly downloads
534
184.04%
Maintainers
3
Weekly downloads
 
Created
Source

Tokens Studio: Internal tokens

Internal tokens used throughout various tools.

How to use

Use this repository as the source of truth for our design tokens in Figma. Output is currently configured for Stitches, to be consumed inside a Stitches config.

npm install @tokens-studio/tokens

Then, import the theme in stitches.config.ts

import { darkTheme, core } from '@tokens-studio/tokens';

export const stitchesInstance = createStitches({
	theme: {
		colors: darkTheme,
		...core,
	},
});

const { styled, css, keyframes, theme } = stitchesInstance;

export const { styled, css, keyframes, theme };

Note that you could also use lightTheme as the default, then you'd just set

{
 theme: {
    colors: lightTheme,
    ...core
  }
}

FAQs

Package last updated on 04 Sep 2025

Did you know?

Socket

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.

Install

Related posts