Skip to main content

VARIANT_OF_EXTENSION

Constant VARIANT_OF_EXTENSION 

Source
pub const VARIANT_OF_EXTENSION: &str = "org.egui-pop.variant-of";
Expand description

The root $extensions key naming a theme’s counterpart: the other variant, light or dark, of the same theme ($extensions: {"org.egui-pop.variant-of": "pop-dark"} in pop-light). Saying it on one side is enough: the other is found by looking it up. Not inherited through $extends: a theme built on pop-light is a theme of its own.