@usableapp/cardds 0.7.167 → 0.7.169

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,32 @@
2
2
 
3
3
  > For: a project that consumes `@usableapp/cardds` and its AI — what changed between versions, written as before → after, so a screen can be brought up to date without reading the source. Newest first. A consumer never edits cardds; if something here leaves you without a way to do what you did before, report the gap. Each release section after 0.7.97 carries one `Components:` line, written by `node scripts/components-changed.mjs <previous tag>`: the components the release changed, or `all` when a file changed that any component can read (a token, the build), or `none`; check only the screens that import those.
4
4
 
5
+ ## 0.7.169 — 2026-10-29
6
+
7
+ Buttons in the `lit` finish are flat.
8
+
9
+ Components: Btn
10
+
11
+ ### Changed
12
+ - **`lit` button sheen** (Lh, 2026-10-29): before, `--finish-sheen` laid a 16% white band on the top of the button that faded out by 60% of its height, so the button looked domed. After, a 5% white that fades evenly over the whole button: flat, with no band. Every button tone the `lit` finish draws gets the same change. The top edge line (`--finish-edge`) is unchanged, and other finishes are not touched.
13
+
14
+ ## 0.7.168 — 2026-10-29
15
+
16
+ One font family with real weights: Noto Sans, Thai and Latin. Nothing is faux bold any more.
17
+
18
+ Components: all
19
+
20
+ ### Changed
21
+ - **The shipped fonts** (Lh, 2026-10-29): PK Nonthaburi (body, only 400 and 500) and FC Pride (display, one medium file) were asked for 600, 650, 700, 800 and 900 that they did not have, so the browser faked the bold. Before → after: `--font-ui` is `"Noto Sans", "Noto Sans Thai Looped", var(--font-fallback)` and `--font-display` is `var(--font-ui)`, one variable axis 100–900, so 400 · 500 · 600 · 650 · 700 · 800 · 900 are all real. Thai comes from Noto Sans Thai Looped; Latin, Latin-ext, Vietnamese, Cyrillic and Greek from Noto Sans, each a file joined by `unicode-range` (a page loads only the scripts it draws). No weight token changed. The faces' own vertical metrics are standard, so every `ascent-override`, `descent-override` and `line-gap-override` is gone; the `--lh-*` and size tokens are unchanged. A line that mixes Thai and Latin is about 0.06em taller than a Thai-only line (two files, two boxes).
22
+ - **Wider text**: both new faces are about 10–15% wider than the old ones, so some lines break earlier and a tight row can wrap (a dark route card's gate badge drops under its chip). No size token was touched; an app that needs it tunes its theme. In a theme that named the old fonts, replace `"PK Nonthaburi"` and `"FC Pride"` in `--font-ui` / `--font-display` with the new stacks (see `css/theme.template.css`).
23
+
24
+ ### Added
25
+ - **`--font-fallback`**: a per-script list of system faces for scripts cardds does not ship (Lao, Khmer, Myanmar, Devanagari, Hebrew, Arabic, CJK). No CJK file ships.
26
+ - **Story `Text/Languages`**: one sample line per language in each real weight, with the languages drawn by a system font marked.
27
+
28
+ ### Removed
29
+ - `fonts/fc-pride-medium.otf` and `fonts/pk-nonthaburi-demo.ttf`, with their licence notes. Package size is about +170 KB net (`latin-ext`, 168 KB, loads only when a Latin-ext letter appears). Licences: SIL OFL 1.1 (`fonts/LICENSES.md`).
30
+
5
31
  ## 0.7.167 — 2026-10-29
6
32
 
7
33
  `Head` is ONE part with a `variant` and named slots; the sheet head draws and wires its own close. A head written with children is gone.
package/cardds.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /* cardds — card-first mobile design system. One import. */
2
- @import url("css/fonts.css"); /* the two faces: PK Nonthaburi (body), FC Pride (display) */
2
+ @import url("css/fonts.css"); /* the Noto Sans family: Thai Looped + Latin, Latin-ext, Vietnamese, Cyrillic, Greek */
3
3
  @import url("css/tokens.css"); /* structure + wireframe defaults */
4
4
  @import url("css/palette.css"); /* color settings — the file you tune */
5
5
  @import url("css/base.css"); /* reset, surface, type levels, page */
package/css/choice.css CHANGED
@@ -323,7 +323,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
323
323
  /* the eye centres the INK, not the line box: a letter that stands on the
324
324
  baseline (ก) has no descender, while the face's box keeps 0.30em under it
325
325
  (fonts.css) — so the ink lands low when the box is centred; lifted 0.15em
326
- (set by eye with Lh on FC Pride at h2, 2026-09-12) */
326
+ (set by eye with Lh on the display face at h2, 2026-09-12) */
327
327
  translate: -50% -0.15em;
328
328
  display: grid;
329
329
  place-items: center;
package/css/finish.css CHANGED
@@ -48,10 +48,10 @@
48
48
  0 -0.0625rem 0.0625rem color-mix(in srgb, var(--_shade) 4%, transparent),
49
49
  0 -0.5rem 2rem -0.25rem color-mix(in srgb, var(--_shade) 6%, transparent);
50
50
 
51
- /* a control: its lit edge and ring, no shadow behind it (Lh 2026-10-25), and the sheen that runs down its face */
51
+ /* a control: its lit edge and ring, no shadow behind it (Lh 2026-10-25), and a faint tonal shift down its face */
52
52
  --finish-control: var(--finish-edge), var(--finish-ring);
53
53
  --finish-control-down: var(--finish-ring), inset 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 18%, transparent);
54
- --finish-sheen: linear-gradient(to bottom, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0) 60%);
54
+ --finish-sheen: linear-gradient(to bottom, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0)); /* flat: a faint even shift top to bottom, no band, no bulge (Lh 2026-10-29) */
55
55
  --finish-sunk: inset 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 14%, transparent), 0 0.0625rem 0 rgb(255 255 255 / 0.5);
56
56
 
57
57
  --outline: color-mix(in srgb, currentColor 14%, transparent);
package/css/fonts.css CHANGED
@@ -1,37 +1,66 @@
1
1
  /* ============================================================
2
- cardds/fonts.css — the two faces the system ships (Lh, 2026-09-10).
3
- Body: PK Nonthaburi (Pocket Fonts, demo weight — one face; the browser
4
- synthesises bold for labels and titles, so the 400/700 contrast holds).
5
- Display: FC Pride (Fontcraft Studio, Medium — non-commercial licence);
6
- declared across every weight so headings render the real Medium, never
7
- a smeared faux-bold. Both cover Thai + Latin + digits. Licences: fonts/LICENSES.md.
2
+ cardds/fonts.css — ONE family, the Noto Sans family (Lh, 2026-10-29): the
3
+ industry-standard face with the widest script coverage, drawn as one design,
4
+ SIL OFL 1.1. Every weight the scale asks for (400 · 500 · 600 · 650 · 700 ·
5
+ 800 · 900) is a real master of a variable 100–900 axis, never a browser-made
6
+ bold; the display role is the same family at its heavy weights, so a line of
7
+ Thai, Vietnamese, Latin, Cyrillic or Greek speaks with one voice.
8
+ Shipped scripts: Thai (Noto Sans Thai Looped), Latin, Latin-ext, Vietnamese,
9
+ Cyrillic, Greek (Noto Sans) — each its own woff2, joined by unicode-range, so a page
10
+ downloads only the scripts it draws. Every other script (Lao, Khmer, Myanmar,
11
+ Chinese, Japanese, Korean, Arabic, Hebrew, Devanagari...) falls to the system
12
+ face named in --font-fallback (tokens.css); no CJK file ships. Licences: fonts/LICENSES.md.
13
+ Vertical metrics are the files' own, no ascent / descent / line-gap override: Noto Sans Thai Looped
14
+ 1.25 up / 0.35 down (its stacked marks reach 1.11 up, lower vowels 0.31 down), Noto Sans 1.069 / 0.293
15
+ (Vietnamese marks 1.05 up), line gap 0 in both, USE_TYPO_METRICS set, so every platform reads the same box.
8
16
  tokens.css points --font-ui and --font-display at these; a consumer who
9
17
  vendors the CSS copies fonts/ beside it (the url()s are ../fonts/).
10
18
  ============================================================ */
11
19
  @font-face {
12
- font-family: "PK Nonthaburi";
13
- src: url("../fonts/pk-nonthaburi-demo.ttf") format("truetype");
14
- font-weight: 400 500;
20
+ font-family: "Noto Sans Thai Looped";
21
+ src: url("../fonts/noto-sans-thai-looped/thai.woff2") format("woff2");
22
+ font-weight: 100 900;
23
+ font-style: normal;
24
+ font-display: swap;
25
+ unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC, U+02D7, U+0303, U+0331;
26
+ }
27
+ @font-face {
28
+ font-family: "Noto Sans";
29
+ src: url("../fonts/noto-sans/latin.woff2") format("woff2");
30
+ font-weight: 100 900;
31
+ font-style: normal;
32
+ font-display: swap;
33
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
34
+ }
35
+ @font-face {
36
+ font-family: "Noto Sans";
37
+ src: url("../fonts/noto-sans/latin-ext.woff2") format("woff2");
38
+ font-weight: 100 900;
39
+ font-style: normal;
40
+ font-display: swap;
41
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
42
+ }
43
+ @font-face {
44
+ font-family: "Noto Sans";
45
+ src: url("../fonts/noto-sans/vietnamese.woff2") format("woff2");
46
+ font-weight: 100 900;
47
+ font-style: normal;
48
+ font-display: swap;
49
+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
50
+ }
51
+ @font-face {
52
+ font-family: "Noto Sans";
53
+ src: url("../fonts/noto-sans/cyrillic.woff2") format("woff2");
54
+ font-weight: 100 900;
15
55
  font-style: normal;
16
56
  font-display: swap;
17
- /* the box the line-height centres = the ink: tone marks reach 1.02em up,
18
- lower vowels 0.30em down (measured; the face declares 0.92 / 0.30 + gap) */
19
- ascent-override: 102%;
20
- descent-override: 30%;
21
- line-gap-override: 0%;
57
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
22
58
  }
23
59
  @font-face {
24
- font-family: "FC Pride";
25
- src: url("../fonts/fc-pride-medium.otf") format("opentype");
60
+ font-family: "Noto Sans";
61
+ src: url("../fonts/noto-sans/greek.woff2") format("woff2");
26
62
  font-weight: 100 900;
27
63
  font-style: normal;
28
64
  font-display: swap;
29
- /* the face declares 1.20 up / 0.18 down, but a stacked vowel + tone mark
30
- reaches 1.10em and สระอู 0.29em — override so the line box centres the
31
- ink and a clipped heading loses the same hair top and bottom, not the
32
- whole lower vowel. With the leading in tokens.css this is 0.075em a side
33
- at h2; the clipped containers pad that back (card.css, actions.css) */
34
- ascent-override: 110%;
35
- descent-override: 30%;
36
- line-gap-override: 0%;
65
+ unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
37
66
  }
package/css/lists.css CHANGED
@@ -200,16 +200,16 @@ a.bubble { color: inherit; text-decoration: none; }
200
200
  .link:disabled { color: var(--link-disabled-ink, var(--card-muted)); cursor: default; } /* inactive = muted (a Countdown) */
201
201
  .link--wait { font-variant-numeric: tabular-nums; } /* the countdown's digits keep their width: the words do not jiggle each second */
202
202
  /* an icon in a link FILLS the line of the link's words, judged by the X (Lh 2026-10-25), centred on the words' body band, whatever `size`
203
- the app gave it, through the Icon's own knobs. The numbers, from the face the link sets (--type-label → --font-ui, PK Nonthaburi,
204
- 1200 units/em): a Thai consonant body (ก ข น ด ค า) tops at 628 units = 0.523em, so the band runs from the baseline to 0.523em, its
205
- centre 0.26em up; Thai upper vowels and marks reach 0.75–0.79em (ำ ไ). In its 24-unit box the `x` draws only 14 (6–18 and its stroke),
206
- the pencil about 22. The box is 0.8em: the X then draws 0.8 × 14/24 = 0.47em, 89% of the body; the pencil 0.73em, its tip 0.63em up,
203
+ the app gave it, through the Icon's own knobs. The numbers, measured on the face the link sets (--type-label → --font-ui, Noto Sans Thai
204
+ Looped, 1000 units/em): a Thai consonant body (ก ข น ด ค า) tops at 566 units = 0.566em, so the band runs from the baseline to 0.566em, its
205
+ centre 0.28em up; Thai upper vowels reach 0.83–0.93em (ำ ไ). In its 24-unit box the `x` draws only 14 (6–18 and its stroke),
206
+ the pencil about 22. The box is 0.8em: the X then draws 0.8 × 14/24 = 0.47em, 83% of the body; the pencil 0.73em, its tip 0.63em up,
207
207
  still under the upper vowels' line (a larger box puts the X closer to the body but stands the pencil over the words). Never `ex` (it
208
208
  follows whichever face answered) nor `cap` (not on iOS 16.4). Baseline alignment puts the box's bottom (an svg's baseline) on the words'
209
- baseline; `translate` lowers it by half the box less 0.26em, so the box's centre — where a stock icon is drawn about — is the band's
209
+ baseline; `translate` lowers it by half the box less 0.28em, so the box's centre — where a stock icon is drawn about — is the band's
210
210
  centre: translate, because it moves only the drawing and leaves the line's box and its centring alone. Baseline-aligned items sit at
211
211
  the top of their line, so the link wraps (one line still) and centres that line in its min-height box with align-content; the gap kept */
212
- .link > .icon { --icon-size: var(--link-icon-size, 0.8em); --icon-xs-size: var(--icon-size); --icon-sm-size: var(--icon-size); --icon-lg-size: var(--icon-size); translate: 0 calc(var(--icon-size) / 2 - 0.26em); }
212
+ .link > .icon { --icon-size: var(--link-icon-size, 0.8em); --icon-xs-size: var(--icon-size); --icon-sm-size: var(--icon-size); --icon-lg-size: var(--icon-size); translate: 0 calc(var(--icon-size) / 2 - 0.28em); }
213
213
  .link:has(> .icon) { flex-wrap: wrap; align-items: baseline; align-content: center; }
214
214
 
215
215
  /* ---- bullets: a list, each item led by a small square picture as tall as a line of its words (Lh 2026-09-28, timebank #153) ----
package/css/parts.css CHANGED
@@ -337,7 +337,7 @@
337
337
  waits, and starts again from the first letter — like a song title. The head's line clamp (above) already cuts it, so no overflow is set here */
338
338
  .stack-sheet > .head > .words__title {
339
339
  flex: 1; min-width: 0; white-space: nowrap; overflow-wrap: normal;
340
- translate: 0 var(--stack-sheet-title-shift, -0.1em); /* FC Pride's line box carries more room above its letters than below: the
340
+ translate: 0 var(--stack-sheet-title-shift, -0.1em); /* The display face's line box carries more room above its letters than below: the
341
341
  letters sat ~0.1em under the middle of the back disc and the tabs — lifted onto it (Lh 2026-09-24) */
342
342
  }
343
343
  @media (prefers-reduced-motion: reduce) {
@@ -30,8 +30,8 @@
30
30
  /* a member's text-size setting is this same --fs-base, written on <html> by the app at run time (1.375rem = 100%, 2.2rem = 160%) — the words and the form controls grow, the other things half as much */
31
31
 
32
32
  /* ---- faces ---- */
33
- --font-ui: "PK Nonthaburi", -apple-system, system-ui, sans-serif;
34
- --font-display: "FC Pride", var(--font-ui);
33
+ --font-ui: "Noto Sans", "Noto Sans Thai Looped", var(--font-fallback);
34
+ --font-display: var(--font-ui);
35
35
 
36
36
  /* ---- colour: five bases, the roles derive (tone 2, the muted inks, the tints) ----
37
37
  No default — unset = the wireframe. With colours of your own, put the page in coloured mode:
package/css/tokens.css CHANGED
@@ -200,8 +200,9 @@
200
200
  --_cover-min-h: 22.5rem; /* .card--cover's min-height; --postcard-min-h falls back to it (media.css) */
201
201
 
202
202
  /* ---- typography: one scale, rem so it follows the root ---- */
203
- --font-ui: "PK Nonthaburi", -apple-system, system-ui, sans-serif; /* fonts.css ships it; the rest is the fallback while it loads */
204
- --font-display: "FC Pride", var(--font-ui); /* the character face for headings and big numbers (fonts.css) */
203
+ --font-fallback: "Noto Sans Lao Looped", "Lao Sangam MN", "Noto Sans Khmer", "Khmer Sangam MN", "Noto Sans Myanmar", "Myanmar Sangam MN", "Noto Sans Devanagari", "Kohinoor Devanagari", "Noto Sans Hebrew", "Arial Hebrew", "Noto Sans Arabic", "Geeza Pro", "PingFang SC", "Hiragino Sans", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", "Yu Gothic", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, system-ui, sans-serif; /* scripts cardds does not ship (fonts.css ships Thai, Latin, Latin-ext, Vietnamese, Cyrillic, Greek): the system face that draws them, per script, then the system default */
204
+ --font-ui: "Noto Sans", "Noto Sans Thai Looped", var(--font-fallback); /* fonts.css ships it, variable weight 100–900 */
205
+ --font-display: var(--font-ui); /* the same family: headings and big numbers are its heavy weights (700 · 800 · 900) */
205
206
  --font-mono: "SF Mono", "JetBrains Mono", ui-monospace, monospace;
206
207
 
207
208
  /* THE SCALE (Lh 2026-09-22): 7 sizes for 16 jobs — a size is a job's fit, not a rung; jobs share sizes.
@@ -226,7 +227,7 @@
226
227
 
227
228
  /* TYPE (Lh 2026-10-20: every kind and every size has its tokens; a component writes no type value of its own).
228
229
  THE SCALES: weight and leading, each step named once. A kind below picks a step of each; a piece that needs a step alone reads it. */
229
- --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-strong: 650; --fw-bold: 700; --fw-heavy: 800; --fw-black: 900;
230
+ --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-strong: 650; --fw-bold: 700; --fw-heavy: 800; --fw-black: 900; /* every step is a real weight of the shipped faces (fonts.css): the body face is variable 100–900, the display face has 500 · 700 · 800 · 900 — a step the faces lack would be faked by the browser */
230
231
  --lh-mark: 0.55; /* a quotation mark three lines tall, set into the first line */
231
232
  --lh-band: 0.9; /* a data band's giant number */
232
233
  --lh-badge: 0.95; /* a date box's two lines (JourneyBadge) */
@@ -244,7 +245,7 @@
244
245
  --glyph-rise: 0.2em;
245
246
  --glyph-drop: 0.15em;
246
247
  /* THE EIGHT KINDS: each has its face, weight, size (--fs-* above), leading and tracking, and its style --type-<kind> is made of them */
247
- --fw-display: var(--fw-heavy); --lh-display: 1.15; --track-display: -0.02em; /* leading: Thai marks stack to 1.1em up and 0.3em down in FC Pride — 1.02 clipped them (2026-09-10) */
248
+ --fw-display: var(--fw-heavy); --lh-display: 1.15; --track-display: -0.02em; /* leading: Thai marks stack to 1.1em up and 0.3em down — 1.02 clipped them (2026-09-10) */
248
249
  --fw-h1: var(--fw-black); --lh-h1: 1.15; --track-h1: -0.015em; /* tight, the display's floor: a stacked mark (1.13em up) clears the line above (Lh 2026-10-25: 1.2 read loose) */
249
250
  --fw-h2: var(--fw-bold); --lh-h2: 1.25; --track-h2: -0.01em;
250
251
  --fw-title: var(--fw-strong); --lh-title: 1.3; --track-title: normal;
package/dist/cardds.css CHANGED
@@ -1,41 +1,70 @@
1
1
  /* cardds — card-first mobile design system. One import. */
2
- /* ---- css/fonts.css — the two faces: PK Nonthaburi (body), FC Pride (display) ---- */
2
+ /* ---- css/fonts.css — the Noto Sans family: Thai Looped + Latin, Latin-ext, Vietnamese, Cyrillic, Greek ---- */
3
3
  /* ============================================================
4
- cardds/fonts.css — the two faces the system ships (Lh, 2026-09-10).
5
- Body: PK Nonthaburi (Pocket Fonts, demo weight — one face; the browser
6
- synthesises bold for labels and titles, so the 400/700 contrast holds).
7
- Display: FC Pride (Fontcraft Studio, Medium — non-commercial licence);
8
- declared across every weight so headings render the real Medium, never
9
- a smeared faux-bold. Both cover Thai + Latin + digits. Licences: fonts/LICENSES.md.
4
+ cardds/fonts.css — ONE family, the Noto Sans family (Lh, 2026-10-29): the
5
+ industry-standard face with the widest script coverage, drawn as one design,
6
+ SIL OFL 1.1. Every weight the scale asks for (400 · 500 · 600 · 650 · 700 ·
7
+ 800 · 900) is a real master of a variable 100–900 axis, never a browser-made
8
+ bold; the display role is the same family at its heavy weights, so a line of
9
+ Thai, Vietnamese, Latin, Cyrillic or Greek speaks with one voice.
10
+ Shipped scripts: Thai (Noto Sans Thai Looped), Latin, Latin-ext, Vietnamese,
11
+ Cyrillic, Greek (Noto Sans) — each its own woff2, joined by unicode-range, so a page
12
+ downloads only the scripts it draws. Every other script (Lao, Khmer, Myanmar,
13
+ Chinese, Japanese, Korean, Arabic, Hebrew, Devanagari...) falls to the system
14
+ face named in --font-fallback (tokens.css); no CJK file ships. Licences: fonts/LICENSES.md.
15
+ Vertical metrics are the files' own, no ascent / descent / line-gap override: Noto Sans Thai Looped
16
+ 1.25 up / 0.35 down (its stacked marks reach 1.11 up, lower vowels 0.31 down), Noto Sans 1.069 / 0.293
17
+ (Vietnamese marks 1.05 up), line gap 0 in both, USE_TYPO_METRICS set, so every platform reads the same box.
10
18
  tokens.css points --font-ui and --font-display at these; a consumer who
11
19
  vendors the CSS copies fonts/ beside it (the url()s are ../fonts/).
12
20
  ============================================================ */
13
21
  @font-face {
14
- font-family: "PK Nonthaburi";
15
- src: url("../fonts/pk-nonthaburi-demo.ttf") format("truetype");
16
- font-weight: 400 500;
22
+ font-family: "Noto Sans Thai Looped";
23
+ src: url("../fonts/noto-sans-thai-looped/thai.woff2") format("woff2");
24
+ font-weight: 100 900;
25
+ font-style: normal;
26
+ font-display: swap;
27
+ unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC, U+02D7, U+0303, U+0331;
28
+ }
29
+ @font-face {
30
+ font-family: "Noto Sans";
31
+ src: url("../fonts/noto-sans/latin.woff2") format("woff2");
32
+ font-weight: 100 900;
33
+ font-style: normal;
34
+ font-display: swap;
35
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
36
+ }
37
+ @font-face {
38
+ font-family: "Noto Sans";
39
+ src: url("../fonts/noto-sans/latin-ext.woff2") format("woff2");
40
+ font-weight: 100 900;
41
+ font-style: normal;
42
+ font-display: swap;
43
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
44
+ }
45
+ @font-face {
46
+ font-family: "Noto Sans";
47
+ src: url("../fonts/noto-sans/vietnamese.woff2") format("woff2");
48
+ font-weight: 100 900;
49
+ font-style: normal;
50
+ font-display: swap;
51
+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
52
+ }
53
+ @font-face {
54
+ font-family: "Noto Sans";
55
+ src: url("../fonts/noto-sans/cyrillic.woff2") format("woff2");
56
+ font-weight: 100 900;
17
57
  font-style: normal;
18
58
  font-display: swap;
19
- /* the box the line-height centres = the ink: tone marks reach 1.02em up,
20
- lower vowels 0.30em down (measured; the face declares 0.92 / 0.30 + gap) */
21
- ascent-override: 102%;
22
- descent-override: 30%;
23
- line-gap-override: 0%;
59
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
24
60
  }
25
61
  @font-face {
26
- font-family: "FC Pride";
27
- src: url("../fonts/fc-pride-medium.otf") format("opentype");
62
+ font-family: "Noto Sans";
63
+ src: url("../fonts/noto-sans/greek.woff2") format("woff2");
28
64
  font-weight: 100 900;
29
65
  font-style: normal;
30
66
  font-display: swap;
31
- /* the face declares 1.20 up / 0.18 down, but a stacked vowel + tone mark
32
- reaches 1.10em and สระอู 0.29em — override so the line box centres the
33
- ink and a clipped heading loses the same hair top and bottom, not the
34
- whole lower vowel. With the leading in tokens.css this is 0.075em a side
35
- at h2; the clipped containers pad that back (card.css, actions.css) */
36
- ascent-override: 110%;
37
- descent-override: 30%;
38
- line-gap-override: 0%;
67
+ unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
39
68
  }
40
69
 
41
70
  /* ---- css/tokens.css — structure + wireframe defaults ---- */
@@ -241,8 +270,9 @@
241
270
  --_cover-min-h: 22.5rem; /* .card--cover's min-height; --postcard-min-h falls back to it (media.css) */
242
271
 
243
272
  /* ---- typography: one scale, rem so it follows the root ---- */
244
- --font-ui: "PK Nonthaburi", -apple-system, system-ui, sans-serif; /* fonts.css ships it; the rest is the fallback while it loads */
245
- --font-display: "FC Pride", var(--font-ui); /* the character face for headings and big numbers (fonts.css) */
273
+ --font-fallback: "Noto Sans Lao Looped", "Lao Sangam MN", "Noto Sans Khmer", "Khmer Sangam MN", "Noto Sans Myanmar", "Myanmar Sangam MN", "Noto Sans Devanagari", "Kohinoor Devanagari", "Noto Sans Hebrew", "Arial Hebrew", "Noto Sans Arabic", "Geeza Pro", "PingFang SC", "Hiragino Sans", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", "Yu Gothic", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, system-ui, sans-serif; /* scripts cardds does not ship (fonts.css ships Thai, Latin, Latin-ext, Vietnamese, Cyrillic, Greek): the system face that draws them, per script, then the system default */
274
+ --font-ui: "Noto Sans", "Noto Sans Thai Looped", var(--font-fallback); /* fonts.css ships it, variable weight 100–900 */
275
+ --font-display: var(--font-ui); /* the same family: headings and big numbers are its heavy weights (700 · 800 · 900) */
246
276
  --font-mono: "SF Mono", "JetBrains Mono", ui-monospace, monospace;
247
277
 
248
278
  /* THE SCALE (Lh 2026-09-22): 7 sizes for 16 jobs — a size is a job's fit, not a rung; jobs share sizes.
@@ -267,7 +297,7 @@
267
297
 
268
298
  /* TYPE (Lh 2026-10-20: every kind and every size has its tokens; a component writes no type value of its own).
269
299
  THE SCALES: weight and leading, each step named once. A kind below picks a step of each; a piece that needs a step alone reads it. */
270
- --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-strong: 650; --fw-bold: 700; --fw-heavy: 800; --fw-black: 900;
300
+ --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-strong: 650; --fw-bold: 700; --fw-heavy: 800; --fw-black: 900; /* every step is a real weight of the shipped faces (fonts.css): the body face is variable 100–900, the display face has 500 · 700 · 800 · 900 — a step the faces lack would be faked by the browser */
271
301
  --lh-mark: 0.55; /* a quotation mark three lines tall, set into the first line */
272
302
  --lh-band: 0.9; /* a data band's giant number */
273
303
  --lh-badge: 0.95; /* a date box's two lines (JourneyBadge) */
@@ -285,7 +315,7 @@
285
315
  --glyph-rise: 0.2em;
286
316
  --glyph-drop: 0.15em;
287
317
  /* THE EIGHT KINDS: each has its face, weight, size (--fs-* above), leading and tracking, and its style --type-<kind> is made of them */
288
- --fw-display: var(--fw-heavy); --lh-display: 1.15; --track-display: -0.02em; /* leading: Thai marks stack to 1.1em up and 0.3em down in FC Pride — 1.02 clipped them (2026-09-10) */
318
+ --fw-display: var(--fw-heavy); --lh-display: 1.15; --track-display: -0.02em; /* leading: Thai marks stack to 1.1em up and 0.3em down — 1.02 clipped them (2026-09-10) */
289
319
  --fw-h1: var(--fw-black); --lh-h1: 1.15; --track-h1: -0.015em; /* tight, the display's floor: a stacked mark (1.13em up) clears the line above (Lh 2026-10-25: 1.2 read loose) */
290
320
  --fw-h2: var(--fw-bold); --lh-h2: 1.25; --track-h2: -0.01em;
291
321
  --fw-title: var(--fw-strong); --lh-title: 1.3; --track-title: normal;
@@ -4246,7 +4276,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
4246
4276
  /* the eye centres the INK, not the line box: a letter that stands on the
4247
4277
  baseline (ก) has no descender, while the face's box keeps 0.30em under it
4248
4278
  (fonts.css) — so the ink lands low when the box is centred; lifted 0.15em
4249
- (set by eye with Lh on FC Pride at h2, 2026-09-12) */
4279
+ (set by eye with Lh on the display face at h2, 2026-09-12) */
4250
4280
  translate: -50% -0.15em;
4251
4281
  display: grid;
4252
4282
  place-items: center;
@@ -4508,16 +4538,16 @@ a.bubble { color: inherit; text-decoration: none; }
4508
4538
  .link:disabled { color: var(--link-disabled-ink, var(--card-muted)); cursor: default; } /* inactive = muted (a Countdown) */
4509
4539
  .link--wait { font-variant-numeric: tabular-nums; } /* the countdown's digits keep their width: the words do not jiggle each second */
4510
4540
  /* an icon in a link FILLS the line of the link's words, judged by the X (Lh 2026-10-25), centred on the words' body band, whatever `size`
4511
- the app gave it, through the Icon's own knobs. The numbers, from the face the link sets (--type-label → --font-ui, PK Nonthaburi,
4512
- 1200 units/em): a Thai consonant body (ก ข น ด ค า) tops at 628 units = 0.523em, so the band runs from the baseline to 0.523em, its
4513
- centre 0.26em up; Thai upper vowels and marks reach 0.75–0.79em (ำ ไ). In its 24-unit box the `x` draws only 14 (6–18 and its stroke),
4514
- the pencil about 22. The box is 0.8em: the X then draws 0.8 × 14/24 = 0.47em, 89% of the body; the pencil 0.73em, its tip 0.63em up,
4541
+ the app gave it, through the Icon's own knobs. The numbers, measured on the face the link sets (--type-label → --font-ui, Noto Sans Thai
4542
+ Looped, 1000 units/em): a Thai consonant body (ก ข น ด ค า) tops at 566 units = 0.566em, so the band runs from the baseline to 0.566em, its
4543
+ centre 0.28em up; Thai upper vowels reach 0.83–0.93em (ำ ไ). In its 24-unit box the `x` draws only 14 (6–18 and its stroke),
4544
+ the pencil about 22. The box is 0.8em: the X then draws 0.8 × 14/24 = 0.47em, 83% of the body; the pencil 0.73em, its tip 0.63em up,
4515
4545
  still under the upper vowels' line (a larger box puts the X closer to the body but stands the pencil over the words). Never `ex` (it
4516
4546
  follows whichever face answered) nor `cap` (not on iOS 16.4). Baseline alignment puts the box's bottom (an svg's baseline) on the words'
4517
- baseline; `translate` lowers it by half the box less 0.26em, so the box's centre — where a stock icon is drawn about — is the band's
4547
+ baseline; `translate` lowers it by half the box less 0.28em, so the box's centre — where a stock icon is drawn about — is the band's
4518
4548
  centre: translate, because it moves only the drawing and leaves the line's box and its centring alone. Baseline-aligned items sit at
4519
4549
  the top of their line, so the link wraps (one line still) and centres that line in its min-height box with align-content; the gap kept */
4520
- .link > .icon { --icon-size: var(--link-icon-size, 0.8em); --icon-xs-size: var(--icon-size); --icon-sm-size: var(--icon-size); --icon-lg-size: var(--icon-size); translate: 0 calc(var(--icon-size) / 2 - 0.26em); }
4550
+ .link > .icon { --icon-size: var(--link-icon-size, 0.8em); --icon-xs-size: var(--icon-size); --icon-sm-size: var(--icon-size); --icon-lg-size: var(--icon-size); translate: 0 calc(var(--icon-size) / 2 - 0.28em); }
4521
4551
  .link:has(> .icon) { flex-wrap: wrap; align-items: baseline; align-content: center; }
4522
4552
 
4523
4553
  /* ---- bullets: a list, each item led by a small square picture as tall as a line of its words (Lh 2026-09-28, timebank #153) ----
@@ -4872,7 +4902,7 @@ a.bubble { color: inherit; text-decoration: none; }
4872
4902
  waits, and starts again from the first letter — like a song title. The head's line clamp (above) already cuts it, so no overflow is set here */
4873
4903
  .stack-sheet > .head > .words__title {
4874
4904
  flex: 1; min-width: 0; white-space: nowrap; overflow-wrap: normal;
4875
- translate: 0 var(--stack-sheet-title-shift, -0.1em); /* FC Pride's line box carries more room above its letters than below: the
4905
+ translate: 0 var(--stack-sheet-title-shift, -0.1em); /* The display face's line box carries more room above its letters than below: the
4876
4906
  letters sat ~0.1em under the middle of the back disc and the tabs — lifted onto it (Lh 2026-09-24) */
4877
4907
  }
4878
4908
  @media (prefers-reduced-motion: reduce) {
@@ -6940,10 +6970,10 @@ a.bubble { color: inherit; text-decoration: none; }
6940
6970
  0 -0.0625rem 0.0625rem color-mix(in srgb, var(--_shade) 4%, transparent),
6941
6971
  0 -0.5rem 2rem -0.25rem color-mix(in srgb, var(--_shade) 6%, transparent);
6942
6972
 
6943
- /* a control: its lit edge and ring, no shadow behind it (Lh 2026-10-25), and the sheen that runs down its face */
6973
+ /* a control: its lit edge and ring, no shadow behind it (Lh 2026-10-25), and a faint tonal shift down its face */
6944
6974
  --finish-control: var(--finish-edge), var(--finish-ring);
6945
6975
  --finish-control-down: var(--finish-ring), inset 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 18%, transparent);
6946
- --finish-sheen: linear-gradient(to bottom, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0) 60%);
6976
+ --finish-sheen: linear-gradient(to bottom, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0)); /* flat: a faint even shift top to bottom, no band, no bulge (Lh 2026-10-29) */
6947
6977
  --finish-sunk: inset 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 14%, transparent), 0 0.0625rem 0 rgb(255 255 255 / 0.5);
6948
6978
 
6949
6979
  --outline: color-mix(in srgb, currentColor 14%, transparent);