template-processor: refactor predefined colorscheme terminal theming by removing all the static files and using dynamic generation instead.

This commit is contained in:
Lemmy
2026-01-21 20:00:19 -05:00
parent 0e93a2fe0d
commit 090fe26056
114 changed files with 1473 additions and 3327 deletions
+92 -36
View File
@@ -1,38 +1,94 @@
{
"dark": {
"mPrimary": "#b8bb26",
"mOnPrimary": "#282828",
"mSecondary": "#fabd2f",
"mOnSecondary": "#282828",
"mTertiary": "#83a598",
"mOnTertiary": "#282828",
"mError": "#fb4934",
"mOnError": "#282828",
"mSurface": "#282828",
"mOnSurface": "#fbf1c7",
"mSurfaceVariant": "#3c3836",
"mOnSurfaceVariant": "#ebdbb2",
"mOutline": "#57514e",
"mShadow": "#282828",
"mHover": "#83a598",
"mOnHover": "#282828"
},
"light": {
"mPrimary": "#98971a",
"mOnPrimary": "#fbf1c7",
"mSecondary": "#d79921",
"mOnSecondary": "#fbf1c7",
"mTertiary": "#458588",
"mOnTertiary": "#fbf1c7",
"mError": "#cc241d",
"mOnError": "#fbf1c7",
"mSurface": "#fbf1c7",
"mOnSurface": "#3c3836",
"mSurfaceVariant": "#ebdbb2",
"mOnSurfaceVariant": "#7c6f64",
"mOutline": "#bdae93",
"mShadow": "#d5c4a1",
"mHover": "#458588",
"mOnHover": "#fbf1c7"
"dark": {
"mPrimary": "#b8bb26",
"mOnPrimary": "#282828",
"mSecondary": "#fabd2f",
"mOnSecondary": "#282828",
"mTertiary": "#83a598",
"mOnTertiary": "#282828",
"mError": "#fb4934",
"mOnError": "#282828",
"mSurface": "#282828",
"mOnSurface": "#fbf1c7",
"mSurfaceVariant": "#3c3836",
"mOnSurfaceVariant": "#ebdbb2",
"mOutline": "#57514e",
"mShadow": "#282828",
"mHover": "#83a598",
"mOnHover": "#282828",
"terminal": {
"normal": {
"black": "#282828",
"red": "#cc241d",
"green": "#98971a",
"yellow": "#d79921",
"blue": "#458588",
"magenta": "#b16286",
"cyan": "#689d6a",
"white": "#a89984"
},
"bright": {
"black": "#928374",
"red": "#fb4934",
"green": "#b8bb26",
"yellow": "#fabd2f",
"blue": "#83a598",
"magenta": "#d3869b",
"cyan": "#8ec07c",
"white": "#ebdbb2"
},
"foreground": "#ebdbb2",
"background": "#282828",
"selectionFg": "#ebdbb2",
"selectionBg": "#665c54",
"cursorText": "#282828",
"cursor": "#ebdbb2"
}
}
},
"light": {
"mPrimary": "#98971a",
"mOnPrimary": "#fbf1c7",
"mSecondary": "#d79921",
"mOnSecondary": "#fbf1c7",
"mTertiary": "#458588",
"mOnTertiary": "#fbf1c7",
"mError": "#cc241d",
"mOnError": "#fbf1c7",
"mSurface": "#fbf1c7",
"mOnSurface": "#3c3836",
"mSurfaceVariant": "#ebdbb2",
"mOnSurfaceVariant": "#7c6f64",
"mOutline": "#bdae93",
"mShadow": "#d5c4a1",
"mHover": "#458588",
"mOnHover": "#fbf1c7",
"terminal": {
"normal": {
"black": "#fbf1c7",
"red": "#cc241d",
"green": "#98971a",
"yellow": "#d79921",
"blue": "#458588",
"magenta": "#b16286",
"cyan": "#689d6a",
"white": "#7c6f64"
},
"bright": {
"black": "#928374",
"red": "#9d0006",
"green": "#79740e",
"yellow": "#b57614",
"blue": "#076678",
"magenta": "#8f3f71",
"cyan": "#427b58",
"white": "#3c3836"
},
"foreground": "#3c3836",
"background": "#fbf1c7",
"selectionFg": "#fbf1c7",
"selectionBg": "#3c3836",
"cursorText": "#625e5c",
"cursor": "#3c3836"
}
}
}
@@ -1,33 +0,0 @@
# Colors (Gruvbox Dark)
[colors.bright]
black = '#928374'
blue = '#83a598'
cyan = '#8ec07c'
green = '#b8bb26'
magenta = '#d3869b'
red = '#fb4934'
white = '#ebdbb2'
yellow = '#fabd2f'
[colors.cursor]
cursor = '#ebdbb2'
text = '#282828'
[colors.normal]
black = '#282828'
blue = '#458588'
cyan = '#689d6a'
green = '#98971a'
magenta = '#b16286'
red = '#cc241d'
white = '#a89984'
yellow = '#d79921'
[colors.primary]
background = '#282828'
foreground = '#ebdbb2'
[colors.selection]
background = '#665c54'
text = '#ebdbb2'
@@ -1,33 +0,0 @@
# Colors (Gruvbox Light)
[colors.bright]
black = '#928374'
blue = '#076678'
cyan = '#427b58'
green = '#79740e'
magenta = '#8f3f71'
red = '#9d0006'
white = '#3c3836'
yellow = '#b57614'
[colors.cursor]
cursor = '#3c3836'
text = '#fbf1c7'
[colors.normal]
black = '#fbf1c7'
blue = '#458588'
cyan = '#689d6a'
green = '#98971a'
magenta = '#b16286'
red = '#cc241d'
white = '#7c6f64'
yellow = '#d79921'
[colors.primary]
background = '#fbf1c7'
foreground = '#3c3836'
[colors.selection]
background = '#3c3836'
text = '#fbf1c7'
@@ -1,23 +0,0 @@
[colors]
foreground=ebdbb2
background=282828
regular0=282828
regular1=cc241d
regular2=98971a
regular3=d79921
regular4=458588
regular5=b16286
regular6=689d6a
regular7=a89984
bright0=928374
bright1=fb4934
bright2=b8bb26
bright3=fabd2f
bright4=83a598
bright5=d3869b
bright6=8ec07c
bright7=ebdbb2
selection-foreground=ebdbb2
selection-background=665c54
cursor=282828 ebdbb2
@@ -1,23 +0,0 @@
[colors]
foreground=3c3836
background=fbf1c7
regular0=fbf1c7
regular1=cc241d
regular2=98971a
regular3=d79921
regular4=458588
regular5=b16286
regular6=689d6a
regular7=7c6f64
bright0=928374
bright1=9d0006
bright2=79740e
bright3=b57614
bright4=076678
bright5=8f3f71
bright6=427b58
bright7=3c3836
selection-foreground=fbf1c7
selection-background=3c3836
cursor=625e5c 3c3836
@@ -1,22 +0,0 @@
palette = 0=#282828
palette = 1=#cc241d
palette = 2=#98971a
palette = 3=#d79921
palette = 4=#458588
palette = 5=#b16286
palette = 6=#689d6a
palette = 7=#a89984
palette = 8=#928374
palette = 9=#fb4934
palette = 10=#b8bb26
palette = 11=#fabd2f
palette = 12=#83a598
palette = 13=#d3869b
palette = 14=#8ec07c
palette = 15=#ebdbb2
background = #282828
foreground = #ebdbb2
cursor-color = #ebdbb2
cursor-text = #282828
selection-background = #665c54
selection-foreground = #ebdbb2
@@ -1,22 +0,0 @@
palette = 0=#fbf1c7
palette = 1=#cc241d
palette = 2=#98971a
palette = 3=#d79921
palette = 4=#458588
palette = 5=#b16286
palette = 6=#689d6a
palette = 7=#7c6f64
palette = 8=#928374
palette = 9=#9d0006
palette = 10=#79740e
palette = 11=#b57614
palette = 12=#076678
palette = 13=#8f3f71
palette = 14=#427b58
palette = 15=#3c3836
background = #fbf1c7
foreground = #3c3836
cursor-color = #3c3836
cursor-text = #625e5c
selection-background = #3c3836
selection-foreground = #fbf1c7
@@ -1,22 +0,0 @@
color0 #282828
color1 #cc241d
color2 #98971a
color3 #d79921
color4 #458588
color5 #b16286
color6 #689d6a
color7 #a89984
color8 #928374
color9 #fb4934
color10 #b8bb26
color11 #fabd2f
color12 #83a598
color13 #d3869b
color14 #8ec07c
color15 #ebdbb2
background #282828
selection_foreground #282828
cursor #ebdbb2
cursor_text_color #282828
foreground #ebdbb2
selection_background #ebdbb2
@@ -1,22 +0,0 @@
color0 #fbf1c7
color1 #cc241d
color2 #98971a
color3 #d79921
color4 #458588
color5 #b16286
color6 #689d6a
color7 #7c6f64
color8 #928374
color9 #9d0006
color10 #79740e
color11 #b57614
color12 #076678
color13 #8f3f71
color14 #427b58
color15 #3c3836
background #fbf1c7
selection_foreground #fbf1c7
cursor #3c3836
cursor_text_color #625e5c
foreground #3c3836
selection_background #3c3836
@@ -1,31 +0,0 @@
[colors]
ansi = [
"#282828",
"#cc241d",
"#98971a",
"#d79921",
"#458588",
"#b16286",
"#689d6a",
"#a89984",
]
background = "#282828"
brights = [
"#928374",
"#fb4934",
"#b8bb26",
"#fabd2f",
"#83a598",
"#d3869b",
"#8ec07c",
"#ebdbb2",
]
cursor_bg = "#ebdbb2"
cursor_border = "#ebdbb2"
cursor_fg = "#282828"
foreground = "#ebdbb2"
[colors.indexed]
[metadata]
name = "Noctalia"
@@ -1,31 +0,0 @@
[colors]
ansi = [
"#fbf1c7",
"#cc241d",
"#98971a",
"#d79921",
"#458588",
"#b16286",
"#689d6a",
"#7c6f64",
]
background = "#fbf1c7"
brights = [
"#928374",
"#9d0006",
"#79740e",
"#b57614",
"#076678",
"#8f3f71",
"#427b58",
"#3c3836",
]
cursor_bg = "#3c3836"
cursor_border = "#3c3836"
cursor_fg = "#fbf1c7"
foreground = "#3c3836"
[colors.indexed]
[metadata]
name = "Noctalia"