pub fn visuals(palette: &Palette) -> VisualsExpand description
Build egui’s Visuals from palette so the chrome egui
draws itself — menus, buttons, checkboxes, separators and the in-place rename
TextEdit — matches the canvas. Starts from the light or dark preset (per the
scheme’s own luminance) and overrides the colors that read against our
background.