Skip to main content

apply_kit

Function apply_kit 

pub fn apply_kit(style: &mut Style, dark: bool)
Expand description

Copies the demo kit v1 tokens into egui’s style for one scheme.

The canvas background is --demo-surface, like the page’s panels, and egui’s own text, strokes, links and selection take the kit’s text, border and accent.