Theemo / @theemo/tokens / TokenTypeRegistry
Interface: TokenTypeRegistry
Registry of available token types
Example
Adding your own types
ts
type BorderValue = /* ... */
declare module '@theemo/tokens' {
interface TokenTypeRegistry {
border: BorderValue;
}
}
Properties
color
ts
color: string;
Defined in
packages/@theemo/tokens/src/token-types.ts:323
content
ts
content: string;
Defined in
packages/@theemo/tokens/src/token-types.ts:322
cubicBezier
ts
cubicBezier: CubicBezierValue;
Defined in
packages/@theemo/tokens/src/token-types.ts:328
dimension
ts
dimension: string;
Defined in
packages/@theemo/tokens/src/token-types.ts:324
duration
ts
duration: string;
Defined in
packages/@theemo/tokens/src/token-types.ts:327
fontFamily
ts
fontFamily: FontFamilyValue;
Defined in
packages/@theemo/tokens/src/token-types.ts:325
fontWeight
ts
fontWeight: FontWeightValue;
Defined in
packages/@theemo/tokens/src/token-types.ts:326
gradient
ts
gradient: GradientValue;
Defined in
packages/@theemo/tokens/src/token-types.ts:334
number
ts
number: number;
Defined in
packages/@theemo/tokens/src/token-types.ts:329
shadow
ts
shadow: ShadowValue;
Defined in
packages/@theemo/tokens/src/token-types.ts:330
stroke
ts
stroke: StrokeValue;
Defined in
packages/@theemo/tokens/src/token-types.ts:332
strokeStyle
ts
strokeStyle: StrokeStyleValue;
Defined in
packages/@theemo/tokens/src/token-types.ts:331
transition
ts
transition: TransitionValue;
Defined in
packages/@theemo/tokens/src/token-types.ts:333
typography
ts
typography: TypographyValue;
Defined in
packages/@theemo/tokens/src/token-types.ts:335
unknown
ts
unknown: unknown;