Alacritty theming support, fix #616

This commit is contained in:
ItsLemmy
2025-10-31 21:14:27 -04:00
parent 9bf27c5ff9
commit 1d364e994b
40 changed files with 1276 additions and 6 deletions
@@ -0,0 +1,33 @@
# Colors (Ayu)
[colors.bright]
black = '#686868'
blue = '#59c2ff'
cyan = '#95e6cb'
green = '#aad94c'
magenta = '#d2a6ff'
red = '#f07178'
white = '#ffffff'
yellow = '#ffb454'
[colors.cursor]
cursor = '#e6b450'
text = '#0b0e14'
[colors.normal]
black = '#11151c'
blue = '#53bdfa'
cyan = '#90e1c6'
green = '#7fd962'
magenta = '#cda1fa'
red = '#ea6c73'
white = '#c7c7c7'
yellow = '#f9af4f'
[colors.primary]
background = '#0b0e14'
foreground = '#bfbdb6'
[colors.selection]
background = '#409fff'
text = '#0b0e14'
@@ -0,0 +1,33 @@
# Colors (Ayu Light)
[colors.bright]
black = '#686868'
blue = '#399ee6'
cyan = '#4cbf99'
green = '#86b300'
magenta = '#a37acc'
red = '#f07171'
white = '#d1d1d1'
yellow = '#f2ae49'
[colors.cursor]
cursor = '#ffaa33'
text = '#f8f9fa'
[colors.normal]
black = '#000000'
blue = '#3199e1'
cyan = '#46ba94'
green = '#6cbf43'
magenta = '#9e75c7'
red = '#ea6c6d'
white = '#bababa'
yellow = '#eca944'
[colors.primary]
background = '#f8f9fa'
foreground = '#5c6166'
[colors.selection]
background = '#035bd6'
text = '#f8f9fa'
@@ -0,0 +1,33 @@
# Colors (Catppuccin Mocha)
[colors.bright]
black = '#585b70'
blue = '#74a8fc'
cyan = '#6bd7ca'
green = '#89d88b'
magenta = '#f2aede'
red = '#f37799'
white = '#bac2de'
yellow = '#ebd391'
[colors.cursor]
cursor = '#f5e0dc'
text = '#1e1e2e'
[colors.normal]
black = '#45475a'
blue = '#89b4fa'
cyan = '#94e2d5'
green = '#a6e3a1'
magenta = '#f5c2e7'
red = '#f38ba8'
white = '#a6adc8'
yellow = '#f9e2af'
[colors.primary]
background = '#1e1e2e'
foreground = '#cdd6f4'
[colors.selection]
background = '#585b70'
text = '#cdd6f4'
@@ -0,0 +1,33 @@
# Colors (Catppuccin Latte)
[colors.bright]
black = '#6c6f85'
blue = '#456eff'
cyan = '#2d9fa8'
green = '#49af3d'
magenta = '#fe85d8'
red = '#de293e'
white = '#bcc0cc'
yellow = '#eea02d'
[colors.cursor]
cursor = '#dc8a78'
text = '#eff1f5'
[colors.normal]
black = '#5c5f77'
blue = '#1e66f5'
cyan = '#179299'
green = '#40a02b'
magenta = '#ea76cb'
red = '#d20f39'
white = '#acb0be'
yellow = '#df8e1d'
[colors.primary]
background = '#eff1f5'
foreground = '#4c4f69'
[colors.selection]
background = '#acb0be'
text = '#4c4f69'
@@ -0,0 +1,33 @@
# Colors (Cyberpunk)
[colors.bright]
black = '#2b314a'
blue = '#4f8fff'
cyan = '#43c9ff'
green = '#89d36a'
magenta = '#9d6dff'
red = '#e64572'
white = '#d8e0ff'
yellow = '#d7a23a'
[colors.cursor]
cursor = '#d8e0ff'
text = '#0a0d14'
[colors.normal]
black = '#0c0e14'
blue = '#4f8fff'
cyan = '#43c9ff'
green = '#89d36a'
magenta = '#9d6dff'
red = '#e64572'
white = '#b7c4f2'
yellow = '#d7a23a'
[colors.primary]
background = '#0a0d14'
foreground = '#d8e0ff'
[colors.selection]
background = '#d8e0ff'
text = '#0a0d14'
@@ -0,0 +1,33 @@
# Colors (Cyberpunk Light)
[colors.bright]
black = '#a1a6c5'
blue = '#2e7de9'
cyan = '#007197'
green = '#587539'
magenta = '#9854f1'
red = '#f52a65'
white = '#3760bf'
yellow = '#8c6c3e'
[colors.cursor]
cursor = '#3760bf'
text = '#e1e2e7'
[colors.normal]
black = '#e9e9ed'
blue = '#2e7de9'
cyan = '#007197'
green = '#587539'
magenta = '#9854f1'
red = '#f52a65'
white = '#6172b0'
yellow = '#8c6c3e'
[colors.primary]
background = '#e1e2e7'
foreground = '#3760bf'
[colors.selection]
background = '#99a7df'
text = '#3760bf'
@@ -0,0 +1,33 @@
# Colors (Dracula)
[colors.bright]
black = '#6272a4'
blue = '#d6acff'
cyan = '#a4ffff'
green = '#69ff94'
magenta = '#ff92df'
red = '#ff6e6e'
white = '#ffffff'
yellow = '#ffffa5'
[colors.cursor]
cursor = '#f8f8f2'
text = '#282a36'
[colors.normal]
black = '#21222c'
blue = '#bd93f9'
cyan = '#8be9fd'
green = '#50fa7b'
magenta = '#ff79c6'
red = '#ff5555'
white = '#f8f8f2'
yellow = '#f1fa8c'
[colors.primary]
background = '#282a36'
foreground = '#f8f8f2'
[colors.selection]
background = '#44475a'
text = '#ffffff'
@@ -0,0 +1,33 @@
# Colors (Dracula Light)
[colors.bright]
black = '#6272a4'
blue = '#d6acff'
cyan = '#a4ffff'
green = '#69ff94'
magenta = '#ff92df'
red = '#ff6e6e'
white = '#000000'
yellow = '#ffffa5'
[colors.cursor]
cursor = '#282a36'
text = '#ffffff'
[colors.normal]
black = '#f8f8f2'
blue = '#bd93f9'
cyan = '#8be9fd'
green = '#50fa7b'
magenta = '#ff79c6'
red = '#ff5555'
white = '#282a36'
yellow = '#f1fa8c'
[colors.primary]
background = '#ffffff'
foreground = '#282a36'
[colors.selection]
background = '#6272a4'
text = '#ffffff'
@@ -0,0 +1,33 @@
# Colors (Eldritch)
[colors.bright]
black = '#7081d0'
blue = '#a48cf2'
cyan = '#66e4fd'
green = '#69F8B3'
magenta = '#FD92CE'
red = '#f16c75'
white = '#ffffff'
yellow = '#f1fc79'
[colors.cursor]
cursor = '#37f499'
text = '#f8f8f2'
[colors.normal]
black = '#21222c'
blue = '#9071f4'
cyan = '#04d1f9'
green = '#37f499'
magenta = '#f265b5'
red = '#f9515d'
white = '#ebfafa'
yellow = '#e9f941'
[colors.primary]
background = '#212337'
foreground = '#ebfafa'
[colors.selection]
background = '#bf4f8e'
text = '#ebfafa'
@@ -0,0 +1,33 @@
# Colors (Eldritch Light)
[colors.bright]
black = '#7081d0'
blue = '#9071f4'
cyan = '#04d1f9'
green = '#37f499'
magenta = '#f265b5'
red = '#d23b3b'
white = '#212337'
yellow = '#e9f941'
[colors.cursor]
cursor = '#1a7f4c'
text = '#212337'
[colors.normal]
black = '#ebfafa'
blue = '#3a3e8c'
cyan = '#1a6c8c'
green = '#1a7f4c'
magenta = '#8c2a6c'
red = '#ba1a1a'
white = '#212337'
yellow = '#9e8c13'
[colors.primary]
background = '#ebfafa'
foreground = '#212337'
[colors.selection]
background = '#bf4f8e'
text = '#212337'
@@ -0,0 +1,33 @@
# Colors (Everforest Dark Hard)
[colors.bright]
black = '#a6b0a0'
blue = '#3a94c5'
cyan = '#35a77c'
green = '#8da101'
magenta = '#df69ba'
red = '#f85552'
white = '#fffbef'
yellow = '#dfa000'
[colors.cursor]
cursor = '#e69875'
text = '#4c3743'
[colors.normal]
black = '#7a8478'
blue = '#7fbbb3'
cyan = '#83c092'
green = '#a7c080'
magenta = '#d699b6'
red = '#e67e80'
white = '#f2efdf'
yellow = '#dbbc7f'
[colors.primary]
background = '#1e2326'
foreground = '#d3c6aa'
[colors.selection]
background = '#4c3743'
text = '#d3c6aa'
@@ -0,0 +1,33 @@
# Colors (Everforest Light Med)
[colors.bright]
black = '#a6b0a0'
blue = '#3a94c5'
cyan = '#35a77c'
green = '#8da101'
magenta = '#df69ba'
red = '#f85552'
white = '#fffbef'
yellow = '#dfa000'
[colors.cursor]
cursor = '#f57d26'
text = '#eaedc8'
[colors.normal]
black = '#7a8478'
blue = '#7fbbb3'
cyan = '#83c092'
green = '#9ab373'
magenta = '#d699b6'
red = '#e67e80'
white = '#b2af9f'
yellow = '#c1a266'
[colors.primary]
background = '#efebd4'
foreground = '#5c6a72'
[colors.selection]
background = '#eaedc8'
text = '#5c6a72'
@@ -0,0 +1,33 @@
# 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'
@@ -0,0 +1,33 @@
# 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'
@@ -0,0 +1,33 @@
# Colors (Kanagawa Wave)
[colors.bright]
black = '#727169'
blue = '#7fb4ca'
cyan = '#7aa89f'
green = '#98bb6c'
magenta = '#938aa9'
red = '#e82424'
white = '#dcd7ba'
yellow = '#e6c384'
[colors.cursor]
cursor = '#c8c093'
text = '#1d202f'
[colors.normal]
black = '#090618'
blue = '#7e9cd8'
cyan = '#6a9589'
green = '#76946a'
magenta = '#957fb8'
red = '#c34043'
white = '#c8c093'
yellow = '#c0a36e'
[colors.primary]
background = '#1f1f28'
foreground = '#dcd7ba'
[colors.selection]
background = '#2d4f67'
text = '#c8c093'
@@ -0,0 +1,33 @@
# Colors (Kanagawa Lotus)
[colors.bright]
black = '#8a8980'
blue = '#6693bf'
cyan = '#5e857a'
green = '#6e915f'
magenta = '#624c83'
red = '#d7474b'
white = '#43436c'
yellow = '#836f4a'
[colors.cursor]
cursor = '#43436c'
text = '#f2ecbc'
[colors.normal]
black = '#1F1F28'
blue = '#4d699b'
cyan = '#597b75'
green = '#6f894e'
magenta = '#b35b79'
red = '#c84053'
white = '#545464'
yellow = '#77713f'
[colors.primary]
background = '#f2ecbc'
foreground = '#545464'
[colors.selection]
background = '#c9cbd1'
text = '#f2ecbc'
@@ -0,0 +1,33 @@
# Colors (Monochrome)
[colors.bright]
black = '#3c3c3c'
blue = '#a7a7a7'
cyan = '#cccccc'
green = '#cccccc'
magenta = '#dddddd'
red = '#dddddd'
white = '#ffffff'
yellow = '#aaaaaa'
[colors.cursor]
cursor = '#aaaaaa'
text = '#111111'
[colors.normal]
black = '#191919'
blue = '#a7a7a7'
cyan = '#cccccc'
green = '#cccccc'
magenta = '#dddddd'
red = '#dddddd'
white = '#828282'
yellow = '#aaaaaa'
[colors.primary]
background = '#111111'
foreground = '#828282'
[colors.selection]
background = '#828282'
text = '#111111'
@@ -0,0 +1,33 @@
# Colors (Monochrome Light)
[colors.bright]
black = '#c3c3c3'
blue = '#505058'
cyan = '#333333'
green = '#333333'
magenta = '#222222'
red = '#222222'
white = '#000000'
yellow = '#555555'
[colors.cursor]
cursor = '#555555'
text = '#d4d4d4'
[colors.normal]
black = '#e8e8e8'
blue = '#505058'
cyan = '#333333'
green = '#333333'
magenta = '#222222'
red = '#222222'
white = '#696969'
yellow = '#555555'
[colors.primary]
background = '#d4d4d4'
foreground = '#696969'
[colors.selection]
background = '#696969'
text = '#d4d4d4'
@@ -0,0 +1,33 @@
# Colors (Noctalia Default)
[colors.bright]
black = '#21215F'
blue = '#a9aefe'
cyan = '#9BFECE'
green = '#9BFECE'
magenta = '#FD4663'
red = '#FD4663'
white = '#ffffff'
yellow = '#fff59b'
[colors.cursor]
cursor = '#fff59b'
text = '#070722'
[colors.normal]
black = '#11112d'
blue = '#a9aefe'
cyan = '#9BFECE'
green = '#9BFECE'
magenta = '#FD4663'
red = '#FD4663'
white = '#f3edf7'
yellow = '#fff59b'
[colors.primary]
background = '#070722'
foreground = '#f3edf7'
[colors.selection]
background = '#f3edf7'
text = '#070722'
@@ -0,0 +1,33 @@
# Colors (Noctalia Default Light)
[colors.bright]
black = '#8288fc'
blue = '#8E93D8'
cyan = '#0e0e43'
green = '#0e0e43'
magenta = '#FD4663'
red = '#FD4663'
white = '#0e0e43'
yellow = '#5d65f5'
[colors.cursor]
cursor = '#5d65f5'
text = '#e6e8fa'
[colors.normal]
black = '#eff0ff'
blue = '#8E93D8'
cyan = '#0e0e43'
green = '#0e0e43'
magenta = '#FD4663'
red = '#FD4663'
white = '#4b55c8'
yellow = '#5d65f5'
[colors.primary]
background = '#e6e8fa'
foreground = '#4b55c8'
[colors.selection]
background = '#4b55c8'
text = '#e6e8fa'
@@ -0,0 +1,33 @@
# Colors (Noctalia Legacy)
[colors.bright]
black = '#3e364e'
blue = '#a984c4'
cyan = '#e0b7c9'
green = '#e0b7c9'
magenta = '#e9899d'
red = '#e9899d'
white = '#ffffff'
yellow = '#c7a1d8'
[colors.cursor]
cursor = '#c7a1d8'
text = '#1c1822'
[colors.normal]
black = '#262130'
blue = '#a984c4'
cyan = '#e0b7c9'
green = '#e0b7c9'
magenta = '#e9899d'
red = '#e9899d'
white = '#e9e4f0'
yellow = '#c7a1d8'
[colors.primary]
background = '#1c1822'
foreground = '#e9e4f0'
[colors.selection]
background = '#e9e4f0'
text = '#1c1822'
@@ -0,0 +1,33 @@
# Colors (Noctalia Legacy Light)
[colors.bright]
black = '#cebedc'
blue = '#784999'
cyan = '#c17093'
green = '#c17093'
magenta = '#e9899d'
red = '#e9899d'
white = '#1c1822'
yellow = '#9b59ba'
[colors.cursor]
cursor = '#9b59ba'
text = '#f5f1fa'
[colors.normal]
black = '#e7dfee'
blue = '#784999'
cyan = '#c17093'
green = '#c17093'
magenta = '#e9899d'
red = '#e9899d'
white = '#1c1822'
yellow = '#9b59ba'
[colors.primary]
background = '#f5f1fa'
foreground = '#1c1822'
[colors.selection]
background = '#1c1822'
text = '#f5f1fa'
@@ -0,0 +1,33 @@
# Colors (Nord)
[colors.bright]
black = '#596377'
blue = '#81a1c1'
cyan = '#8fbcbb'
green = '#a3be8c'
magenta = '#b48ead'
red = '#bf616a'
white = '#eceff4'
yellow = '#ebcb8b'
[colors.cursor]
cursor = '#eceff4'
text = '#282828'
[colors.normal]
black = '#3b4252'
blue = '#81a1c1'
cyan = '#88c0d0'
green = '#a3be8c'
magenta = '#b48ead'
red = '#bf616a'
white = '#e5e9f0'
yellow = '#ebcb8b'
[colors.primary]
background = '#2e3440'
foreground = '#d8dee9'
[colors.selection]
background = '#eceff4'
text = '#4c566a'
@@ -0,0 +1,33 @@
# Colors (Nord Light)
[colors.bright]
black = '#4c566a'
blue = '#81a1c1'
cyan = '#82afae'
green = '#96b17f'
magenta = '#b48ead'
red = '#bf616a'
white = '#eceff4'
yellow = '#c5a565'
[colors.cursor]
cursor = '#7bb3c3'
text = '#3b4252'
[colors.normal]
black = '#3b4252'
blue = '#81a1c1'
cyan = '#7bb3c3'
green = '#96b17f'
magenta = '#b48ead'
red = '#bf616a'
white = '#a5abb6'
yellow = '#c5a565'
[colors.primary]
background = '#e5e9f0'
foreground = '#414858'
[colors.selection]
background = '#d8dee9'
text = '#4c556a'
@@ -0,0 +1,33 @@
# Colors (Osaka Jade)
[colors.bright]
black = '#464e50'
blue = '#71baf2'
cyan = '#67cbe7'
green = '#96d988'
magenta = '#ce89df'
red = '#ef7e7e'
white = '#bdc3c2'
yellow = '#f4d67a'
[colors.cursor]
cursor = '#dadada'
text = '#141b1e'
[colors.normal]
black = '#232a2d'
blue = '#67b0e8'
cyan = '#6cbfbf'
green = '#8ccf7e'
magenta = '#c47fd5'
red = '#e57474'
white = '#b3b9b8'
yellow = '#e5c76b'
[colors.primary]
background = '#141b1e'
foreground = '#dadada'
[colors.selection]
background = '#141b1e'
text = '#dadada'
@@ -0,0 +1,33 @@
# Colors (Osaka Jade Light)
[colors.bright]
black = '#a6b0a0'
blue = '#3a94c5'
cyan = '#35a77c'
green = '#8da101'
magenta = '#df69ba'
red = '#f85552'
white = '#fffbef'
yellow = '#dfa000'
[colors.cursor]
cursor = '#f57d26'
text = '#eaedc8'
[colors.normal]
black = '#7a8478'
blue = '#7fbbb3'
cyan = '#83c092'
green = '#9ab373'
magenta = '#d699b6'
red = '#e67e80'
white = '#b2af9f'
yellow = '#c1a266'
[colors.primary]
background = '#efebd4'
foreground = '#5c6a72'
[colors.selection]
background = '#eaedc8'
text = '#5c6a72'
@@ -0,0 +1,74 @@
# Colors section of "Alacritty - TOML configuration file format"
# https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd#colors
[colors.primary]
foreground = "#e0def4"
background = "#191724"
dim_foreground = "#908caa"
bright_foreground = "#e0def4"
[colors.cursor]
text = "#e0def4"
cursor = "#524f67"
[colors.vi_mode_cursor]
text = "#e0def4"
cursor = "#524f67"
[colors.search.matches]
foreground = "#908caa"
background = "#26233a"
[colors.search.focused_match]
foreground = "#191724"
background = "#ebbcba"
[colors.hints.start]
foreground = "#908caa"
background = "#1f1d2e"
[colors.hints.end]
foreground = "#6e6a86"
background = "#1f1d2e"
[colors.line_indicator]
foreground = "None"
background = "None"
[colors.footer_bar]
foreground = "#e0def4"
background = "#1f1d2e"
[colors.selection]
text = "#e0def4"
background = "#403d52"
[colors.normal]
black = "#26233a"
red = "#eb6f92"
green = "#31748f"
yellow = "#f6c177"
blue = "#9ccfd8"
magenta = "#c4a7e7"
cyan = "#ebbcba"
white = "#e0def4"
[colors.bright]
black = "#6e6a86"
red = "#eb6f92"
green = "#31748f"
yellow = "#f6c177"
blue = "#9ccfd8"
magenta = "#c4a7e7"
cyan = "#ebbcba"
white = "#e0def4"
[colors.dim]
black = "#6e6a86"
red = "#eb6f92"
green = "#31748f"
yellow = "#f6c177"
blue = "#9ccfd8"
magenta = "#c4a7e7"
cyan = "#ebbcba"
white = "#e0def4"
@@ -0,0 +1,74 @@
# Colors section of "Alacritty - TOML configuration file format"
# https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd#colors
[colors.primary]
foreground = "#575279"
background = "#faf4ed"
dim_foreground = "#797593"
bright_foreground = "#575279"
[colors.cursor]
text = "#575279"
cursor = "#cecacd"
[colors.vi_mode_cursor]
text = "#575279"
cursor = "#cecacd"
[colors.search.matches]
foreground = "#797593"
background = "#f2e9e1"
[colors.search.focused_match]
foreground = "#faf4ed"
background = "#d7827e"
[colors.hints.start]
foreground = "#797593"
background = "#fffaf3"
[colors.hints.end]
foreground = "#9893a5"
background = "#fffaf3"
[colors.line_indicator]
foreground = "None"
background = "None"
[colors.footer_bar]
foreground = "#575279"
background = "#fffaf3"
[colors.selection]
text = "#575279"
background = "#dfdad9"
[colors.normal]
black = "#f2e9e1"
red = "#b4637a"
green = "#286983"
yellow = "#ea9d34"
blue = "#56949f"
magenta = "#907aa9"
cyan = "#d7827e"
white = "#575279"
[colors.bright]
black = "#9893a5"
red = "#b4637a"
green = "#286983"
yellow = "#ea9d34"
blue = "#56949f"
magenta = "#907aa9"
cyan = "#d7827e"
white = "#575279"
[colors.dim]
black = "#9893a5"
red = "#b4637a"
green = "#286983"
yellow = "#ea9d34"
blue = "#56949f"
magenta = "#907aa9"
cyan = "#d7827e"
white = "#575279"
@@ -0,0 +1,33 @@
# Colors (Solarized Dark)
[colors.bright]
black = '#335e69'
blue = '#839496'
cyan = '#93a1a1'
green = '#586e75'
magenta = '#6c71c4'
red = '#cb4b16'
white = '#fdf6e3'
yellow = '#657b83'
[colors.cursor]
cursor = '#839496'
text = '#073642'
[colors.normal]
black = '#073642'
blue = '#268bd2'
cyan = '#2aa198'
green = '#859900'
magenta = '#d33682'
red = '#dc322f'
white = '#eee8d5'
yellow = '#b58900'
[colors.primary]
background = '#002b36'
foreground = '#839496'
[colors.selection]
background = '#073642'
text = '#93a1a1'
@@ -0,0 +1,33 @@
# Colors (Solarized Light)
[colors.bright]
black = '#002b36'
blue = '#839496'
cyan = '#93a1a1'
green = '#586e75'
magenta = '#6c71c4'
red = '#cb4b16'
white = '#fdf6e3'
yellow = '#657b83'
[colors.cursor]
cursor = '#657b83'
text = '#eee8d5'
[colors.normal]
black = '#073642'
blue = '#268bd2'
cyan = '#2aa198'
green = '#859900'
magenta = '#d33682'
red = '#dc322f'
white = '#bbb5a2'
yellow = '#b58900'
[colors.primary]
background = '#fdf6e3'
foreground = '#657b83'
[colors.selection]
background = '#eee8d5'
text = '#586e75'
@@ -0,0 +1,33 @@
# Colors (TokyoNight)
[colors.bright]
black = '#414868'
blue = '#7aa2f7'
cyan = '#7dcfff'
green = '#9ece6a'
magenta = '#bb9af7'
red = '#f7768e'
white = '#c0caf5'
yellow = '#e0af68'
[colors.cursor]
cursor = '#c0caf5'
text = '#15161e'
[colors.normal]
black = '#15161e'
blue = '#7aa2f7'
cyan = '#7dcfff'
green = '#9ece6a'
magenta = '#bb9af7'
red = '#f7768e'
white = '#a9b1d6'
yellow = '#e0af68'
[colors.primary]
background = '#1a1b26'
foreground = '#c0caf5'
[colors.selection]
background = '#33467c'
text = '#c0caf5'
@@ -0,0 +1,33 @@
# Colors (TokyoNight Day)
[colors.bright]
black = '#a1a6c5'
blue = '#2e7de9'
cyan = '#007197'
green = '#587539'
magenta = '#9854f1'
red = '#f52a65'
white = '#3760bf'
yellow = '#8c6c3e'
[colors.cursor]
cursor = '#3760bf'
text = '#e1e2e7'
[colors.normal]
black = '#e9e9ed'
blue = '#2e7de9'
cyan = '#007197'
green = '#587539'
magenta = '#9854f1'
red = '#f52a65'
white = '#6172b0'
yellow = '#8c6c3e'
[colors.primary]
background = '#e1e2e7'
foreground = '#3760bf'
[colors.selection]
background = '#99a7df'
text = '#3760bf'
@@ -0,0 +1,68 @@
[colors.primary]
background = '{{colors.background.default.hex}}'
foreground = '{{colors.on_surface.default.hex}}'
[colors.cursor]
text = '{{colors.on_surface.default.hex}}'
cursor = '{{colors.on_surface_variant.default.hex}}'
[colors.vi_mode_cursor]
text = '{{colors.background.default.hex}}'
cursor = '{{colors.primary.default.hex}}'
[colors.search.matches]
foreground = '{{colors.surface_variant.default.hex}}'
background = '{{colors.tertiary.default.hex}}'
[colors.search.focused_match]
foreground = '{{colors.surface_variant.default.hex}}'
background = '{{colors.primary.default.hex}}'
[colors.footer_bar]
foreground = '{{colors.surface_variant.default.hex}}'
background = '{{colors.inverse_surface.default.hex}}'
[colors.hints.start]
foreground = '{{colors.surface_variant.default.hex}}'
background = '{{colors.secondary.default.hex}}'
[colors.hints.end]
foreground = '{{colors.surface_variant.default.hex}}'
background = '{{colors.secondary.default.hex}}'
[colors.selection]
text = '{{colors.background.default.hex}}'
background = '{{colors.primary.default.hex}}'
[colors.normal]
black = '#181818'
red = '{{colors.error.default.hex}}'
green = '{{colors.primary.default.hex}}'
yellow = '{{colors.inverse_primary.default.hex}}'
blue = '{{colors.primary.default.hex}}'
magenta = '{{colors.tertiary.default.hex}}'
cyan = '{{colors.secondary.default.hex}}'
white = '#BAC2DE'
[colors.bright]
black = '#585B70'
red = '#F38BA8'
green = '#A6E3A1'
yellow = '#F9E2AF'
blue = '#89B4FA'
magenta = '#F5C2E7'
cyan = '#94E2D5'
white = '#A6ADC8'
[colors.dim]
black = '#45475A'
red = '#F38BA8'
green = '#A6E3A1'
yellow = '#F9E2AF'
blue = '#89B4FA'
magenta = '#F5C2E7'
cyan = '#94E2D5'
white = '#BAC2DE'
+33 -2
View File
@@ -5,7 +5,7 @@
if [ "$#" -ne 1 ]; then
# Print usage information to standard error.
echo "Error: No application specified." >&2
echo "Usage: $0 {kitty|ghostty|foot|fuzzel|walker|pywalfox}" >&2
echo "Usage: $0 {kitty|ghostty|foot|alacritty|fuzzel|walker|pywalfox}" >&2
exit 1
fi
@@ -42,7 +42,7 @@ case "$APP_NAME" in
foot)
echo "🎨 Applying 'noctalia' theme to foot..."
CONFIG_FILE="$HOME/.config/foot/foot.ini"
# Check if the config file exists, create it if it doesn't.
if [ ! -f "$CONFIG_FILE" ]; then
echo "Config file not found, creating $CONFIG_FILE..."
@@ -72,6 +72,37 @@ EOF
fi
;;
alacritty)
echo "🎨 Applying 'noctalia' theme to alacritty..."
CONFIG_FILE="$HOME/.config/alacritty/alacritty.toml"
# Check if the config file exists.
if [ -f "$CONFIG_FILE" ]; then
# Check if theme is already imported
if grep -q 'import = \[.*"themes/noctalia.toml".*\]' "$CONFIG_FILE"; then
echo "Theme already set to noctalia, skipping modification."
else
# Check if [general] section exists
if grep -q '^\[general\]' "$CONFIG_FILE"; then
# Check if import line exists under [general]
if sed -n '/^\[general\]/,/^\[/p' "$CONFIG_FILE" | grep -q '^import = \['; then
# Replace existing import line with noctalia theme
sed -i '/^\[general\]/,/^\[/{s|^import = \[.*\]|import = ["themes/noctalia.toml"]|}' "$CONFIG_FILE"
else
# Add import line after [general] section
sed -i '/^\[general\]/a import = ["themes/noctalia.toml"]' "$CONFIG_FILE"
fi
else
# Create [general] section with import at the beginning of the file
sed -i '1i [general]\nimport = ["themes/noctalia.toml"]\n' "$CONFIG_FILE"
fi
fi
else
echo "Error: alacritty config file not found at $CONFIG_FILE" >&2
exit 1
fi
;;
fuzzel)
echo "🎨 Applying 'noctalia' theme to fuzzel..."
CONFIG_FILE="$HOME/.config/fuzzel/fuzzel.ini"
+1
View File
@@ -379,6 +379,7 @@ Singleton {
property bool gtk: false
property bool qt: false
property bool kcolorscheme: false
property bool alacritty: false
property bool kitty: false
property bool ghostty: false
property bool foot: false
+18
View File
@@ -525,6 +525,24 @@ ColumnLayout {
description: I18n.tr("settings.color-scheme.templates.terminal.description")
defaultExpanded: false
NCheckbox {
label: "Alacritty"
description: ProgramCheckerService.footAvailable ? I18n.tr("settings.color-scheme.templates.terminal.alacritty.description", {
"filepath": "~/.config/alacritty/themes/noctalia"
}) : I18n.tr("settings.color-scheme.templates.terminal.alacritty.description-missing", {
"app": "alacritty"
})
checked: Settings.data.templates.alacritty
enabled: ProgramCheckerService.alacrittyAvailable
opacity: ProgramCheckerService.alacrittyAvailable ? 1.0 : 0.6
onToggled: checked => {
if (ProgramCheckerService.alacrittyAvailable) {
Settings.data.templates.alacritty = checked
AppThemeService.generate()
}
}
}
NCheckbox {
label: "Kitty"
description: ProgramCheckerService.kittyAvailable ? I18n.tr("settings.color-scheme.templates.terminal.kitty.description", {
+2 -1
View File
@@ -15,7 +15,8 @@ Singleton {
readonly property var terminalPaths: ({
"foot": "~/.config/foot/themes/noctalia",
"ghostty": "~/.config/ghostty/themes/noctalia",
"kitty": "~/.config/kitty/themes/noctalia.conf"
"kitty": "~/.config/kitty/themes/noctalia.conf",
"alacritty": "~/.config/alacritty/themes/noctalia.toml"
})
readonly property var schemeNameMap: ({
+7 -2
View File
@@ -186,8 +186,13 @@ Singleton {
// Check if any templates are enabled
function hasEnabledTemplates() {
return Settings.data.templates.gtk || Settings.data.templates.qt || Settings.data.templates.kitty || Settings.data.templates.ghostty || Settings.data.templates.foot || Settings.data.templates.fuzzel || Settings.data.templates.discord || Settings.data.templates.discord_vesktop || Settings.data.templates.discord_webcord
|| Settings.data.templates.discord_armcord || Settings.data.templates.discord_equibop || Settings.data.templates.discord_lightcord || Settings.data.templates.discord_dorion || Settings.data.templates.pywalfox || Settings.data.templates.vicinae || Settings.data.templates.walker
const templates = Settings.data.templates
for (const key in templates) {
if (templates[key]) {
return true
}
}
return false
}
// Writer to colors.json using a JsonAdapter for safety
+7 -1
View File
@@ -103,7 +103,13 @@ Singleton {
"name": "kitty",
"path": "Terminal/kitty.conf",
"output": "~/.config/kitty/themes/noctalia.conf"
}]
},
{
"name": "alacritty",
"path": "Terminal/alacritty.toml",
"output": "~/.config/alacritty/themes/noctalia.toml"
}
]
terminals.forEach(function (terminal) {
if (Settings.data.templates[terminal.name]) {
+2
View File
@@ -12,6 +12,7 @@ Singleton {
// Program availability properties
property bool matugenAvailable: false
property bool pywalfoxAvailable: false
property bool alacrittyAvailable: false
property bool kittyAvailable: false
property bool ghosttyAvailable: false
property bool footAvailable: false
@@ -96,6 +97,7 @@ Singleton {
readonly property var programsToCheck: ({
"matugenAvailable": ["which", "matugen"],
"pywalfoxAvailable": ["which", "pywalfox"],
"alacrittyAvailable": ["which", "alacritty"],
"kittyAvailable": ["which", "kitty"],
"ghosttyAvailable": ["which", "ghostty"],
"footAvailable": ["which", "foot"],