Skip to main content

Module theme

Module theme 

Source
Expand description

macOS AppKit Dynamic Theming System.

Grounded in Apple AppKit NSAppearance semantics and W3C DTCG design tokens. Guarantees zero hardcoded constants by deriving all geometry metrics, typography bounds, and semantic colors dynamically from MacDesignTokens.

Re-exports§

pub use contrast::contrast_ratio;
pub use contrast::relative_luminance;
pub use contrast::srgb_channel_to_linear;
pub use contrast::MacBackgroundStyle;

Modules§

accessors
Metric and semantic token accessors for MacTheme.
contrast
macOS AppKit Dynamic Contrast & Background Style Engine.

Structs§

MacTheme
Dynamic theme resolving AppKit semantic styling from MacDesignTokens.

Enums§

MacAppearance
macOS system appearance mode.
WindowControlsStyle
Window caption controls presentation style (Strategy 2: Token-Driven / Configurable Presentation).