Usage
import { steinsGate } from '@stareezy-ui/tokens'
// Access token values
steinsGate.ibmBlue.value // "#4a9eff"
steinsGate.labNight.value // "#080c18"
steinsGate.divergenceRed.value // "#e63030"
steinsGate.ivoryText.value // "#e8dcc8"
// Use in createUi themes
const ui = createUi({
themes: { 'steins-gate': themes['steins-gate'] }
})Token Reference
Dark / Light Variants
The steinsGateVariants export provides both dark (midnight lab) and light (daytime parchment) variants via getVariant.
import { steinsGateVariants, getVariant } from '@stareezy-ui/tokens'
const darkTokens = getVariant(steinsGateVariants, 'dark')
const lightTokens = getVariant(steinsGateVariants, 'light')
darkTokens.labNight.value // "#080c18"
lightTokens.labNight.value // "#f5f0e8"Semantic mapping
When you use themes['steins-gate'] in createUi, the semantic slots map as follows:
| Semantic slot | Token | Value |
|---|---|---|
text.primary | steinsGate.ivoryText | #e8dcc8 |
text.importantBrand | steinsGate.ibmBlue | #4a9eff |
text.danger | steinsGate.divergenceRed | #e63030 |
text.success | steinsGate.labTeal | #2a9d8f |
backgrounds.primary | steinsGate.ibmBlue | #4a9eff |
backgrounds.primaryBlack | steinsGate.labNight | #080c18 |
border.primaryBrand | steinsGate.ibmBlue | #4a9eff |
border.danger | steinsGate.divergenceRed | #e63030 |