theme property

ThemeTokens get theme

The site's theme: its own, over the design system's tokens with themeOverDesignSystem.

Implementation

ThemeTokens get theme => themeOverDesignSystem ? (designSystem?.themeUnder(site.ownTheme) ?? site.ownTheme) : site.ownTheme;