tabs scroll
This commit is contained in:
13
src/theme.rs
13
src/theme.rs
@@ -6,7 +6,6 @@ pub struct ColorPalette {
|
||||
pub bg_primary: egui::Color32, // Main background
|
||||
pub bg_secondary: egui::Color32, // Secondary panels
|
||||
pub bg_tertiary: egui::Color32, // Elevated elements
|
||||
pub bg_hover: egui::Color32, // Hover states
|
||||
|
||||
// Accent colors
|
||||
pub accent_primary: egui::Color32, // Primary purple accent
|
||||
@@ -20,14 +19,8 @@ pub struct ColorPalette {
|
||||
|
||||
// UI element colors
|
||||
pub selection: egui::Color32,
|
||||
pub highlight: egui::Color32,
|
||||
pub line_number: egui::Color32,
|
||||
pub border: egui::Color32,
|
||||
|
||||
// Status colors
|
||||
pub success: egui::Color32,
|
||||
pub warning: egui::Color32,
|
||||
pub error: egui::Color32,
|
||||
}
|
||||
|
||||
impl ColorPalette {
|
||||
@@ -37,7 +30,6 @@ impl ColorPalette {
|
||||
bg_primary: egui::Color32::from_rgb(24, 20, 32), // #18141F
|
||||
bg_secondary: egui::Color32::from_rgb(32, 26, 42), // #201A2A
|
||||
bg_tertiary: egui::Color32::from_rgb(42, 35, 54), // #2A2336
|
||||
bg_hover: egui::Color32::from_rgba_premultiplied(90, 75, 115, 40),
|
||||
|
||||
// Purple accents - modern and vibrant
|
||||
accent_primary: egui::Color32::from_rgb(138, 98, 208), // #8A62D0
|
||||
@@ -51,14 +43,9 @@ impl ColorPalette {
|
||||
|
||||
// UI elements
|
||||
selection: egui::Color32::from_rgb(108, 68, 178), // #6C44B2
|
||||
highlight: egui::Color32::from_rgba_premultiplied(138, 98, 208, 60),
|
||||
line_number: egui::Color32::from_rgb(110, 100, 130), // #6E6482
|
||||
border: egui::Color32::from_rgb(60, 50, 75), // #3C324B
|
||||
|
||||
// Status colors
|
||||
success: egui::Color32::from_rgb(100, 200, 130), // #64C882
|
||||
warning: egui::Color32::from_rgb(255, 180, 80), // #FFB450
|
||||
error: egui::Color32::from_rgb(240, 100, 120), // #F06478
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user