From ca74a5e74d360f0a2b765cdd9f068f20851740ee Mon Sep 17 00:00:00 2001 From: Eric Naim Date: Wed, 4 Mar 2026 19:49:51 +0800 Subject: [PATCH] Templates: terminal: foot: Replace [colors] with [colors-dark] This was replaced in foot 1.26.0 Link: https://codeberg.org/dnkl/foot/commit/cf2b390f6e096e7a2ca93d4dece153eb13261a2e Signed-off-by: Eric Naim --- Assets/Templates/terminal/foot | 2 +- Scripts/python/src/theming/lib/terminal.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Templates/terminal/foot b/Assets/Templates/terminal/foot index 042ded187..ee4d7b1c9 100644 --- a/Assets/Templates/terminal/foot +++ b/Assets/Templates/terminal/foot @@ -1,4 +1,4 @@ -[colors] +[colors-dark] background = {{colors.surface.default.hex_stripped}} foreground = {{colors.on_surface.default.hex_stripped}} diff --git a/Scripts/python/src/theming/lib/terminal.py b/Scripts/python/src/theming/lib/terminal.py index eee368be5..955dfb8b5 100644 --- a/Scripts/python/src/theming/lib/terminal.py +++ b/Scripts/python/src/theming/lib/terminal.py @@ -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)}")