summary refs log tree commit diff
path: root/palette.toml
diff options
context:
space:
mode:
authorskylar <me@casper>2026-11-28 05:59:53 -0800
committerskylar <me@casper>2026-11-28 05:59:53 -0800
commite4306e5435eef76bad7fa9b3b909362304a8a47e (patch)
treed7856752d733cf2ef4551b3f6c6125635060ab58 /palette.toml
luxnox: one palette for light and dark themesHEAD main
palette.toml drives kitty, the dwl desktop (dwl, fuzzel, swaync, wob, wmenu), GTK, Qt, the console and Emacs; luxnox-toggle switches lux and nox. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'palette.toml')
-rw-r--r--palette.toml70
1 files changed, 70 insertions, 0 deletions
diff --git a/palette.toml b/palette.toml
new file mode 100644
index 0000000..e225dbe
--- /dev/null
+++ b/palette.toml
@@ -0,0 +1,70 @@
+# luxnox — high-contrast light (lux) and dark (nox) palettes.
+#
+# This file is the single source of truth. Every app config is generated
+# from it by `./luxnox gen`; check readability with `./luxnox check`.
+#
+# Rules:
+# - Background is pure white / pure black.
+# - Every color that can be text is at least 7:1 against the background
+# (WCAG AAA). The only exceptions are the slots that *are* the background:
+# nox `black` and lux `bright_white` (used for bars/badges, never body text).
+# - Normals are deep "ink" tones. In nox the brights are lighter; in lux they
+# are more vivid with a slight hue shift, never paler.
+# - Accent (focus, cursor, active borders/tabs) is blue.
+# - Selection is inverted: fg and bg swap.
+
+[nox]
+background = "#000000"
+foreground = "#e6e6e6"
+dim = "#a3a3a3" # comments, secondary text
+surface = "#1a1a1a" # bars, inactive tabs, subtle panels
+hover = "#262626" # a surface under the pointer
+line = "#0f0f0f" # the cursor's line (Emacs hl-line): barely there
+border = "#3a3a3a" # subtle lines: unfocused window borders, panel edges
+accent = "#6699fa"
+
+black = "#1a1a1a"
+red = "#fb6e63"
+green = "#1fb339"
+yellow = "#c8911c"
+blue = "#6699fa"
+magenta = "#ef63e0"
+cyan = "#20aac0"
+white = "#e6e6e6"
+
+bright_black = "#a3a3a3"
+bright_red = "#ff9e8e"
+bright_green = "#00d53b"
+bright_yellow = "#e7af00"
+bright_blue = "#8bbaff"
+bright_magenta = "#f398eb"
+bright_cyan = "#00cae2"
+bright_white = "#ffffff"
+
+[lux]
+background = "#ffffff"
+foreground = "#111111"
+dim = "#565656"
+surface = "#ebebeb"
+hover = "#dedede"
+line = "#f2f2f2"
+border = "#c4c4c4"
+accent = "#0b43b1"
+
+black = "#000000"
+red = "#981617"
+green = "#10591b"
+yellow = "#5c4b0d"
+blue = "#0b43b1"
+magenta = "#8a157a"
+cyan = "#105460"
+white = "#333333" # "normal white" is normal text in light mode
+
+bright_black = "#565656"
+bright_red = "#a23000"
+bright_green = "#316400"
+bright_yellow = "#7e4e00"
+bright_blue = "#2045df"
+bright_magenta = "#92269a"
+bright_cyan = "#006267"
+bright_white = "#ffffff"