Logo FS-Skia-UI

Light Module

Light-theme primitives (feed Theme.light; value-identical to the pre-feature literals).

Functions and values

Function or value Description

accent

Full Usage: accent

Returns: Color

Light-theme accent colour for primary/active emphasis.

Returns: Color

background

Full Usage: background

Returns: Color

Light-theme surface/background colour.

Returns: Color

contrastRequiredRatio

Full Usage: contrastRequiredRatio

Returns: float

Minimum foreground/background contrast ratio the light theme must satisfy.

Returns: float

cornerRadius

Full Usage: cornerRadius

Returns: float

Light-theme default corner radius for rounded control surfaces.

Returns: float

danger

Full Usage: danger

Returns: Color

Light-theme danger/destructive colour for errors and destructive actions.

Returns: Color

density

Full Usage: density

Returns: float

Light-theme density multiplier scaling spacing and control sizing.

Returns: float

fontFamily

Full Usage: fontFamily

Returns: string option

Optional light-theme font family; None falls back to the host default.

Returns: string option

fontSize

Full Usage: fontSize

Returns: float

Light-theme base font size in device-independent units.

Returns: float

foreground

Full Usage: foreground

Returns: Color

Light-theme primary foreground (text/icon) colour.

Returns: Color

muted

Full Usage: muted

Returns: Color

Light-theme muted colour for secondary text and de-emphasised chrome.

Returns: Color

success

Full Usage: success

Returns: Color

Light-theme success colour for the `StyleVariant.Success` style variant (feature 093).

Returns: Color

warning

Full Usage: warning

Returns: Color

Light-theme warning/caution colour for the `StyleVariant.Warning` style variant (feature 093).

Returns: Color

Type something to start searching.