Theemo / @theemo/tokens
@theemo/tokens
Packages contains types and utility functions to work with tokens and their values.
Installation
sh
pnpm add -D @theemo/tokens
Alternatives
This package is heavily influenced rsp. based on these:
style-dictionary-utils
by Lukas Oppermann - Can be used as substitute to this and@theemo/style-dictionary
when none of the theemo features are used.- Design Token Tools by Knapsack - Very good to read and write tokens.
Classes
Interfaces
Type Aliases
- ColorTransform
- ColorValue
- ComputedValue
- ConstrainedValue
- Constraints
- ContentValue
- CubicBezierValue
- DimensionValue
- DurationValue
- FeatureConstraints
- Features
- FontFamilyValue
- FontWeightAlias
- FontWeightValue
- GradientValue
- NonConstrainedTokenValue
- NumberValue
- ReferencedValue
- ReferenceValue
- Scope
- ScopeConstraint
- ShadowValue
- ShadowValueSingular
- StrokeStyleValue
- StrokeValue
- StructuredValue
- TextTransformValue
- TokenType
- TokenValue
- TransformFor
- TransitionValue
- TypeValues
- TypographyValue
- UnknownValue
- ValueFor