Merge pull request #2063 from 1Naim/fix/foot-1.26

Templates: terminal: foot: Replace [colors] with [colors-dark]
This commit is contained in:
Lysec
2026-03-04 15:02:12 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
[colors]
[colors-dark]
background = {{colors.surface.default.hex_stripped}}
foreground = {{colors.on_surface.default.hex_stripped}}
+2 -2
View File
@@ -46,7 +46,7 @@ class TerminalColors:
visual_bell: str
indexed: dict[int, str]
tab_bar: dict
# Kitty border colors
active_border: str
inactive_border: str
@@ -127,7 +127,7 @@ class TerminalGenerator:
def generate_foot(self) -> str:
"""Generate foot terminal theme (INI format, no # prefix)."""
c = self.colors
lines = ["[colors]"]
lines = ["[colors-dark]"]
# Primary colors
lines.append(f"foreground={self._strip_hash(c.foreground)}")