The palette

From Zacess Themes v1.0.0. Edit this page on GitHub

Every colour comes from palette/zacess.json. This table is written from it by scripts/build.mjs, so it always matches the themes. Each role keeps its font style in every theme, so a token never relies on colour alone. The interface, terminal and colour vision values are in ACCESSIBILITY.md.

Role Style Light Dark Yellow on Black Cream High Contrast Dark High Contrast Light Deep Contrast Dark Deep Contrast Light Warm Dark Warm Light
Background #ffffff #121212 #000000 #fdf6e3 #000000 #ffffff #000000 #ffffff #211b17 #f4ead5
Text #111111 #f5f5f5 #ffeb3b #000000 #ffffff #000000 #ffffff #000000 #e5d5b6 #342410
keyword: Declarations and other keywords such as const, class and fn bold #59029f #d3bdff #ffffff #530093 #f5c400 #4b0091 #67aeff #002ec2 #f69d74 #832a01
control: Control flow such as if, return, for and import bold #5e003c #ffd2e6 #0cedf6 #550036 #ffcdf0 #8a0046 #ffabfd #950094 #ffafc0 #760244
function: Function and method names plain #0049a3 #84b7fa #88c3ff #004498 #8fd0ff #00347f #ffdf5a #824100 #ffe8a1 #744f01
type: Types, classes, interfaces and enums plain #003737 #03dedd #e5c7ff #003232 #00f4e0 #004f4e #00ebb1 #003a39 #71c0b6 #045247
variable: Variables and identifiers plain #111111 #f5f5f5 #ffeb3b #000000 #ffffff #000000 #ffffff #000000 #e5d5b6 #342410
parameter: Function parameters italic #4c2300 #ffb97f #ffcca3 #441f00 #ffcf9e #6b3100 #ffffff #000000 #ffd1ad #723902
property: Object properties, fields and keys plain #030075 #c5e1ff #ffffff #020068 #c9a8ff #1e0090 #c195ff #2e0078 #a4c9e9 #02318d
string: Strings and characters plain #004a0e #1ee646 #43f480 #00440c #20fe34 #005518 #ffaa7c #870000 #abba6f #04523a
number: Numbers, booleans and other constants plain #4c1b00 #ffd9ba #ffa77e #451700 #ffb27a #521e00 #e19e00 #a3005f #ecb4d8 #962b70
comment: Comments, never dimmed below the contrast floor italic #97016b #80c201 #88c200 #8b0162 #c7b404 #1701fb #00c600 #006108 #beb19e #625240
operator: Operators and punctuation plain #111111 #f5f5f5 #ffeb3b #000000 #ffffff #000000 #ffffff #000000 #e5d5b6 #342410
tag: Markup tags bold #59029f #d3bdff #ffffff #530093 #f5c400 #4b0091 #67aeff #002ec2 #f89b7b #930e04
attribute: Markup attributes plain #412300 #ffdb9e #ffffff #3a1f00 #fff0b8 #4f3200 #c195ff #2e0078 #ffce9f #8c4105
regex: Regular expressions plain #5b0020 #f3989e #ffa1ce #52001c #ffa6c9 #720030 #ff80c5 #a60049 #a6e3cd #064045
invalid: Invalid code and illegal characters underline #5d0002 #ffd7d2 #ffa59d #540002 #ff9e94 #600000 #fd8b78 #aa0000 #ffb1aa #62020b
added: Added lines in a diff plain #005b14 #01ea45 #28f74f #005512 #3bff59 #005518 #00f000 #006108 #94be7d #08651b
removed: Removed lines in a diff plain #5d0002 #f39992 #ffa59d #540002 #ffaba3 #4a0000 #ffaa7c #730000 #ffb1aa #790411
changed: Changed lines in a diff plain #001940 #c9e0ff #ddedff #001538 #e6f2ff #00307a #67aeff #002ec2 #b6dbfc #04488d