aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-06-04 12:38:26 +0200
committerlonkaars <loek@pipeframe.xyz>2023-06-04 12:38:26 +0200
commitea3be098bbb682bb0c155534a9fffc09a559cb15 (patch)
tree5afa9b35cdd251d6e77eac8d5dc922c91bca92db
parentf23e0bc31eba1e46595afd345370babb408f9f9f (diff)
fix contrast
-rw-r--r--.config/X11/light4
-rwxr-xr-x.local/share/bin/mode4
2 files changed, 4 insertions, 4 deletions
diff --git a/.config/X11/light b/.config/X11/light
index 9ea4e5d..9d83442 100644
--- a/.config/X11/light
+++ b/.config/X11/light
@@ -5,8 +5,8 @@
*.color4: #005cc5
*.color5: #5a32a3
*.color6: #3192aa
-*.color7: #959da5
-*.color8: #6a737d
+*.color7: #6a737d
+*.color8: #959da5
*.color9: #d73a49
*.color10: #28a745
*.color11: #dbab09
diff --git a/.local/share/bin/mode b/.local/share/bin/mode
index 533e81f..97259fb 100755
--- a/.local/share/bin/mode
+++ b/.local/share/bin/mode
@@ -158,8 +158,8 @@ switch_chrome() {
cd ~/.cache/wal/chromium
rm -f 'Cached Theme.pak' 'bg.png' 'manifest.json'
convert -size 100x100 "xc:`get_color background`" bg.png
- BG_ALT=$(mix_rgb $(get_color color7) $(get_color color0) '0.2')
- FG_ALT=$(mix_rgb $(get_color color15) $(get_color color8) '0.6')
+ BG_ALT=$(mix_rgb $(get_color color7) $(get_color color0) '0.03')
+ FG_ALT=$(mix_rgb $(get_color color15) $(get_color color8) '0.60')
jq -nc \
--argjson bg "`get_color_rgb_array background`" \
--argjson bg_alt "`hex_to_rgb_array $BG_ALT`" \