Expand description
Typed default values for CSS properties (font size, font id, text color). Aggregated default values for typed CSS properties.
Typed wrappers built on top of the raw scalar defaults (e.g.
crate::props::basic::pixel::DEFAULT_FONT_SIZE). These exist so
consumers that need a StyleFontSize / StyleTextColor value at
const-time do not have to reconstruct them locally — and do not
duplicate the underlying numbers.
Constants§
- DEFAULT_
FONT_ ID - Default font family identifier used as a fallback.
- DEFAULT_
FONT_ SIZE - Default font size (
16px) used when no explicit size is specified. - DEFAULT_
TEXT_ COLOR - Default text color (opaque black).