@efektif/tokens
v2.0.0
Published
Shared Efektif design tokens for web, desktop, and React Native.
Downloads
254
Maintainers
Readme
@efektif/tokens
Shared Efektif design tokens for web, desktop, and React Native.
Install
bun add @efektif/tokensUsage
import { baseTokens, themeTokens, nativeTokens } from '@efektif/tokens'
const radius = baseTokens.radii.sm
const brandPrimary = themeTokens.efektif.colors.primary
const mobileBackground = nativeTokens.colors.backgroundGenerated Artifact Imports
@import '@efektif/tokens/theme.css';import tokens from '@efektif/tokens/tokens.json'
import nativeTokens from '@efektif/tokens/native.json'Generate Artifacts
bun run tokens:buildOutputs:
packages/tokens/generated/tokens.jsonpackages/tokens/generated/theme.csspackages/tokens/generated/native.json
