diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-30 23:21:46 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-30 23:21:46 +1100 |
| commit | 92fa30021bef251cf6b53e0c5fd6543446853aa5 (patch) | |
| tree | 7390840855cb9cdb917527f097a99415339363b2 /scheme/gen-scheme.fish | |
| parent | scheme: better light/dark theme detection (diff) | |
| download | caelestia-cli-92fa30021bef251cf6b53e0c5fd6543446853aa5.tar.gz caelestia-cli-92fa30021bef251cf6b53e0c5fd6543446853aa5.tar.bz2 caelestia-cli-92fa30021bef251cf6b53e0c5fd6543446853aa5.zip | |
scheme: better colours for dynamic scheme
Diffstat (limited to 'scheme/gen-scheme.fish')
| -rwxr-xr-x | scheme/gen-scheme.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scheme/gen-scheme.fish b/scheme/gen-scheme.fish index d713744..efcf620 100755 --- a/scheme/gen-scheme.fish +++ b/scheme/gen-scheme.fish @@ -20,10 +20,10 @@ set -l img (realpath $img) # Light theme if background lighter than foreground set -l bg_fg ($src/getlightness.py (okolors $img -k 2 | string split ' ')) if test "$bg_fg[1]" -gt "$bg_fg[2]" - set light_vals 40,6,8,10,45,50,55,60,65,70,75,80,85,90 + set light_vals 40,10,16,22,34,46,59,69,78,85,97,94,90 set colour_scheme light else - set light_vals 70,90,75,65,40,35,30,25,20,15,10,8,6 + set light_vals 70,90,75,63,52,42,32,26,20,16,12,9,6 set colour_scheme dark end |