update css handling

This commit is contained in:
Skyler Lehmkuhl
2026-03-02 10:32:19 -05:00
parent 73ef9e3b9c
commit ec46e22782
16 changed files with 1375 additions and 362 deletions
@@ -881,11 +881,8 @@ impl PaneRenderer for InfopanelPane {
shared: &mut SharedPaneState,
) {
// Background
ui.painter().rect_filled(
rect,
0.0,
egui::Color32::from_rgb(30, 35, 40),
);
let bg = shared.theme.bg_color(&["#infopanel", ".pane-content"], ui.ctx(), egui::Color32::from_rgb(30, 35, 40));
ui.painter().rect_filled(rect, 0.0, bg);
// Create scrollable area for content
let content_rect = rect.shrink(8.0);