ltk::theme::active

Function active_document

Source
pub fn active_document() -> Arc<ThemeDocument>
Expand description

The currently loaded theme document. Use this for slot-typed lookups when the per-slot helpers (crate::theme::color, crate::theme::surface(), …) are not expressive enough — e.g. iterating mode.slots.entries.