feat(tui): theme system with 5 curated dark palettes #24
+40
-19
@@ -37,9 +37,10 @@ type Theme struct {
|
|||||||
|
|
||||||
var themes = []Theme{
|
var themes = []Theme{
|
||||||
themeFlexokiDark,
|
themeFlexokiDark,
|
||||||
themeFlexokiLight,
|
themeTokyoNight,
|
||||||
themeCatppuccinMocha,
|
themeCatppuccinMocha,
|
||||||
themeNord,
|
themeNord,
|
||||||
|
themeGruvbox,
|
||||||
}
|
}
|
||||||
|
|
||||||
var themeFlexokiDark = Theme{
|
var themeFlexokiDark = Theme{
|
||||||
@@ -62,24 +63,44 @@ var themeFlexokiDark = Theme{
|
|||||||
SelectedBg: "#403E3C",
|
SelectedBg: "#403E3C",
|
||||||
}
|
}
|
||||||
|
|
||||||
var themeFlexokiLight = Theme{
|
var themeTokyoNight = Theme{
|
||||||
Name: "Flexoki Light",
|
Name: "Tokyo Night",
|
||||||
Bg: "#FFFCF0",
|
Bg: "#1a1b26",
|
||||||
Surface: "#F2F0E5",
|
Surface: "#24283b",
|
||||||
Panel: "#E6E4D9",
|
Panel: "#292e42",
|
||||||
Border: "#B7B5AC",
|
Border: "#3b4261",
|
||||||
Fg: "#100F0F",
|
Fg: "#c0caf5",
|
||||||
Muted: "#6F6E69",
|
Muted: "#a9b1d6",
|
||||||
Subtle: "#878580",
|
Subtle: "#565f89",
|
||||||
Success: "#66800B",
|
Success: "#9ece6a",
|
||||||
Warning: "#AD8301",
|
Warning: "#e0af68",
|
||||||
Danger: "#AF3029",
|
Danger: "#f7768e",
|
||||||
Info: "#205EA6",
|
Info: "#7aa2f7",
|
||||||
Accent: "#24837B",
|
Accent: "#7dcfff",
|
||||||
Purple: "#5E409D",
|
Purple: "#bb9af7",
|
||||||
ZebraBg: "#F7F5EA",
|
ZebraBg: "#1e1f2b",
|
||||||
SelectedFg: "#100F0F",
|
SelectedFg: "#c0caf5",
|
||||||
SelectedBg: "#DAD8CE",
|
SelectedBg: "#292e42",
|
||||||
|
}
|
||||||
|
|
||||||
|
var themeGruvbox = Theme{
|
||||||
|
Name: "Gruvbox",
|
||||||
|
Bg: "#282828",
|
||||||
|
Surface: "#3c3836",
|
||||||
|
Panel: "#504945",
|
||||||
|
Border: "#665c54",
|
||||||
|
Fg: "#ebdbb2",
|
||||||
|
Muted: "#bdae93",
|
||||||
|
Subtle: "#7c6f64",
|
||||||
|
Success: "#b8bb26",
|
||||||
|
Warning: "#fabd2f",
|
||||||
|
Danger: "#fb4934",
|
||||||
|
Info: "#83a598",
|
||||||
|
Accent: "#8ec07c",
|
||||||
|
Purple: "#d3869b",
|
||||||
|
ZebraBg: "#2e2c2a",
|
||||||
|
SelectedFg: "#fbf1c7",
|
||||||
|
SelectedBg: "#504945",
|
||||||
}
|
}
|
||||||
|
|
||||||
var themeCatppuccinMocha = Theme{
|
var themeCatppuccinMocha = Theme{
|
||||||
|
|||||||
Reference in New Issue
Block a user