summary refs log tree commit diff
path: root/palette.toml
blob: e225dbec043bdb98e311283a9dc15c631d7d4e61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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"