@finstack-com-public/design 0.3.2 → 0.4.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
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.4.0 — 2026-11-04
7
+
8
+ **Breaking (kit T47, D28):** the kit is brand-neutral and ships no logo or favicon files.
9
+
10
+ - **Removed:** `@finstack-com-public/design/logo/*` (`finstack-logo.svg`, `finstack-logo-dark.svg`,
11
+ `favicon.svg`, `favicon-32.png`, `apple-touch-icon.png`, `favicon.ico`, `logo.md`) and the
12
+ `npm run logo` script. Each product keeps its own logo and favicons.
13
+ - bi-app's landing page: stop copying `finstack-logo.svg` and `favicon.svg` (bi-app T182).
14
+ - calculation-engine: take the favicons in `products/host/app` and `products/workbench`
15
+ `vite.config.ts` from the product's own files (calculation-engine T154).
16
+ - grizzbi-core and grizzbi-verify use only CSS and fonts; nothing changes for them.
17
+ - **Changed:** `TRADEMARKS.md` keeps the Grizzbi name and bear and makes no FinStack claim; README,
18
+ docs, comments and the package description are brand-neutral.
19
+ - Unchanged: the `fs-` class prefix, every token name, the licence text. The package is still
20
+ `@finstack-com-public/design` until it is renamed (a later release).
21
+
6
22
  ## 0.3.2 — 2026-10-31
7
23
 
8
24
  **Renamed:** from this release the kit is `@finstack-com-public/design`, public on npmjs.com, and is no
package/README.md CHANGED
@@ -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
 
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.
@@ -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;
@@ -15,16 +15,15 @@ Gallery: `navigation.html`.
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.
package/dist/css/site.css CHANGED
@@ -11,7 +11,7 @@
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;
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.
@@ -1,4 +1,4 @@
1
- /* FinStack design kit tokens. Generated from src/tokens/ by scripts/build.ts; do not edit. */
1
+ /* Design kit tokens. Generated from src/tokens/ by scripts/build.ts; do not edit. */
2
2
  @layer fs.tokens, fs.reset, fs.base, fs.components, fs.utilities;
3
3
  @layer fs.tokens {
4
4
  /* The kit's single important declaration: no component display can show a hidden element (D12). */
@@ -1 +1 @@
1
- export default "/* App bar (spec 02 C): a dark island on purple-950, declared in tokens.css. Usage: appbar.md. */\n@layer fs.components {\n .fs-appbar {\n display: flex;\n align-items: center;\n gap: var(--fs-space-4);\n box-sizing: border-box;\n height: var(--fs-size-appbar);\n padding: 0 var(--fs-space-4);\n font-size: var(--fs-text-body-size);\n line-height: var(--fs-text-body-line);\n color: var(--fs-ink);\n background: var(--fs-bg-surface);\n }\n /* The product's identity: wordmark, logo, \"by FinStack\" (D7). The kit only gives the slot. */\n .fs-appbar__identity {\n display: flex;\n flex: none;\n align-items: center;\n gap: var(--fs-space-2);\n height: 24px;\n padding-right: var(--fs-space-4);\n border-right: var(--fs-line-width) solid var(--fs-line-strong);\n }\n .fs-appbar__title {\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n .fs-appbar__name,\n .fs-appbar__source {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .fs-appbar__name {\n font-weight: var(--fs-weight-semibold);\n }\n .fs-appbar__source {\n font-size: var(--fs-text-2xs-size);\n line-height: var(--fs-text-2xs-line);\n color: var(--fs-ink-muted);\n }\n .fs-appbar__actions {\n display: flex;\n align-items: center;\n gap: var(--fs-space-2);\n margin-left: auto;\n }\n @media print {\n .fs-appbar {\n display: none;\n }\n }\n}\n";
1
+ export default "/* App bar (spec 02 C): a dark island on purple-950, declared in tokens.css. Usage: appbar.md. */\n@layer fs.components {\n .fs-appbar {\n display: flex;\n align-items: center;\n gap: var(--fs-space-4);\n box-sizing: border-box;\n height: var(--fs-size-appbar);\n padding: 0 var(--fs-space-4);\n font-size: var(--fs-text-body-size);\n line-height: var(--fs-text-body-line);\n color: var(--fs-ink);\n background: var(--fs-bg-surface);\n }\n /* The product's identity: wordmark, logo, a \"by <company>\" credit (D7). The kit only gives the slot. */\n .fs-appbar__identity {\n display: flex;\n flex: none;\n align-items: center;\n gap: var(--fs-space-2);\n height: 24px;\n padding-right: var(--fs-space-4);\n border-right: var(--fs-line-width) solid var(--fs-line-strong);\n }\n .fs-appbar__title {\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n .fs-appbar__name,\n .fs-appbar__source {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .fs-appbar__name {\n font-weight: var(--fs-weight-semibold);\n }\n .fs-appbar__source {\n font-size: var(--fs-text-2xs-size);\n line-height: var(--fs-text-2xs-line);\n color: var(--fs-ink-muted);\n }\n .fs-appbar__actions {\n display: flex;\n align-items: center;\n gap: var(--fs-space-2);\n margin-left: auto;\n }\n @media print {\n .fs-appbar {\n display: none;\n }\n }\n}\n";