From 63e213283008d95832443a717e23cead25f0a7d6 Mon Sep 17 00:00:00 2001 From: Batuhan Edgüer <67585935+BestSithInEU@users.noreply.github.com> Date: Sat, 16 Aug 2025 19:17:39 +0300 Subject: theme: add Warp terminal theme support (#42) * theme: add Warp terminal theme support Add support for Warp terminal theming with proper template and integration. - Add warp.yaml template with standard theme variables - Implement apply_warp function with correct 'darker'/'lighter' values - Integrate with main theme application pipeline via enableWarp config * warp: improve theme generation and use proper data directory - Use gen_replace with hash=True for consistent color formatting - Remove # symbols from template to avoid double hashes - Replace warp_mode manually after gen_replace instead of adding to colors dict - Use data_dir for XDG-compliant theme location --- src/caelestia/data/templates/warp.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/caelestia/data/templates/warp.yaml (limited to 'src/caelestia/data') diff --git a/src/caelestia/data/templates/warp.yaml b/src/caelestia/data/templates/warp.yaml new file mode 100644 index 0000000..36d4c02 --- /dev/null +++ b/src/caelestia/data/templates/warp.yaml @@ -0,0 +1,26 @@ +--- +name: 'Caelestia Theme' +accent: '{{ $primary }}' +background: '{{ $surface }}' +foreground: '{{ $onSurface }}' +details: {{ $warp_mode }} +cursor: '{{ $secondary }}' +terminal_colors: + normal: + black: '{{ $term0 }}' + red: '{{ $term1 }}' + green: '{{ $term2 }}' + yellow: '{{ $term3 }}' + blue: '{{ $term4 }}' + magenta: '{{ $term5 }}' + cyan: '{{ $term6 }}' + white: '{{ $term7 }}' + bright: + black: '{{ $term8 }}' + red: '{{ $term9 }}' + green: '{{ $term10 }}' + yellow: '{{ $term11 }}' + blue: '{{ $term12 }}' + magenta: '{{ $term13 }}' + cyan: '{{ $term14 }}' + white: '{{ $term15 }}' -- cgit v1.2.3-freya