styles
look
A look is a light and a dark scheme plus a
Style. Pick one in the nav: every page changes in place and keeps it. The device picks light or dark. Each sample below wears the look you picked; its list gives the value in all four.Colour
The 19 colour tokens, once for light and once for dark; the device picks which. Each pair passes
theme::gate.Default
✓Buildgreen, 2 minutes ago2m
!Deploywaiting on review
✗Lint3 warnings
3open
12 msp50
Paper
✓Buildgreen, 2 minutes ago2m
!Deploywaiting on review
✗Lint3 warnings
3open
12 msp50
Console
✓Buildgreen, 2 minutes ago2m
!Deploywaiting on review
✗Lint3 warnings
3open
12 msp50
Playful
✓Buildgreen, 2 minutes ago2m
!Deploywaiting on review
✗Lint3 warnings
3open
12 msp50
Defaultaccent #3d3d3d · #d6d6d6
Paperaccent #1d1a16 · #efe4cc
Consoleaccent #111111 · #e9e5d6
Playfulaccent #111114 · #f4f4f7
Type
The font design every label is set in.
Build log, Tuesday
Three builds ran; one waits on you. 1,284 ms.
Defaultdefault
Paperserif
Consolemono
Playfuldefault
Space
A multiplier of the paddings and gaps.
apibuild 8122 min
webbuild 8119 min
docsbuild 8101 h
Default× 1.0
Paper× 2.0
Console× 0.5
Playful× 1.25
Radius
A multiplier of the corner radius; 0 is square.
Default× 0.0
Paper× 0.0
Console× 0.0
Playful× 2.0
Motion
A multiplier of every duration, and the curve it runs on; 0 is none.
Each enter and settle runs its duration times motion, on the look's easing curve, and moves only
transform and opacity. At 0, and under reduced motion, nothing moves.Default× 1.0 · standard
Paper× 1.75 · calm
Console× 0.0 · standard
Playful× 1.25 · bouncy
Surface
How a card's surface is drawn.
Deploy to staging
waiting on review
Defaultsolid
Papersolid
Consolesolid
Playfulsolid
Fills
How a tinted part is filled: the primary action, the picked chip.
Defaulttint
Papertint
Consoleoutline
Playfulsolid
Marks
Whether a state mark is a symbol or its word.
✓build 812
!build 811
✗build 810
Defaultsymbols
Papertext
Consoletext
Playfulsymbols
Sections
How a section's header shows: a title, or quiet.
Today
apibuild 8122 min
webbuild 8119 min
docsbuild 8101 h
Defaulttitle
Paperquiet
Consoletitle
Playfultitle
Labels
A case and up to 4 marks before or after a role's label.
Recent
Defaultas is
Paperheader: … upper
Consolebutton: […] lower · header: // … lower
Playfulas is
Bring your own
A look is a scheme pair and a Style, defined by the app; these four are this site's own. theme::gate checks each scheme's contrast and colour distance, and this site's build runs it on all eight. Paper, as the page is handed it:
{
"dark": {
"label": "Paper dark",
"color-scheme": "dark",
"tokens": {
"--bg": "#1e1812",
"--card": "#1e1812",
"--edge": "#5a4a38",
"--line": "#352b21",
"--scrim": "#00000099",
"--fg": "#efe4cc",
"--mute": "#b8a98c",
"--l": "#efe4cc",
"--link": "#efe4cc",
"--g": "#9cb47a",
"--a": "#d9a547",
"--r": "#e8705c",
"--p": "#a8977a",
"--c": "#b6ad95",
"--fk-l": "#efe4cc",
"--fk-p": "#b8a98c",
"--fk-c": "#c2b9a1",
"--fk-g": "#9cb47a",
"--fk-a": "#d9a547"
}
},
"light": {
"label": "Paper light",
"color-scheme": "light",
"tokens": {
"--bg": "#f4ecdc",
"--card": "#f4ecdc",
"--edge": "#b9ab92",
"--line": "#ddd1ba",
"--scrim": "#2a22144d",
"--fg": "#1d1a16",
"--mute": "#5c5245",
"--l": "#1d1a16",
"--link": "#1d1a16",
"--g": "#55703a",
"--a": "#93650f",
"--r": "#9b1c1c",
"--p": "#6e6152",
"--c": "#5b5a4a",
"--fk-l": "#1d1a16",
"--fk-p": "#5c5245",
"--fk-c": "#4f4e40",
"--fk-g": "#4b6333",
"--fk-a": "#7a530a"
}
},
"style": {
"format": 2,
"type": "serif",
"space": 2.0,
"radius": 0.0,
"motion": 1.75,
"easing": "calm",
"surface": "solid",
"fills": "tint",
"marks": "text",
"sections": "quiet",
"labels": {
"header": {
"prefix": "",
"suffix": "",
"case": "upper"
}
}
}
}Every page here is a blocks
Screen, written by site::page: no hand-written HTML. Source: https://github.com/jirathip-dev/blocks