feat: impl catppuccin theme

This commit is contained in:
2026-04-26 00:46:11 +01:00
parent dab18c40c5
commit 3b0fe3e311
6 changed files with 118 additions and 58 deletions

View File

@@ -11,6 +11,7 @@ pub const fn hex(hex: u32) -> Rgba {
}
}
#[allow(dead_code)]
pub const fn neutral(shade: u16) -> Rgba {
match shade {
50 => hex(0xfafafa),
@@ -28,6 +29,7 @@ pub const fn neutral(shade: u16) -> Rgba {
}
}
#[allow(dead_code)]
pub const fn violet(shade: u16) -> Rgba {
match shade {
50 => hex(0xf5f3ff),
@@ -45,6 +47,7 @@ pub const fn violet(shade: u16) -> Rgba {
}
}
#[allow(dead_code)]
pub const fn amber(shade: u16) -> Rgba {
match shade {
50 => hex(0xfffbeb),
@@ -62,6 +65,7 @@ pub const fn amber(shade: u16) -> Rgba {
}
}
#[allow(dead_code)]
pub const fn red(shade: u16) -> Rgba {
match shade {
50 => hex(0xfef2f2),