feat: Switch to ayu theme
This commit is contained in:
+41
-32
@@ -25,46 +25,55 @@ pub struct Theme {
|
|||||||
impl Theme {
|
impl Theme {
|
||||||
pub fn dark() -> Self {
|
pub fn dark() -> Self {
|
||||||
Self {
|
Self {
|
||||||
background: gpui::rgb(0x1E1E2E),
|
// ayu-dark
|
||||||
panel: gpui::rgb(0x181825),
|
background: gpui::rgb(0x0A0E14),
|
||||||
foreground: gpui::rgb(0xCDD6F4),
|
panel: gpui::rgb(0x0F1419),
|
||||||
muted: gpui::rgb(0x7F849C),
|
foreground: gpui::rgb(0xB3B1AD),
|
||||||
accent: gpui::rgb(0x89B4FA),
|
muted: gpui::rgb(0x5C6773),
|
||||||
border: gpui::rgb(0x313244),
|
accent: gpui::rgb(0xFFB454),
|
||||||
error: gpui::rgb(0xF38BA8),
|
border: gpui::rgb(0x1F2430),
|
||||||
success: gpui::rgb(0xA6E3A1),
|
|
||||||
warning: gpui::rgb(0xF9E2AF),
|
error: gpui::rgb(0xF07178),
|
||||||
info: gpui::rgb(0x74C7EC),
|
success: gpui::rgb(0xAAD94C),
|
||||||
selection: gpui::rgb(0x45475A),
|
warning: gpui::rgb(0xFFB454),
|
||||||
selection_foreground: gpui::rgb(0xCDD6F4),
|
info: gpui::rgb(0x59C2FF),
|
||||||
text: gpui::rgb(0xCDD6F4),
|
|
||||||
|
selection: gpui::rgb(0x273747),
|
||||||
|
selection_foreground: gpui::rgb(0xE6E1CF),
|
||||||
|
|
||||||
|
text: gpui::rgb(0xB3B1AD),
|
||||||
text_size: Some(gpui::Size::new(14, 14)),
|
text_size: Some(gpui::Size::new(14, 14)),
|
||||||
|
|
||||||
high: gpui::rgb(0xF38BA8),
|
high: gpui::rgb(0xF07178),
|
||||||
medium: gpui::rgb(0xF9E2AF),
|
medium: gpui::rgb(0xFFB454),
|
||||||
low: gpui::rgb(0xA6E3A1),
|
low: gpui::rgb(0xAAD94C),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn light() -> Self {
|
pub fn light() -> Self {
|
||||||
Self {
|
Self {
|
||||||
background: gpui::rgb(0xF5F5F5),
|
// ayu-light
|
||||||
panel: gpui::rgb(0xF0F0F0),
|
background: gpui::rgb(0xFAFAFA),
|
||||||
foreground: gpui::rgb(0x333333),
|
panel: gpui::rgb(0xFFFFFF),
|
||||||
muted: gpui::rgb(0x999999),
|
foreground: gpui::rgb(0x5C6166),
|
||||||
accent: gpui::rgb(0x0078D4),
|
muted: gpui::rgb(0x8A9199),
|
||||||
border: gpui::rgb(0xE0E0E0),
|
accent: gpui::rgb(0xFF8F40),
|
||||||
error: gpui::rgb(0xFF4444),
|
border: gpui::rgb(0xE6E6E6),
|
||||||
success: gpui::rgb(0x4CAF50),
|
|
||||||
warning: gpui::rgb(0xFFA726),
|
error: gpui::rgb(0xE65050),
|
||||||
info: gpui::rgb(0x29B6F6),
|
success: gpui::rgb(0x86B300),
|
||||||
selection: gpui::rgb(0xD0D0D0),
|
warning: gpui::rgb(0xF2AE49),
|
||||||
selection_foreground: gpui::rgb(0x333333),
|
info: gpui::rgb(0x399EE6),
|
||||||
text: gpui::rgb(0x333333),
|
|
||||||
|
selection: gpui::rgb(0xD3EBFF),
|
||||||
|
selection_foreground: gpui::rgb(0x5C6166),
|
||||||
|
|
||||||
|
text: gpui::rgb(0x5C6166),
|
||||||
text_size: Some(gpui::Size::new(14, 14)),
|
text_size: Some(gpui::Size::new(14, 14)),
|
||||||
high: gpui::rgb(0xF38BA8),
|
|
||||||
medium: gpui::rgb(0xF9E2AF),
|
high: gpui::rgb(0xE65050),
|
||||||
low: gpui::rgb(0xA6E3A1),
|
medium: gpui::rgb(0xF2AE49),
|
||||||
|
low: gpui::rgb(0x86B300),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user