std/theme/default
the default theme values
std/theme/default is the theme of a program whose main file imports none, and
the template to copy for a new theme: its files start # theme default, and a
copy keeps all 34 names and changes values. A main file never imports it
(non-canonical, and synod fmt removes the use). Its values (the Synod
brand for the colors) are:
| Name | Value | Use |
|---|---|---|
Paper |
#151A2E |
scene ground |
Ink |
#EDE9E1 |
node cards, primary text |
Line |
#3A4366 |
links, borders |
Quiet |
#8A90A8 |
secondary text, idle nodes |
Accent |
#F4A340 |
messages, the one thing to look at |
Good |
#5CC8B8 |
success, committed |
Warning |
#E8C35A |
candidate, pending |
Critical |
#E86F5A |
broken invariant, crashed |
Message1 |
#F4A340 |
message color 1 |
Message2 |
#7FB2F0 |
message color 2 |
Message3 |
#C79BEA |
message color 3 |
Message4 |
#F08FB0 |
message color 4 |
Vignette |
0 |
edges not darkened |
Sketch |
0 |
outlines not wobbled |
Glow |
24 |
glow blur |
Shadow |
0 |
no shadow |
StrokeWidth |
2 |
outline width |
CornerRadius |
12 |
rect corners |
NodeShape |
"card" |
node cards are rects |
NodeFill |
"solid" |
node cards are filled |
LinkOpacity |
1 |
links are opaque |
Easing |
"smooth" |
smootherstep moves |
Drift |
0 |
no drift |
Sans |
"Inter" |
default sans face |
Mono |
"JetBrains Mono" |
default mono face |
TitleSize |
28 |
title role |
LabelSize |
16 |
label role |
ValueSize |
15 |
value role |
CaptionSize |
20 |
caption role |
TitleWeight |
600 |
title role |
LabelWeight |
500 |
label, value, caption roles |
Tracking |
0 |
no letter spacing |
Margin |
4 |
look.Frame inset |
Fill |
1 |
layout scale |
A name is one definition whose block is one result line, as in this
beginning of the file:
# theme default
# scene ground
define Paper
result #151A2E
# node cards, primary text
define Ink
result #EDE9E1
Values
Copy this package into a folder of your own to make a theme: set its first line to # theme <folder name> and change the values. A theme gives every name.
| Name | Type | Value | Meaning |
|---|---|---|---|
Paper | color | #151A2E | scene ground |
Ink | color | #EDE9E1 | node cards, primary text |
Line | color | #3A4366 | links, borders |
Quiet | color | #8A90A8 | secondary text, idle nodes |
Accent | color | #F4A340 | messages, the one thing to look at |
Good | color | #5CC8B8 | success, committed |
Warning | color | #E8C35A | candidate, pending |
Critical | color | #E86F5A | broken invariant, crashed |
Message1 | color | #F4A340 | message color 1 |
Message2 | color | #7FB2F0 | message color 2 |
Message3 | color | #C79BEA | message color 3 |
Message4 | color | #F08FB0 | message color 4 |
Vignette | number | 0 | edges not darkened |
Sketch | number | 0 | outlines not wobbled |
Glow | number | 24 | glow blur |
Shadow | number | 0 | no shadow |
StrokeWidth | number | 2 | outline width |
CornerRadius | number | 12 | rect corners |
NodeShape | text | card | node cards are rects |
NodeFill | text | solid | node cards are filled |
LinkOpacity | number | 1 | links are opaque |
Easing | text | smooth | smootherstep moves |
Drift | number | 0 | no drift |
Sans | text | Inter | default sans face |
Mono | text | JetBrains Mono | default mono face |
TitleSize | number | 28 | title role |
LabelSize | number | 16 | label role |
ValueSize | number | 15 | value role |
CaptionSize | number | 20 | caption role |
TitleWeight | number | 600 | title role |
LabelWeight | number | 500 | label, value, caption roles |
Tracking | number | 0 | no letter spacing |
Margin | number | 4 | `look.Frame` inset |
Fill | number | 1 | layout scale |
More looks and themes, with an editable demo each, are on Looks & Themes; the gallery plays every pair.