about summary refs log tree commit diff stats
path: root/src/types
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-11-10 18:16:33 +0100
committerbptato <nincsnevem662@gmail.com>2024-11-10 18:16:33 +0100
commitdb250b08282de0ca06be4653ac3fdaac423a2b43 (patch)
treee44044911a31d597ed83b437fd0da32b506fc3a7 /src/types
parent08ba98a7218e335656a1c195f8f5c86f7889dab8 (diff)
downloadchawan-db250b08282de0ca06be4653ac3fdaac423a2b43.tar.gz
cascade: adjust prefers-color-scheme based on terminal background
also, default link color is now blue for light terminal backgrounds
Diffstat (limited to 'src/types')
-rw-r--r--src/types/winattrs.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types/winattrs.nim b/src/types/winattrs.nim
index 94b63790..e29daa9d 100644
--- a/src/types/winattrs.nim
+++ b/src/types/winattrs.nim
@@ -5,3 +5,4 @@ type WindowAttributes* = object
   ppl*: int # cell height (pixels per line)
   widthPx*: int
   heightPx*: int
+  prefersDark*: bool # prefers-color-scheme accepts "dark" (not "light")