OudsThemeContract
An interface to create an OUDS supported theme.
Implementations of this interface define the look and feel of the application by providing specific token values (colors, typography, spacing, etc.). Any values not explicitly set will generally rely on abstract definitions, but typical implementations should provide full sets of tokens.
Properties
The collection of border-related tokens (width, radius, style) used in the theme.
The collection of semantic color tokens used in the theme.
Specific tokens for customizing the internal behavior or style of OUDS components.
Allows customization of drawable resources used explicitly by OUDS components.
The collection of visual effect tokens (e.g., blurs) used in the theme.
The collection of elevation tokens (z-index, shadows) used in the theme.
The font family used in the theme.
The collection of typography semantic tokens (font sizes, weights, line heights) used in the theme.
The collection of grid layout tokens used in the theme.
The mapping of OUDS tokens to standard Material 3 color roles. This ensures compatibility with standard Material components.
The collection of opacity tokens used in the theme.
The general settings for the theme configuration.
The collection of size tokens (icons, constraints) used in the theme.
The collection of spacing tokens (padding, margins, gaps) used in the theme.