@finstack-com-public/design 0.3.2 → 0.5.0

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.
Files changed (76) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/README.md +3 -6
  3. package/THIRD_PARTY_NOTICES.md +14 -4
  4. package/TRADEMARKS.md +7 -9
  5. package/dist/charts/index.js +6 -5
  6. package/dist/css/appbar.css +2 -2
  7. package/dist/css/appbar.md +5 -6
  8. package/dist/css/button.css +2 -2
  9. package/dist/css/button.md +1 -1
  10. package/dist/css/card.css +6 -2
  11. package/dist/css/codemirror.md +14 -0
  12. package/dist/css/dialog.css +2 -1
  13. package/dist/css/icon-button.css +1 -1
  14. package/dist/css/input.css +1 -1
  15. package/dist/css/kicker.css +2 -1
  16. package/dist/css/panel.css +4 -1
  17. package/dist/css/panel.md +2 -2
  18. package/dist/css/segmented.css +2 -2
  19. package/dist/css/sheet.css +1 -0
  20. package/dist/css/site.css +2 -1
  21. package/dist/css/site.md +3 -4
  22. package/dist/css/tokens.css +427 -389
  23. package/dist/css/widget.css +4 -1
  24. package/dist/css-text/appbar.js +1 -1
  25. package/dist/css-text/button.js +1 -1
  26. package/dist/css-text/card.js +1 -1
  27. package/dist/css-text/dialog.js +1 -1
  28. package/dist/css-text/icon-button.js +1 -1
  29. package/dist/css-text/input.js +1 -1
  30. package/dist/css-text/kicker.js +1 -1
  31. package/dist/css-text/kit.js +1 -1
  32. package/dist/css-text/panel.js +1 -1
  33. package/dist/css-text/segmented.js +1 -1
  34. package/dist/css-text/sheet.js +1 -1
  35. package/dist/css-text/site.js +1 -1
  36. package/dist/css-text/tokens.js +1 -1
  37. package/dist/css-text/widget.js +1 -1
  38. package/dist/fonts/OFL-plus-jakarta-sans.txt +93 -0
  39. package/dist/fonts/faces.d.ts +1 -1
  40. package/dist/fonts/faces.js +2 -0
  41. package/dist/fonts/index.d.ts +1 -1
  42. package/dist/fonts/index.js +3 -1
  43. package/dist/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2 +0 -0
  44. package/dist/fonts/plus-jakarta-sans-latin-wght-normal.woff2 +0 -0
  45. package/dist/fonts/print/plus-jakarta-sans-latin-400-normal.ttf +0 -0
  46. package/dist/fonts/print/plus-jakarta-sans-latin-500-normal.ttf +0 -0
  47. package/dist/fonts/print/plus-jakarta-sans-latin-600-normal.ttf +0 -0
  48. package/dist/fonts/print/plus-jakarta-sans-latin-700-normal.ttf +0 -0
  49. package/dist/fonts/print/plus-jakarta-sans-latin-ext-400-normal.ttf +0 -0
  50. package/dist/fonts/print/plus-jakarta-sans-latin-ext-500-normal.ttf +0 -0
  51. package/dist/fonts/print/plus-jakarta-sans-latin-ext-600-normal.ttf +0 -0
  52. package/dist/fonts/print/plus-jakarta-sans-latin-ext-700-normal.ttf +0 -0
  53. package/dist/fonts-print.css +74 -2
  54. package/dist/fonts.css +19 -1
  55. package/dist/kit.css +456 -404
  56. package/dist/react/navigation.d.ts +1 -1
  57. package/dist/react/shell.d.ts +1 -1
  58. package/dist/tokens/color.d.ts +5 -0
  59. package/dist/tokens/color.js +69 -59
  60. package/dist/tokens/contrast-pairs.js +11 -6
  61. package/dist/tokens/index.d.ts +14 -7
  62. package/dist/tokens/index.js +2 -1
  63. package/dist/tokens/primitives.d.ts +8 -5
  64. package/dist/tokens/primitives.js +8 -5
  65. package/dist/tokens/scale.d.ts +10 -3
  66. package/dist/tokens/scale.js +9 -2
  67. package/dist/tokens/syntax.js +5 -5
  68. package/dist/tokens.json +188 -171
  69. package/package.json +4 -5
  70. package/dist/logo/apple-touch-icon.png +0 -0
  71. package/dist/logo/favicon-32.png +0 -0
  72. package/dist/logo/favicon.ico +0 -0
  73. package/dist/logo/favicon.svg +0 -1
  74. package/dist/logo/finstack-logo-dark.svg +0 -1
  75. package/dist/logo/finstack-logo.svg +0 -1
  76. package/dist/logo/logo.md +0 -61
package/CHANGELOG.md CHANGED
@@ -3,6 +3,69 @@
3
3
  Written by hand for each release. Token names, class names, file paths and exports are the
4
4
  public API. While the kit is 0.x, a minor version may break them, and its entry says so.
5
5
 
6
+ ## 0.5.0 — 2026-11-05
7
+
8
+ **Breaking (kit T48, D29):** the default look is new. The purple and orange brand is replaced by a
9
+ deep blue to cyan brand on deep navy, with light pale-blue grounds, white rounded cards and soft
10
+ blue-tinted shadows. There is no opt-in theme and no switch; every consumer gets the new look when it
11
+ updates. **Nothing public was renamed or removed:** every token, class and export keeps its name.
12
+
13
+ - **Palette:** the purple/orange primitives are replaced by blue, cyan and navy primitives, and the
14
+ colour roles follow, in both schemes. The accent is `#1f4fe0` (light) and `#8db8ff` (dark); the
15
+ primary button is blue-filled; the app bar is navy. The gap tone is now a cool grey, the dark status
16
+ washes are retuned for navy grounds, and info follows the accent. Orange stays only as the warning
17
+ tone (icon and edge). The syntax keyword purple stays, and the syntax greys are now cool navy-greys.
18
+ - **Shape:** radii are `sm` 6, `md` 10, `lg` 16 and a new `xl` 20 px. Cards, panels, widgets and
19
+ dialogs use `xl`; controls use `md`. Shadows are tinted navy (dark ones have double the alpha).
20
+ - **Display font:** Plus Jakarta Sans ships beside Inter (screen woff2 in `fonts.css`, static TrueType
21
+ in `fonts-print.css`). Titles, headings, the wordmark and the kicker use it; body, UI and tabular
22
+ figures stay Inter.
23
+ - New files in `fonts/`: `plus-jakarta-sans-latin-wght-normal.woff2` and
24
+ `plus-jakarta-sans-latin-ext-wght-normal.woff2`; the licence `OFL-plus-jakarta-sans.txt`; and in
25
+ `fonts/print/` the 8 TrueType files `plus-jakarta-sans-latin-{400,500,600,700}-normal.ttf` and
26
+ `plus-jakarta-sans-latin-ext-{400,500,600,700}-normal.ttf`.
27
+ - `registerFonts` now registers 7 faces (was 5).
28
+ - calculation-engine, re-check on upgrade: its embed build copies the woff2 files by name
29
+ (`products/host/app/vite.embed.config.ts`) and a test asserts the face count
30
+ (`src/embed-kit.test.ts`), so both need the two new woff2 files.
31
+ - **Charts:** series 1 is the brand blue and series 2 a cyan, then violet, amber, raspberry, navy,
32
+ sage and brick, in the same order in both schemes. The sequential ramp (now blue) and the
33
+ diverging ramp (amber to blue) are new.
34
+ - **Softer button edges (D30):** secondary buttons and the segmented control draw their edge in the
35
+ new `--fs-line-button` (about 2.2:1) instead of `--fs-line-control`. Inputs, selects, chips and
36
+ the dropzone keep `--fs-line-control`.
37
+ - **CodeMirror note (`css/codemirror.md`):** the theme now maps `.cm-gutters` to the editor gutter
38
+ tokens; without it, CodeMirror's light gutter shows in the dark scheme. Products that pasted the
39
+ theme should add the new entry.
40
+ - **New tokens:** `--fs-radius-xl`, `--fs-gradient-brand`, `--fs-gradient-brand-soft`, the colour
41
+ roles `--fs-brand-start`, `--fs-brand-end`, `--fs-brand-wash-start`, `--fs-brand-wash-end`,
42
+ `--fs-font-display`, `--fs-tracking-caps-wide` (0.18em, used by the kicker) and
43
+ `--fs-line-button`.
44
+ - **Re-check in each product:**
45
+ - bi-app's landing page: anything that hard-codes the old purple (`#790373`, `#540058`, `#1e062e`)
46
+ or the brand orange, and any custom shadow or radius beside the kit's cards.
47
+ - calculation-engine and szamolga: the same hard-coded colours; chart code that reads the old
48
+ series order or ramps; logo slots are unaffected.
49
+ - grizzbi-core and grizzbi-verify: hard-coded purple, custom shadows, and the heading font (it is
50
+ now Plus Jakarta Sans). Screenshot baselines will change.
51
+ - **Visual baselines** (`e2e/visual-baselines/`) are regenerated for the new look.
52
+
53
+ ## 0.4.0 — 2026-11-04
54
+
55
+ **Breaking (kit T47, D28):** the kit is brand-neutral and ships no logo or favicon files.
56
+
57
+ - **Removed:** `@finstack-com-public/design/logo/*` (`finstack-logo.svg`, `finstack-logo-dark.svg`,
58
+ `favicon.svg`, `favicon-32.png`, `apple-touch-icon.png`, `favicon.ico`, `logo.md`) and the
59
+ `npm run logo` script. Each product keeps its own logo and favicons.
60
+ - bi-app's landing page: stop copying `finstack-logo.svg` and `favicon.svg` (bi-app T182).
61
+ - calculation-engine: take the favicons in `products/host/app` and `products/workbench`
62
+ `vite.config.ts` from the product's own files (calculation-engine T154).
63
+ - grizzbi-core and grizzbi-verify use only CSS and fonts; nothing changes for them.
64
+ - **Changed:** `TRADEMARKS.md` keeps the Grizzbi name and bear and makes no FinStack claim; README,
65
+ docs, comments and the package description are brand-neutral.
66
+ - Unchanged: the `fs-` class prefix, every token name, the licence text. The package is still
67
+ `@finstack-com-public/design` until it is renamed (a later release).
68
+
6
69
  ## 0.3.2 — 2026-10-31
7
70
 
8
71
  **Renamed:** from this release the kit is `@finstack-com-public/design`, public on npmjs.com, and is no
package/README.md CHANGED
@@ -23,10 +23,10 @@ npm install @finstack-com-public/design
23
23
 
24
24
  ```js
25
25
  import '@finstack-com-public/design/kit.css'; // layers, tokens, every block and the utilities
26
- import '@finstack-com-public/design/fonts.css'; // Inter, self-hosted
26
+ import '@finstack-com-public/design/fonts.css'; // Inter and Plus Jakarta Sans, self-hosted
27
27
  ```
28
28
 
29
- A page printed to PDF loads `fonts-print.css` instead of `fonts.css`: static Inter, which
29
+ A page printed to PDF loads `fonts-print.css` instead of `fonts.css`: static Inter and Plus Jakarta Sans, which
30
30
  Chromium embeds as TrueType. The print recipe, page footer included, is
31
31
  [`css/print.md`](src/css/print.md).
32
32
 
@@ -45,8 +45,6 @@ Chromium embeds as TrueType. The print recipe, page footer included, is
45
45
  - **Icons:** `@finstack-com-public/design/icons`.
46
46
  - **Chart theme:** `@finstack-com-public/design/charts` (with `toEChartsTheme`).
47
47
  - **Tokens as data:** `@finstack-com-public/design/tokens`, `tokens.json` and `grid.json`.
48
- - **Logo and favicon:** `@finstack-com-public/design/logo/<file>`, see [`logo/logo.md`](logo/logo.md)
49
- (FinStack's trademark, outside the MIT licence).
50
48
 
51
49
  Each block's markup, variants and states are in its usage note beside the CSS
52
50
  (`dist/css/<block>.md`). The full contract is the [design spec](docs/spec/README.md):
@@ -65,6 +63,5 @@ from [AGENTS.md](AGENTS.md).
65
63
 
66
64
  ## Licence
67
65
 
68
- MIT, see [LICENSE](LICENSE). The licence doesn't cover FinStack's or Grizzbi's names and logos,
69
- including the logo files in `logo/` (`dist/logo/`): see [TRADEMARKS.md](TRADEMARKS.md). Inter and the Lucide icon data keep their own licences:
66
+ MIT, see [LICENSE](LICENSE). The licence doesn't cover product names, logos or mascots: see [TRADEMARKS.md](TRADEMARKS.md). Inter and the Lucide icon data keep their own licences:
70
67
  see [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
@@ -1,9 +1,7 @@
1
1
  # Third-party notices
2
2
 
3
- The FinStack design kit's own code, styles and documentation are MIT-licensed (see `LICENSE`).
4
- The package also contains the following third-party parts, under their own licences. The
5
- FinStack logo files (`dist/logo/`) are neither MIT nor third-party: they are FinStack's trademark,
6
- see `TRADEMARKS.md`.
3
+ The design kit's own code, styles and documentation are MIT-licensed (see `LICENSE`).
4
+ The package also contains the following third-party parts, under their own licences.
7
5
 
8
6
  ## Inter
9
7
 
@@ -19,6 +17,18 @@ Licensed under the SIL Open Font License, Version 1.1, with no Reserved Font Nam
19
17
  licence text ships beside the font files as `dist/fonts/OFL.txt` (in this repository:
20
18
  `fonts/OFL.txt`).
21
19
 
20
+ ## Plus Jakarta Sans
21
+
22
+ The Plus Jakarta Sans typeface, as variable `woff2` files (Latin and Latin Extended-A, roman),
23
+ taken from `@fontsource-variable/plus-jakarta-sans` 5.3.0. The print faces in `fonts/print/`
24
+ (static TrueType at weights 400 to 700) are instances of those files, made by
25
+ `scripts/make-print-fonts.py` with fontTools.
26
+
27
+ Copyright 2020 The Plus Jakarta Sans Project Authors (https://github.com/tokotype/PlusJakartaSans).
28
+ Licensed under the SIL Open Font License, Version 1.1, with no Reserved Font Name. The full
29
+ licence text ships beside the font files as `dist/fonts/OFL-plus-jakarta-sans.txt` (in this
30
+ repository: `fonts/OFL-plus-jakarta-sans.txt`).
31
+
22
32
  ## Lucide
23
33
 
24
34
  Icon data from Lucide 1.63.0 (`lucide`), generated into `dist/icons/` and `dist/icons/masks.css`.
package/TRADEMARKS.md CHANGED
@@ -1,17 +1,15 @@
1
1
  # Trademarks
2
2
 
3
3
  The MIT licence in [LICENSE](./LICENSE) covers this kit's code, styles and documentation. It
4
- does not grant any right to use the names, logos or other brand marks of FinStack or its
5
- products, including **FinStack** and **Grizzbi**, or the Grizzbi bear.
4
+ does not grant any right to the names, logos or other brand marks of the products that use the
5
+ kit, including **Grizzbi** and the Grizzbi bear.
6
6
 
7
- The FinStack logo files in this package (`dist/logo/`, in this repository `logo/`: the logo
8
- SVGs, the favicons and the `.ico`) are FinStack's trademark. They ship so that FinStack's own
9
- products can use them; the MIT licence does not apply to them, and no right to use them is
10
- granted. The same goes for the mark as drawn by `scripts/lib/logo.ts` in this repository.
7
+ The package ships no logo files. Each product keeps its own logo and favicons; the kit only
8
+ gives them a slot (the app bar's identity slot, the site header's logo slot). For Grizzbi's own
9
+ trademark notice, see the Grizzbi repository.
11
10
 
12
- You may use those names to refer to the projects in plain words, for example "built with the
13
- FinStack design kit". You may not use them, or the logos, in a way that suggests your product
14
- is FinStack's, or is endorsed by FinStack, without permission.
11
+ You may use a product's name to refer to it in plain words. You may not use the names or logos in
12
+ a way that suggests your product is that product, or is endorsed by it, without permission.
15
13
 
16
14
  Third-party parts of the package (the Inter typeface and Lucide icon data) keep their own
17
15
  licences; see `THIRD_PARTY_NOTICES.md` in the published package.
@@ -2,15 +2,16 @@
2
2
  // mapping to ECharts (D19). The kit never imports a chart library; this module only builds objects.
3
3
  import { composite, parseColor, toHex } from "../tokens/contrast.js";
4
4
  import { readTokens, tokens } from "../tokens/index.js";
5
- // Spec 04 §2.3: interpolated in CIELAB; teal to purple through a neutral middle.
5
+ // Spec 04 §2.3: interpolated in CIELAB along blue anchors (straight Lab lines from pale blue bend
6
+ // to lavender), stops at even lightness steps; diverging is amber to blue through bg-sunken.
6
7
  const ramps = {
7
8
  light: {
8
- sequential: ['#f7edf6', '#cfa5c9', '#a55e9d', '#790373', '#5e0661', '#440750', '#2a0640'],
9
- diverging: ['#1d6363', '#68918f', '#adc1be', '#f3f3ef', '#cda9c5', '#a4609b', '#790373'],
9
+ sequential: ['#eaf1fd', '#adcaff', '#72a2fc', '#2b79f4', '#1e4cd7', '#173287', '#0b1a3f'],
10
+ diverging: ['#9a5200', '#be8557', '#dabba6', '#eef3fa', '#9cc0ff', '#4e8af8', '#1f4fe0'],
10
11
  },
11
12
  dark: {
12
- sequential: ['#2a2228', '#583b55', '#8b5486', '#c16fbb', '#d392ce', '#e5b5e0', '#f6d8f3'],
13
- diverging: ['#5fb3b3', '#508280', '#3e5351', '#2a2926', '#624f5d', '#a0789b', '#e3a3de'],
13
+ sequential: ['#172b5e', '#1f40a7', '#245ae5', '#3a81f7', '#76a4fc', '#a8c7ff', '#dce9ff'],
14
+ diverging: ['#f0a54a', '#af793d', '#704f38', '#152a5a', '#2254a9', '#3b82f7', '#8db8ff'],
14
15
  },
15
16
  };
16
17
  /** How far a not-selected mark is mixed towards the surface when cross-filtering. */
@@ -1,4 +1,4 @@
1
- /* App bar (spec 02 C): a dark island on purple-950, declared in tokens.css. Usage: appbar.md. */
1
+ /* App bar (spec 02 C): a dark island on navy-900, declared in tokens.css. Usage: appbar.md. */
2
2
  @layer fs.components {
3
3
  .fs-appbar {
4
4
  display: flex;
@@ -12,7 +12,7 @@
12
12
  color: var(--fs-ink);
13
13
  background: var(--fs-bg-surface);
14
14
  }
15
- /* The product's identity: wordmark, logo, "by FinStack" (D7). The kit only gives the slot. */
15
+ /* The product's identity: wordmark, logo, a "by <company>" credit (D7). The kit only gives the slot. */
16
16
  .fs-appbar__identity {
17
17
  display: flex;
18
18
  flex: none;
@@ -11,20 +11,19 @@ Gallery: `navigation.html`.
11
11
  </header>
12
12
  ```
13
13
 
14
- - The app bar is a dark island on purple-950 in every scheme. Every role inside takes its dark
14
+ - The app bar is a dark island on navy-900 in every scheme. Every role inside takes its dark
15
15
  value, so ordinary kit blocks need no "on dark" variants, and the ring keeps its contrast.
16
16
  - `__identity` is the product's slot (D7): Grizzbi's wordmark and bear, BI App's title. The kit
17
17
  draws only the divider after it.
18
- - When a product shows the FinStack mark there (for example Grizzbi's "by FinStack"), it takes
19
- the dark file in every scheme, since the bar is always dark. The slot is 24 px high:
18
+ - When a product shows a secondary mark there (for example a "by <company>" credit), it takes its
19
+ dark variant in every scheme, since the bar is always dark. The slot is 24 px high:
20
20
 
21
21
  ```html
22
22
  <div class="fs-appbar__identity">
23
23
  <strong>grizzbi</strong>
24
- <span class="fs-appbar__by">by <img src="…/finstack-logo-dark.svg" alt="FinStack" height="16"></span>
24
+ <span class="fs-appbar__by">by <img src="…/company-mark-dark.svg" alt="Company" height="16"></span>
25
25
  </div>
26
26
  ```
27
27
 
28
- `fs-appbar__by` is the product's own class, not the kit's. Files and the trademark note:
29
- `logo/logo.md`.
28
+ `fs-appbar__by` is the product's own class, not the kit's. The kit ships no logo files; each product brings its own.
30
29
  - Hidden in print.
@@ -20,8 +20,8 @@
20
20
  white-space: nowrap;
21
21
  text-decoration: none;
22
22
  background: var(--fs-bg-surface);
23
- border: var(--fs-line-width) solid var(--fs-line-control);
24
- border-radius: var(--fs-radius-sm);
23
+ border: var(--fs-line-width) solid var(--fs-line-button);
24
+ border-radius: var(--fs-radius-md);
25
25
  cursor: pointer;
26
26
  transition:
27
27
  background-color var(--fs-dur-fast) var(--fs-ease),
@@ -13,7 +13,7 @@ The icon comes from `createIcon('download', { className: 'fs-button__icon' })` o
13
13
 
14
14
  | Class | Use |
15
15
  |---|---|
16
- | `fs-button--primary` | The one main action of an area (purple fill) |
16
+ | `fs-button--primary` | The one main action of an area (accent-blue fill) |
17
17
  | (none) | Secondary: surface with a control edge |
18
18
  | `fs-button--ghost` | No edge until hovered: Exit, toolbar text actions |
19
19
  | `fs-button--danger` | A destructive action in danger ink (BI's "Remove") |
package/dist/css/card.css CHANGED
@@ -13,7 +13,8 @@
13
13
  text-decoration: none;
14
14
  background-color: var(--fs-bg-surface);
15
15
  border: var(--fs-line-width) solid var(--fs-line);
16
- border-radius: var(--fs-radius-md);
16
+ border-radius: var(--fs-radius-xl);
17
+ box-shadow: var(--fs-shadow-1);
17
18
  cursor: pointer;
18
19
  transition: border-color var(--fs-dur-fast) var(--fs-ease);
19
20
  }
@@ -29,6 +30,7 @@
29
30
  .fs-card__title {
30
31
  display: block;
31
32
  margin: var(--fs-space-1) 0;
33
+ font-family: var(--fs-font-display);
32
34
  font-size: var(--fs-text-md-size);
33
35
  line-height: var(--fs-text-md-line);
34
36
  font-weight: var(--fs-weight-semibold);
@@ -62,6 +64,8 @@
62
64
  .fs-card:focus-visible {
63
65
  outline: var(--fs-ring-width) solid var(--fs-ring);
64
66
  outline-offset: var(--fs-ring-halo-width);
65
- box-shadow: 0 0 0 var(--fs-ring-halo-width) var(--fs-ring-halo);
67
+ box-shadow:
68
+ 0 0 0 var(--fs-ring-halo-width) var(--fs-ring-halo),
69
+ var(--fs-shadow-1);
66
70
  }
67
71
  }
@@ -16,6 +16,13 @@ const fsEditorTheme = EditorView.theme({
16
16
  // The browser's own selection, for an editor without drawSelection() (it has no blurred form).
17
17
  '.cm-content ::selection': { background: 'var(--fs-editor-selection)' },
18
18
 
19
+ // The gutters (line numbers, the lint gutter): the base theme paints them light grey in either scheme.
20
+ '.cm-gutters': {
21
+ color: 'var(--fs-editor-gutter-ink)',
22
+ backgroundColor: 'var(--fs-editor-gutter-bg)',
23
+ borderRight: 'var(--fs-line-width) solid var(--fs-editor-gutter-line)',
24
+ },
25
+
19
26
  // Hover tooltips, the lint tooltip among them (autocomplete's tooltip is in menu.md).
20
27
  '.cm-tooltip.cm-tooltip-hover': {
21
28
  color: 'var(--fs-ink)',
@@ -89,6 +96,13 @@ keep them as separate `EditorView.theme` calls or fold them into one.
89
96
  `--fs-editor-selection` and on `--fs-editor-selection-blur` (over the surface) are in the
90
97
  contrast test.
91
98
 
99
+ ## The gutters
100
+
101
+ CodeMirror's base theme paints `.cm-gutters` `&light`: `#f5f5f5`, text `#6c6c6c`, edge `#ddd`, and
102
+ with the dark flag off (above) that light strip shows in the kit's dark scheme too. The theme maps
103
+ it to `--fs-editor-gutter-bg`, `-ink` and `-line`, as the kit's own gutter (`gutter-mark.md`). The
104
+ lint gutter's markers are in `gutter-mark.md`.
105
+
92
106
  ## The lint tooltip
93
107
 
94
108
  `@codemirror/lint` draws hover tooltips (`.cm-tooltip.cm-tooltip-hover` holding
@@ -13,7 +13,7 @@
13
13
  color: var(--fs-ink);
14
14
  background: var(--fs-bg-surface);
15
15
  border: var(--fs-line-width) solid var(--fs-line-strong);
16
- border-radius: var(--fs-radius-lg);
16
+ border-radius: var(--fs-radius-xl);
17
17
  box-shadow: var(--fs-shadow-3);
18
18
  }
19
19
  .fs-dialog::backdrop {
@@ -28,6 +28,7 @@
28
28
  .fs-dialog__title {
29
29
  margin: 0;
30
30
  padding: var(--fs-space-5) var(--fs-space-6) 0;
31
+ font-family: var(--fs-font-display);
31
32
  font-size: var(--fs-text-lg-size);
32
33
  line-height: var(--fs-text-lg-line);
33
34
  font-weight: var(--fs-weight-semibold);
@@ -13,7 +13,7 @@
13
13
  color: var(--fs-ink-2);
14
14
  background: transparent;
15
15
  border: var(--fs-line-width) solid transparent;
16
- border-radius: var(--fs-radius-sm);
16
+ border-radius: var(--fs-radius-md);
17
17
  cursor: pointer;
18
18
  transition: background-color var(--fs-dur-fast) var(--fs-ease);
19
19
  }
@@ -13,7 +13,7 @@
13
13
  color: var(--fs-ink);
14
14
  background-color: var(--fs-bg-surface);
15
15
  border: var(--fs-line-width) solid var(--fs-line-control);
16
- border-radius: var(--fs-radius-sm);
16
+ border-radius: var(--fs-radius-md);
17
17
  }
18
18
  .fs-input,
19
19
  .fs-select__control {
@@ -2,10 +2,11 @@
2
2
  @layer fs.components {
3
3
  .fs-kicker {
4
4
  display: block;
5
+ font-family: var(--fs-font-display);
5
6
  font-size: var(--fs-text-2xs-size);
6
7
  line-height: var(--fs-text-2xs-line);
7
8
  font-weight: var(--fs-weight-semibold);
8
- letter-spacing: var(--fs-tracking-caps);
9
+ letter-spacing: var(--fs-tracking-caps-wide);
9
10
  text-transform: uppercase;
10
11
  color: var(--fs-ink-2);
11
12
  }
@@ -6,11 +6,13 @@
6
6
  color: var(--fs-ink);
7
7
  background: var(--fs-bg-surface);
8
8
  border: var(--fs-line-width) solid var(--fs-line);
9
- border-radius: var(--fs-radius-md);
9
+ border-radius: var(--fs-radius-xl);
10
+ box-shadow: var(--fs-shadow-1);
10
11
  }
11
12
  .fs-panel--flat {
12
13
  background: transparent;
13
14
  border-color: transparent;
15
+ box-shadow: none;
14
16
  }
15
17
  .fs-panel__header {
16
18
  display: flex;
@@ -20,6 +22,7 @@
20
22
  }
21
23
  .fs-panel__title {
22
24
  margin: 0;
25
+ font-family: var(--fs-font-display);
23
26
  font-size: var(--fs-text-md-size);
24
27
  line-height: var(--fs-text-md-line);
25
28
  font-weight: var(--fs-weight-semibold);
package/dist/css/panel.md CHANGED
@@ -10,5 +10,5 @@ Spec 02 D. CSS: `css/panel.css`. Gallery: `overlays.html`.
10
10
  </section>
11
11
  ```
12
12
 
13
- - A surface with a 1 px line and an 8 px radius: the calculation engine's view cards, the base of
14
- the widget frame. `fs-panel--flat` drops the edge and the surface.
13
+ - A surface with a 1 px line, a 20 px radius (`--fs-radius-xl`) and the soft `--fs-shadow-1`: the calculation
14
+ engine's view cards, the base of the widget frame. `fs-panel--flat` drops the edge, the surface and the shadow.
@@ -5,7 +5,7 @@
5
5
  display: inline-flex;
6
6
  box-sizing: border-box;
7
7
  height: var(--fs-control-h);
8
- border: var(--fs-line-width) solid var(--fs-line-control);
8
+ border: var(--fs-line-width) solid var(--fs-line-button);
9
9
  border-radius: var(--fs-radius-sm);
10
10
  background: var(--fs-bg-surface);
11
11
  }
@@ -28,7 +28,7 @@
28
28
  cursor: pointer;
29
29
  }
30
30
  .fs-segmented__item + .fs-segmented__item {
31
- border-left: var(--fs-line-width) solid var(--fs-line-control);
31
+ border-left: var(--fs-line-width) solid var(--fs-line-button);
32
32
  }
33
33
  .fs-segmented__item:first-child {
34
34
  border-radius: calc(var(--fs-radius-sm) - 1px) 0 0 calc(var(--fs-radius-sm) - 1px);
@@ -52,6 +52,7 @@
52
52
  .fs-sheet__title {
53
53
  flex: 1 1 auto;
54
54
  margin: 0;
55
+ font-family: var(--fs-font-display);
55
56
  font-size: var(--fs-text-md-size);
56
57
  line-height: var(--fs-text-md-line);
57
58
  font-weight: var(--fs-weight-semibold);
package/dist/css/site.css CHANGED
@@ -11,13 +11,14 @@
11
11
  background: var(--fs-bg-surface);
12
12
  border-bottom: var(--fs-line-width) solid var(--fs-line);
13
13
  }
14
- /* The logo slot: an image 28 px high, the FinStack logo from logo/ (logo/logo.md, T31). */
14
+ /* The logo slot: an image 28 px high, the site's own logo; the kit ships none. */
15
15
  .fs-site-header__logo {
16
16
  flex: none;
17
17
  width: auto;
18
18
  height: 28px;
19
19
  }
20
20
  .fs-site-header__wordmark {
21
+ font-family: var(--fs-font-display);
21
22
  font-size: var(--fs-text-lg-size);
22
23
  line-height: var(--fs-text-lg-line);
23
24
  font-weight: var(--fs-weight-bold);
package/dist/css/site.md CHANGED
@@ -4,7 +4,7 @@ Spec 02 G (the calculation engine's public sites). CSS: `css/site.css`. Gallery:
4
4
 
5
5
  ```html
6
6
  <header class="fs-site-header">
7
- <img class="fs-site-header__logo" src="…/finstack-logo.svg" alt="FinStack">
7
+ <img class="fs-site-header__logo" src="…/logo.svg" alt="Company">
8
8
  <a class="fs-site-header__wordmark" href="/">Számolga</a>
9
9
  <nav class="fs-site-header__nav" aria-label="Main"><a class="fs-link fs-link--quiet" href="…">Calculators</a></nav>
10
10
  </header>
@@ -15,7 +15,6 @@ Spec 02 G (the calculation engine's public sites). CSS: `css/site.css`. Gallery:
15
15
  ```
16
16
 
17
17
  - `role="list"` keeps the list's semantics in Safari with VoiceOver, which drops them from a list styled `list-style: none`.
18
- - `__logo` is an image slot, 28 px high, for the FinStack logo: `@finstack-com-public/design/logo/finstack-logo.svg`,
19
- or `finstack-logo-dark.svg` in the dark scheme (`<picture>` for a page in `fs-auto`). Files,
20
- favicons and the trademark note: `logo/logo.md`. `__wordmark` is a text name.
18
+ - `__logo` is an image slot, 28 px high, for the site's own logo (the kit ships none; use a dark-scheme variant in the dark scheme,
19
+ `<picture>` for a page in `fs-auto`). `__wordmark` is a text name.
21
20
  - Authored layouts can write these classes as they are.