Skip to content

@tavora/sdk / OPTIONAL_THEME_TOKENS

Variable: OPTIONAL_THEME_TOKENS ​

const OPTIONAL_THEME_TOKENS: object

Defined in: packages/sdk/src/protocol.ts:107

Tokens a theme may leave out, with the token each one copies then. Toasts are flipped pills by default: the theme's text colour as the background, the theme's background as the text. Tavora fills these in, so a module always gets every token.

Type Declaration ​

toast ​

readonly toast: "foreground" = "foreground"

toast-foreground ​

readonly toast-foreground: "background" = "background"

For Tavora 0.23.9 and @tavora/sdk 0.3.3. Code under the MIT License. The Tavora name and logo are not covered by it.