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
@@ -22,22 +22,20 @@ impl PaneRenderer for OutlinerPane {
ui: &mut egui::Ui,
rect: egui::Rect,
_path: &NodePath,
_shared: &mut SharedPaneState,
shared: &mut SharedPaneState,
) {
// Placeholder rendering
ui.painter().rect_filled(
rect,
0.0,
egui::Color32::from_rgb(40, 50, 30),
);
let bg = shared.theme.bg_color(&["#outliner", ".pane-content"], ui.ctx(), egui::Color32::from_rgb(40, 50, 30));
ui.painter().rect_filled(rect, 0.0, bg);
let text = "Outliner\n(TODO: Implement layer tree)";
let text_color = shared.theme.text_color(&["#outliner", ".text-secondary"], ui.ctx(), egui::Color32::from_gray(150));
ui.painter().text(
rect.center(),
egui::Align2::CENTER_CENTER,
text,
egui::FontId::proportional(16.0),
egui::Color32::from_gray(150),
text_color,
);
}