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
This commit is contained in:
Batuhan Edgüer
2025-08-16 19:17:39 +03:00
committed by GitHub
parent 1cd8cae2d9
commit 63e2132830
2 changed files with 37 additions and 0 deletions
+26
View File
@@ -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 }}'