@microsoft/fast-foundation > CSSDesignToken
CSSDesignToken interface
A that emits a CSS custom property.
Signature:export interface CSSDesignToken<T extends string | number | boolean | BigInteger | null | Array<any> | symbol | ({
createCSS?(): string;
} & Record<PropertyKey, any>)> extends DesignToken<T>, CSSDirective
Properties
Property | Type | Description |
---|---|---|
cssCustomProperty | string | The formatted as a CSS custom property if the token is configured to write a CSS custom property. |
Methods
Method | Description |
---|---|
createCSS() |