Light Module
Light-theme primitives (feed Theme.light; value-identical to the pre-feature literals).
Functions and values
| Function or value |
Description
|
Light-theme accent colour for primary/active emphasis.
|
|
|
Light-theme surface/background colour.
|
Full Usage:
contrastRequiredRatio
Returns: float
|
Minimum foreground/background contrast ratio the light theme must satisfy.
|
Full Usage:
cornerRadius
Returns: float
|
Light-theme default corner radius for rounded control surfaces.
|
Light-theme danger/destructive colour for errors and destructive actions.
|
|
Full Usage:
density
Returns: float
|
Light-theme density multiplier scaling spacing and control sizing.
|
Full Usage:
fontFamily
Returns: string option
|
Optional light-theme font family;
|
Full Usage:
fontSize
Returns: float
|
Light-theme base font size in device-independent units.
|
|
Light-theme primary foreground (text/icon) colour.
|
Light-theme muted colour for secondary text and de-emphasised chrome.
|
|
Light-theme success colour for the `StyleVariant.Success` style variant (feature 093).
|
|
Light-theme warning/caution colour for the `StyleVariant.Warning` style variant (feature 093).
|