themeTokens property

Tokens get themeTokens

Returns the design tokens for the active theme in this context.

Defaults to global tokens if no NakiThemeProvider ancestor is found.

Implementation

Tokens get themeTokens =>
    NakiThemeProvider.of(this)?.tokens ?? Tokens.current;