@skaile/forge-brand 0.2.0 → 0.3.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 +24 -0
- package/README.md +92 -11
- package/assets/identity.md +56 -137
- package/assets/logo/LICENSE-NOTE.md +3 -0
- package/assets/logo/favicon.svg +1 -0
- package/assets/logo/forge-icon.svg +1 -0
- package/assets/logo/forge-lockup-dark.svg +1 -0
- package/assets/logo/forge-lockup-light.svg +1 -0
- package/assets/logo/forge-mark.svg +1 -0
- package/package.json +26 -5
- package/src/css/app.css +18 -18
- package/src/css/brand.css +4 -10
- package/src/css/fonts.css +19 -0
- package/src/css/nuxt-ui.css +36 -22
- package/src/css/theme.css +223 -150
- package/src/tailwind-preset.ts +45 -41
- package/src/tokens.json +122 -66
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @skaile/forge-brand
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 172217e: Forge gets its own look: ink + ember on warm stone, Geist type and the forge logo.
|
|
8
|
+
|
|
9
|
+
- **Primary is ink**: solid primary buttons are near-black `#1c1a19` with a white label in light, `#f5f3f1` with an ink label in dark. Skaile purple leaves `theme.css`, `nuxt-ui.css` and `app.css`; it stays only on the marketing surface `brand.css`.
|
|
10
|
+
- **Ember is the accent**: new `--ember` / `--ember-foreground` (`#c33d01` light, `#f6835f` dark) drive Nuxt UI's `secondary` (secondary buttons and badges are visible now), the focus `--ring` / `--sidebar-ring` and the logo.
|
|
11
|
+
- **Warm stone neutrals** replace the cool greys in both platform palettes: surfaces, borders, muted text, sidebar, tabs and controls (same lightness steps, so the contrast floors hold).
|
|
12
|
+
- **Status**: `info` is blue (new `--color-info` / `--color-info-foreground`, `#005eff` / `#71a3ff`) instead of the amber AI accent; `--color-warning` moves to ochre (`#986600` / `#f0b135`) with a white / ink label. Success and error are unchanged.
|
|
13
|
+
- **Scales**: new `--ink-50…950` and `--ember-50…950` (tokens.json `scales`); `nuxt-ui.css` maps them onto `--ui-color-primary-*` / `--ui-color-secondary-*`, and `app.css`'s `primary-*` steps without a mode are the ink scale. Mode accents are unchanged.
|
|
14
|
+
- **Radius**: `--radius` is `0.5rem` (Nuxt UI renders 8 / 12 / 16 px), matching the 8px DEFAULT in tokens.json.
|
|
15
|
+
- **Type**: `--font-sans`, `--font-body`, `--font-heading` are Geist, `--font-mono` Geist Mono, and the new `--font-display` is Cal Sans for brand and docs headings only; `--font-serif` is a system serif stack (it was Plus Jakarta Sans). tokens.json `fonts` gains `display`; the Tailwind preset gains `ember`, `info` colours and the `display` font.
|
|
16
|
+
- **Logo**: the forge "Hearth" mark, light/dark lockups, app icon and favicon ship in `assets/logo/` (MIT) and are exported as `@skaile/forge-brand/assets/logo/*`. `assets/identity.md` is rewritten for forge.
|
|
17
|
+
|
|
18
|
+
### Breaking
|
|
19
|
+
|
|
20
|
+
- `nuxt-ui.css` no longer swaps `--ui-primary` to `--color-primary-bright` in `.dark`; the dark primary is `--primary` (`#f5f3f1`). `--color-primary-bright` now equals `--primary` in each theme.
|
|
21
|
+
- `--ui-secondary` reads `--ember` instead of `--secondary` (`--secondary` stays the shadcn surface), and `--ui-info` reads `--color-info` instead of `--color-ai-accent`.
|
|
22
|
+
|
|
23
|
+
### Upgrade
|
|
24
|
+
|
|
25
|
+
Add `@import "@skaile/forge-brand/fonts.css";` after the bridge: it self-hosts Geist (400-700), Geist Mono (400/500) and Cal Sans (400) from the `@fontsource` packages, now dependencies of this package (SIL OFL 1.1). Apps on the `@skaile/forge-app` layer get it from the layer. Without it the system sans, mono and sans fallbacks render. Swap a self-hosted favicon for `@skaile/forge-brand/assets/logo/favicon.svg`.
|
|
26
|
+
|
|
3
27
|
## 0.2.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @skaile/forge-brand
|
|
2
2
|
|
|
3
|
-
The
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
The forge brand: design tokens, CSS custom properties, the Nuxt UI bridge, the `--sk-*` mapping
|
|
4
|
+
the forge UI packages read, the app colours of skaile-forge, a Tailwind preset, the forge logo
|
|
5
|
+
(mark, lockups, app icon, favicon) and the brand identity notes.
|
|
6
6
|
|
|
7
7
|
It replaces two packages: `@skaile/forge-tokens` (the `--sk-*` mapping, now `sk.css`) and the
|
|
8
8
|
external `@skaile/brand` (palette, Nuxt UI bridge, preset, identity notes). Forge apps depend on
|
|
@@ -31,6 +31,71 @@ Migrating:
|
|
|
31
31
|
your own Nuxt UI palette, or `nuxt-ui.css` to take the brand.
|
|
32
32
|
- Any other `@skaile/brand/<path>` → `@skaile/forge-brand/<path>`; the entries are the same.
|
|
33
33
|
|
|
34
|
+
## Brand
|
|
35
|
+
|
|
36
|
+
Ink is the primary, ember the accent, warm stone the neutrals; details and do's and don'ts in
|
|
37
|
+
[`assets/identity.md`](./assets/identity.md).
|
|
38
|
+
|
|
39
|
+
| Token | Light | Dark | Nuxt UI |
|
|
40
|
+
|---|---|---|---|
|
|
41
|
+
| `--primary` / `--primary-foreground` (ink) | `#1c1a19` / `#ffffff` | `#f5f3f1` / `#0e0e0d` | `primary` |
|
|
42
|
+
| `--ember` / `--ember-foreground` | `#c33d01` / `#ffffff` | `#f6835f` / `#0e0e0d` | `secondary` |
|
|
43
|
+
| `--ring`, `--sidebar-ring` (focus) | `#c33d01` | `#f6835f` | |
|
|
44
|
+
| `--color-info` | `#005eff` | `#71a3ff` | `info` |
|
|
45
|
+
| `--color-warning` | `#986600` | `#f0b135` | `warning` |
|
|
46
|
+
| `--color-success`, `--destructive` | emerald, red (unchanged) | | `success`, `error` |
|
|
47
|
+
| `--background` / `--card` | `#f1f0ed` / `#ffffff` | `#252421` / `#1a1917` | `--ui-bg` / `--ui-bg-elevated` |
|
|
48
|
+
| `--foreground` / `--muted-foreground` | `#171614` / `#686662` | `#f5f5f3` / `#a3a19d` | `--ui-text` / `--ui-text-muted` |
|
|
49
|
+
| `--border`, `--input` | `#dddbd7` | `#33312e` | `--ui-border*` |
|
|
50
|
+
| `--ink-50…950` | ink scale (same in both themes) | | `--ui-color-primary-*` |
|
|
51
|
+
| `--ember-50…950` | ember scale, light | ember scale, dark | `--ui-color-secondary-*` |
|
|
52
|
+
| `--radius` | `0.5rem` (Nuxt UI: 8 / 12 / 16 px) | | `--ui-radius` |
|
|
53
|
+
|
|
54
|
+
Sidebar, tab and control tokens (`--sidebar*`, `--tab-*`, `--control-*`, `--content-border`,
|
|
55
|
+
`--surface-sunken`) follow the same warm stone ramp; every value is in `tokens.json`
|
|
56
|
+
(`palettes.platform-light`, `palettes.platform-dark`, `scales`).
|
|
57
|
+
|
|
58
|
+
| Font token | Family (fallback: system stack) | Use |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| `--font-sans`, `--font-body`, `--font-heading` | Geist | UI, body, in-product headings |
|
|
61
|
+
| `--font-mono` | Geist Mono | code |
|
|
62
|
+
| `--font-display` | Cal Sans | brand and docs display headings only |
|
|
63
|
+
| `--font-serif` | system serif | |
|
|
64
|
+
|
|
65
|
+
The fonts are self-hosted through `fonts.css` (dependencies `@fontsource/geist`, `@fontsource/geist-mono`,
|
|
66
|
+
`@fontsource/cal-sans`, all SIL OFL 1.1; the bundler copies the woff2 files into the app build, nothing
|
|
67
|
+
loads from a CDN). The `@skaile/forge-app` layer imports it; any other app adds one line:
|
|
68
|
+
|
|
69
|
+
```css
|
|
70
|
+
@import "@skaile/forge-brand/nuxt-ui.css";
|
|
71
|
+
@import "@skaile/forge-brand/fonts.css"; /* Geist 400-700, Geist Mono 400/500, Cal Sans 400 */
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
An app that loads the families another way (e.g. `@nuxt/fonts`) leaves `fonts.css` out.
|
|
75
|
+
|
|
76
|
+
The marketing surface `brand.css` is the Skaile company brand and keeps Skaile purple.
|
|
77
|
+
|
|
78
|
+
## Logo
|
|
79
|
+
|
|
80
|
+
Concept A "Hearth": a low kiln arch with the glowing work-piece inside, in ember; the wordmark is
|
|
81
|
+
Geist, outlined. MIT like the package (see
|
|
82
|
+
[`assets/logo/LICENSE-NOTE.md`](./assets/logo/LICENSE-NOTE.md)); no font data is embedded.
|
|
83
|
+
|
|
84
|
+
| File (`@skaile/forge-brand/assets/logo/…`) | Content |
|
|
85
|
+
|---|---|
|
|
86
|
+
| `forge-mark.svg` | the mark alone, square; arch in `currentColor`, work-piece ember |
|
|
87
|
+
| `forge-lockup-light.svg`, `forge-lockup-dark.svg` | mark + wordmark for light / dark grounds |
|
|
88
|
+
| `forge-icon.svg` | 512 px app-icon tile |
|
|
89
|
+
| `favicon.svg` | favicon, legible at 16 px, switches with `prefers-color-scheme` |
|
|
90
|
+
|
|
91
|
+
```html
|
|
92
|
+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Copy `favicon.svg` into the app's `public/`, or import it through the bundler
|
|
96
|
+
(`import favicon from '@skaile/forge-brand/assets/logo/favicon.svg?url'`). Use `forge-mark.svg`
|
|
97
|
+
inline to inherit the text colour, the lockups as `<img>` on their matching ground.
|
|
98
|
+
|
|
34
99
|
## Token layers
|
|
35
100
|
|
|
36
101
|
Three layers, each reading the one below it. Set a variable of a higher layer after the import
|
|
@@ -38,16 +103,16 @@ to deviate.
|
|
|
38
103
|
|
|
39
104
|
| Layer | File | Sets | Read by |
|
|
40
105
|
|---|---|---|---|
|
|
41
|
-
| 1. Brand palette | `theme.css` | shadcn-semantic variables, light + dark: `--background`, `--foreground`, `--primary`, `--card`, `--muted`, `--border`, `--color-success`, `--color-
|
|
106
|
+
| 1. Brand palette | `theme.css` | shadcn-semantic variables, light + dark: `--background`, `--foreground`, `--primary`, `--ember`, `--card`, `--muted`, `--border`, `--color-success`, `--color-info`, `--ink-*`, `--ember-*`, `--sidebar-*`, `--font-*`, `--radius`, … (`.light`/`.dark` on `<html>`, light on bare `:root`) | the bridge, React (shadcn) hosts, the Tailwind preset |
|
|
42
107
|
| 2. Nuxt UI bridge | `nuxt-ui.css` | Nuxt UI's `--ui-*` (palette, text, borders, radius) from layer 1; imports `theme.css` and `sk.css` | every Nuxt UI component |
|
|
43
108
|
| 3. `--sk-*` mapping | `sk.css` | `--sk-bg`, `--sk-fg`, `--sk-primary`, `--sk-danger`, … from layer 2 (`--ui-*`) | `@skaile/forge-chat`, `@skaile/forge-agent-inbox`, `@skaile/forge-editor` |
|
|
44
109
|
|
|
45
110
|
Optional on top of layer 2: `app.css`, the app colours of skaile-forge as Tailwind 4 `@theme`
|
|
46
111
|
utilities: `bg-background`, `bg-surface-{ground,card,border,hover}`,
|
|
47
|
-
`text-foreground{,-muted,-subtle}`, `shadow-floating`, the `primary-50…950` scale
|
|
48
|
-
|
|
49
|
-
primary at rose, sky or emerald; `--mode-accent`, `--mode-color-<mode>`).
|
|
50
|
-
`nuxt-ui.css`.
|
|
112
|
+
`text-foreground{,-muted,-subtle}`, `shadow-floating`, the `primary-50…950` scale (the ink
|
|
113
|
+
scale; with a mode, the mode's ramp), and mode accents (`data-mode="assistant|work|concept"` on
|
|
114
|
+
`<html>` repoints the primary at rose, sky or emerald; `--mode-accent`, `--mode-color-<mode>`).
|
|
115
|
+
Import it after `nuxt-ui.css`.
|
|
51
116
|
|
|
52
117
|
## Entries
|
|
53
118
|
|
|
@@ -61,7 +126,8 @@ primary at rose, sky or emerald; `--mode-accent`, `--mode-color-<mode>`). Import
|
|
|
61
126
|
| `@skaile/forge-brand/tailwind-preset` | `skaileTailwindPreset`, Tailwind preset bound to the `theme.css` variables (v3 config; v4 reads the CSS variables directly) |
|
|
62
127
|
| `@skaile/forge-brand/tokens` | canonical `tokens.json` |
|
|
63
128
|
| `@skaile/forge-brand` | `{ tokens, skaileTailwindPreset }` |
|
|
64
|
-
| `@skaile/forge-brand/assets/identity.md` | brand identity notes (colours, type, do's and don'ts) |
|
|
129
|
+
| `@skaile/forge-brand/assets/identity.md` | brand identity notes (colours, type, logo, do's and don'ts) |
|
|
130
|
+
| `@skaile/forge-brand/assets/logo/*` | the forge logo: mark, lockups, app icon, favicon (SVG) |
|
|
65
131
|
|
|
66
132
|
The `.` and `./tailwind-preset` entries ship TypeScript source; consume them through a bundler or
|
|
67
133
|
Bun.
|
|
@@ -85,9 +151,11 @@ per-app overrides. Dark mode follows the `.dark` class Nuxt UI's color mode puts
|
|
|
85
151
|
|
|
86
152
|
| Selector | Effect |
|
|
87
153
|
|---|---|
|
|
88
|
-
| `:root, .light, .dark` | `--ui-primary/secondary/success/warning/error/info`, `--ui-bg-*`, `--ui-text-*`, `--ui-border-*`, `--ui-radius
|
|
154
|
+
| `:root, .light, .dark` | `--ui-primary/secondary/success/warning/error/info`, `--ui-bg-*`, `--ui-text-*`, `--ui-border-*`, `--ui-radius`, `--ui-color-primary-*` (ink), `--ui-color-secondary-*` (ember) from the brand variables |
|
|
89
155
|
| `.dark .bg-inverted` | label on solid-neutral surfaces takes the dark page colour |
|
|
90
|
-
|
|
156
|
+
|
|
157
|
+
Focus: shadcn hosts get the ember `--ring`; Nuxt UI draws each component's focus ring in its own
|
|
158
|
+
colour (`primary` → ink), so use `color="secondary"` where an ember outline is wanted.
|
|
91
159
|
|
|
92
160
|
An app with its own dark selector (anything other than `.dark`) has to repeat the `--ui-*`
|
|
93
161
|
mapping under that selector, because a custom property referencing another is resolved where it
|
|
@@ -108,3 +176,16 @@ after it still wins.
|
|
|
108
176
|
| `--sk-success`, `--sk-warning`, `--sk-danger`, `--sk-info` | `--ui-success`, `--ui-warning`, `--ui-error`, `--ui-info` |
|
|
109
177
|
| `--sk-radius` | `--ui-radius` |
|
|
110
178
|
| `--sk-font` | `--font-sans` |
|
|
179
|
+
|
|
180
|
+
## Brand demo
|
|
181
|
+
|
|
182
|
+
`demo/` is a page that shows every token this package exports (colours light and dark, typography,
|
|
183
|
+
spacing, radii, shadows, the marketing surface, `app.css`, `tokens.json`, the preset, the logo)
|
|
184
|
+
next to the values of `@skaile/brand` 0.7, and a Nuxt UI component gallery rendered once per
|
|
185
|
+
brand. The old package is a devDependency of the demo only; nothing of it is copied into this
|
|
186
|
+
package.
|
|
187
|
+
|
|
188
|
+
```bash
|
|
189
|
+
bun run --filter @skaile/forge-brand demo # http://localhost:3047
|
|
190
|
+
bun run --filter @skaile/forge-brand demo:build # static build in dist/demo
|
|
191
|
+
```
|
package/assets/identity.md
CHANGED
|
@@ -1,164 +1,83 @@
|
|
|
1
1
|
---
|
|
2
2
|
status: approved
|
|
3
|
-
mood: '
|
|
3
|
+
mood: 'workshop calm: ink on warm stone, one ember glow'
|
|
4
4
|
mode: both
|
|
5
|
-
default_mode:
|
|
6
|
-
last_updated: 2026-
|
|
5
|
+
default_mode: light
|
|
6
|
+
last_updated: 2026-11-14
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
#
|
|
9
|
+
# Forge Brand Identity
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Direction
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Forge is a workshop: quiet, neutral surfaces where the work stands in front. Ink carries every
|
|
14
|
+
primary action, warm stone carries every surface, and one ember accent marks the brand, links,
|
|
15
|
+
focus and secondary actions. The mode accents (assistant rose, work sky, concept emerald) are the
|
|
16
|
+
only other hues in the product shell.
|
|
14
17
|
|
|
15
|
-
The
|
|
18
|
+
The Skaile company brand (purple `#7300FF`, dark slate, radial purple ambient) stays on the
|
|
19
|
+
marketing website: `brand.css` keeps it unchanged. It does not appear in forge apps.
|
|
16
20
|
|
|
17
|
-
|
|
21
|
+
## Colour
|
|
18
22
|
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
| Role | Light | Dark | Use |
|
|
24
|
+
|---|---|---|---|
|
|
25
|
+
| Ink (primary) | `#1C1A19`, white label | `#F5F3F1`, ink label `#0E0E0D` | solid primary buttons, active states, headings |
|
|
26
|
+
| Ember (accent) | `#C33D01` (ember 600) | `#F6835F` (ember 400) | secondary actions, links, focus ring, logo work-piece |
|
|
27
|
+
| Page | `#F1F0ED` | `#252421` | `--background` |
|
|
28
|
+
| Panel | `#FFFFFF` | `#1A1917` | cards; light lifts panels, dark sets them in |
|
|
29
|
+
| Text / muted | `#171614` / `#686662` | `#F5F5F3` / `#A3A19D` | body text, labels |
|
|
30
|
+
| Border | `#DDDBD7` | `#33312E` | dividers, inputs |
|
|
31
|
+
| Info | `#005EFF` | `#71A3FF` | informational states (blue, never amber) |
|
|
32
|
+
| Warning | `#986600` | `#F0B135` | caution (ochre, kept clear of ember) |
|
|
33
|
+
| Success / error | unchanged emerald / red | | status only |
|
|
21
34
|
|
|
22
|
-
|
|
35
|
+
Rules:
|
|
23
36
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
| Token | Light Mode | Dark Mode | Usage |
|
|
33
|
-
| ---------------- | ---------- | --------- | ------------------------------------------------------ |
|
|
34
|
-
| Primary | `#7300FF` | `#9B40FF` | Headings, links, primary CTAs, hero highlights, active states |
|
|
35
|
-
| Primary bright | `#9B40FF` | `#BC52EE` | Hover states, accent borders, highlight markers |
|
|
36
|
-
| Background | `#FAFAF9` | `#13151A` | Page background |
|
|
37
|
-
| Surface | `#FFFFFF` | `#1A1C22` | Cards, panels |
|
|
38
|
-
| Surface raised | `#FFFFFF` | `#23262D` | Elevated content, popovers, command palette |
|
|
39
|
-
| Ambient purple | - | `#1B1A3F` | Radial fade center behind hero sections |
|
|
40
|
-
| Text | `#1C1917` | `#F4F4F5` | Primary text |
|
|
41
|
-
| Text muted | `#78716C` | `#A1A1AA` | Labels, secondary text |
|
|
42
|
-
| Text dim | `#A8A29E` | `#71717A` | Timestamps, captions |
|
|
43
|
-
| Border | `#E7E5E4` | `#2E303A` | Dividers, input borders |
|
|
44
|
-
| Border strong | `#D6D3D1` | `#3D404A` | Card borders, separators with weight |
|
|
45
|
-
| Error | `#DC2626` | `#EF4444` | Destructive actions |
|
|
46
|
-
| Success | `#059669` | `#10B981` | Completed states |
|
|
47
|
-
| Warning | `#D97706` | `#F59E0B` | Caution states |
|
|
48
|
-
|
|
49
|
-
### Ambient Background
|
|
50
|
-
|
|
51
|
-
```
|
|
52
|
-
radial-gradient(71.92% 191.69% at 50% 50%, #1B1A3F 0%, #000 100%)
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
This is the only gradient in the brand. It's an **atmospheric backdrop**, not a brand mark. Painted behind hero sections at low intensity to give the dark canvas a soft purple undertone. It must read as ambient atmosphere — never as a logo, mark, or CTA fill.
|
|
56
|
-
|
|
57
|
-
### Color Usage Rules
|
|
58
|
-
|
|
59
|
-
- **Violet (~10%)** is the only brand color. It carries headings, links, CTAs, focus rings, active nav, brand marks. If only one color is visible in a UI region, it should be violet.
|
|
60
|
-
- **Dark slate neutrals (~85%)** carry surfaces, body text, borders. Cool, neutral undertone — not warm stone, not pure black.
|
|
61
|
-
- **Ambient purple (~5%)** sits behind hero sections only. Never use it as a foreground fill.
|
|
62
|
-
- **Reserve hot saturation.** Status colors (error/success/warning) are functional, not brand. They should not appear at brand scale in marketing surfaces.
|
|
63
|
-
|
|
64
|
-
### Decorative Palette (Not Brand)
|
|
65
|
-
|
|
66
|
-
Marketing components sometimes use decorative blob illustrations inside cards (e.g., the Deliverable section uses `#FF5D01 -> #D8377E` and `#4F39FA -> #BC52EE` blobs). These are **illustration-only**. They are not part of the brand and must not appear on:
|
|
67
|
-
|
|
68
|
-
- CTAs, buttons, links, or any interactive element
|
|
69
|
-
- Headings or body text
|
|
70
|
-
- Logos, brand marks, or document chrome
|
|
71
|
-
- Slide titles, deck accents, or PDF headers
|
|
72
|
-
|
|
73
|
-
If a deck or doc needs visual variety beyond violet, prefer typographic weight, whitespace, or surface elevation — not new colors.
|
|
37
|
+
- **Ink is the primary, ember the accent.** One ember element per region at most; never a second
|
|
38
|
+
accent hue next to it.
|
|
39
|
+
- **Warm stone neutrals** (chroma 0.004–0.006 at hue 85) for every surface, never cool grey or
|
|
40
|
+
pure black.
|
|
41
|
+
- **Mode accents** replace the primary while a mode is active (`data-mode` on `<html>`); they are
|
|
42
|
+
not brand colours and never colour the logo.
|
|
43
|
+
- Status colours are functional, not brand.
|
|
74
44
|
|
|
75
45
|
## Typography
|
|
76
46
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
Regular (400) and medium (500). The gold standard for UI legibility. Used for body text, form labels, table cells, navigation, descriptions.
|
|
84
|
-
|
|
85
|
-
### Mono: JetBrains Mono
|
|
86
|
-
|
|
87
|
-
Regular (400). For code, schemas, terminal output, technical logs.
|
|
88
|
-
|
|
89
|
-
### Typographic Treatment
|
|
90
|
-
|
|
91
|
-
- Tight tracking on display sizes (`-0.04em` to `-0.02em`).
|
|
92
|
-
- Wide tracking (`0.2em`) on small uppercase eyebrows and section labels.
|
|
93
|
-
- Two font weights per screen max.
|
|
94
|
-
- Hero highlights: solid violet fill (`var(--color-brand)` = `#7300FF`), no gradient.
|
|
95
|
-
|
|
96
|
-
## Spatial System
|
|
97
|
-
|
|
98
|
-
- **Base unit:** 8px grid
|
|
99
|
-
- **Spacing scale:** 4, 8, 12, 16, 24, 32, 48, 64, 96, 128
|
|
100
|
-
- **Page max width:** 1600px with `clamp(16px, 4vw, 48px)` gutters
|
|
101
|
-
- **Density:** Generous whitespace — content breathes. More editorial than dashboard-dense.
|
|
102
|
-
|
|
103
|
-
## Border Radius
|
|
104
|
-
|
|
105
|
-
- **Default:** `6px`
|
|
106
|
-
- **Small (badges, tags):** `4px`
|
|
107
|
-
- **Large (cards, modals):** `8px`
|
|
108
|
-
- **Extra large (hero cards, feature blocks):** `12px` to `20px`
|
|
109
|
-
- **Full (avatars, pill buttons):** `9999px`
|
|
110
|
-
|
|
111
|
-
## Elevation & Shadows
|
|
112
|
-
|
|
113
|
-
Shadows on dark surfaces use deep, cool casts. The `glow` is reserved for hero moments and tints violet, not white.
|
|
114
|
-
|
|
115
|
-
- **sm:** `0 1px 2px rgba(0, 0, 0, 0.4)` — subtle lift
|
|
116
|
-
- **md:** `0 4px 12px rgba(0, 0, 0, 0.45)` — modals, dropdowns
|
|
117
|
-
- **lg:** `0 12px 32px rgba(0, 0, 0, 0.55)` — elevated overlays
|
|
118
|
-
- **glow:** `0 0 60px rgba(155, 64, 255, 0.25)` — hero CTA halo, featured cards
|
|
119
|
-
|
|
120
|
-
## Atmosphere
|
|
121
|
-
|
|
122
|
-
Dark, violet-mono, depth through layering. The atmosphere comes from:
|
|
47
|
+
- **Geist** (400/500/600): UI and body, including in-product headings (`--font-sans`,
|
|
48
|
+
`--font-body`, `--font-heading`).
|
|
49
|
+
- **Geist Mono** (400): code, schemas, logs (`--font-mono`).
|
|
50
|
+
- **Cal Sans**: brand and docs display headings only (`--font-display`), never UI labels or
|
|
51
|
+
buttons.
|
|
123
52
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
- Solid violet as the single recurring brand mark.
|
|
127
|
-
- Generous whitespace — content never crowds.
|
|
53
|
+
All three are SIL OFL 1.1. The package ships no font files; apps load the families by name
|
|
54
|
+
(`@nuxt/fonts`).
|
|
128
55
|
|
|
129
|
-
##
|
|
56
|
+
## Shape
|
|
130
57
|
|
|
131
|
-
|
|
58
|
+
One radius, `--radius: 0.5rem`. Nuxt UI derives 8 / 12 / 16 px from it (badge / control / card).
|
|
132
59
|
|
|
133
|
-
|
|
60
|
+
## Logo: A "Hearth"
|
|
134
61
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
- **Ambient purple = the atmosphere** (hero backdrop only)
|
|
62
|
+
A low kiln arch drawn in one even stroke, with the glowing work-piece inside it in ember. The
|
|
63
|
+
wordmark "forge" is set in Geist (outlined), lowercase, in ink.
|
|
138
64
|
|
|
139
|
-
|
|
65
|
+
Files in `assets/logo/`: `forge-mark.svg` (arch in `currentColor`, work-piece ember),
|
|
66
|
+
`forge-lockup-light.svg` / `forge-lockup-dark.svg` (mark + wordmark for light / dark grounds),
|
|
67
|
+
`forge-icon.svg` (512 app-icon tile), `favicon.svg` (switches with `prefers-color-scheme`).
|
|
140
68
|
|
|
141
|
-
|
|
142
|
-
- **Clear, not dumbed-down.** Respect the business buyer's intelligence without requiring technical literacy.
|
|
143
|
-
- **Direct, not verbose.** Business users value their time. One sentence beats three.
|
|
144
|
-
- **Warm, not casual.** Professional warmth — no Slack-style emoji culture.
|
|
69
|
+
Do:
|
|
145
70
|
|
|
146
|
-
|
|
71
|
+
- Keep the work-piece ember and the arch ink (`#1C1A19` light, `#F5F3F1` dark).
|
|
72
|
+
- Give the mark clear space of at least the work-piece's width on every side.
|
|
73
|
+
- Use the mark alone from 16 px up; the lockup from 24 px height up.
|
|
147
74
|
|
|
148
|
-
|
|
75
|
+
Don't:
|
|
149
76
|
|
|
150
|
-
-
|
|
151
|
-
-
|
|
152
|
-
-
|
|
153
|
-
- Use cool dark slate neutrals (`#13151A` -> `#23262D`) for surfaces.
|
|
154
|
-
- Stack elevation with brightness, not heavy shadows.
|
|
155
|
-
- Let whitespace and typography carry hierarchy.
|
|
77
|
+
- Recolour the work-piece (no mode accents, no Skaile purple), add gradients, glows or shadows.
|
|
78
|
+
- Fill the opening of the arch, change its stroke weight, or rotate, stretch or outline the mark.
|
|
79
|
+
- Reset the wordmark in another typeface or in Cal Sans.
|
|
156
80
|
|
|
157
|
-
|
|
81
|
+
## Tone of voice
|
|
158
82
|
|
|
159
|
-
|
|
160
|
-
- Use orange, pink, or magenta as standalone brand colors — they are decorative-only illustration palette, not brand.
|
|
161
|
-
- Use teal, amber, or stone-gray accents — they belong to the previous brand.
|
|
162
|
-
- Apply the radial ambient fade outside hero backdrops — it is not a CTA fill.
|
|
163
|
-
- Use more than two font weights on a single screen.
|
|
164
|
-
- Introduce new colors to create variety in decks — use whitespace, weight, and elevation instead.
|
|
83
|
+
Confident, clear, direct, warm: one sentence beats three, no hype.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# Logo licence note
|
|
2
|
+
|
|
3
|
+
The forge logo (the "Hearth" mark, the lockups, the app icon and the favicon in this folder) is original work made for forge and is licensed under MIT like the rest of `@skaile/forge-brand`. The "forge" wordmark is set in Geist SemiBold (letter-spacing −0.03 em) by Vercel and outlined to paths; Geist is licensed under the SIL Open Font License 1.1, which permits outlining glyphs into artwork, and these files embed no font data, so no font file ships with the package.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><style>.forge-ink{fill:#1c1a19}.forge-ember{fill:#c33d01}@media (prefers-color-scheme:dark){.forge-ink{fill:#f5f3f1}.forge-ember{fill:#f6835f}}</style><path class="forge-ink" d="M4 56V32A28 24 0 0 1 60 32V56H52V32A20 16 0 0 0 12 32V56Z"/><rect class="forge-ember" x="20" y="36" width="24" height="20" rx="3"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512" role="img" aria-label="forge"><title>forge</title><rect width="512" height="512" rx="112" fill="#c33d01"/><g fill="#fff" transform="translate(256 256) scale(5.3571) translate(-32 -32)"><path d="M4 56V32A28 24 0 0 1 60 32V56H52V32A20 16 0 0 0 12 32V56Z"/><rect x="20" y="36" width="24" height="20" rx="3"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1.83 -77.09 351.15 95.12" role="img" aria-label="forge"><title>forge</title><g transform="translate(-6.27 -87.8) scale(1.56792)"><path fill="#f5f3f1" d="M4 56V32A28 24 0 0 1 60 32V56H52V32A20 16 0 0 0 12 32V56Z"/><rect fill="#f6835f" x="20" y="36" width="24" height="20" rx="3"/></g><path fill="#f5f3f1" d="M133.79 0L120.99 0L120.99-43.50L113.39-43.50L113.39-53.40L120.99-53.40L120.99-55.50Q120.99-62.70 124.99-66.85Q128.99-71 137.39-71L147.79-71L147.79-61.10L139.79-61.10Q133.79-61.10 133.79-54.80L133.79-53.40L147.09-53.40L147.09-43.50L133.79-43.50L133.79 0M174.39 1.20Q166.49 1.20 160.54-2.25Q154.59-5.70 151.34-11.95Q148.09-18.20 148.09-26.70Q148.09-35.20 151.34-41.45Q154.59-47.70 160.54-51.15Q166.49-54.60 174.39-54.60Q182.29-54.60 188.19-51.15Q194.09-47.70 197.34-41.45Q200.59-35.20 200.59-26.70Q200.59-18.20 197.34-11.95Q194.09-5.70 188.19-2.25Q182.29 1.20 174.39 1.20M174.39-9.20Q180.49-9.20 183.89-13.80Q187.29-18.40 187.29-26.70Q187.29-35 183.89-39.60Q180.49-44.20 174.39-44.20Q168.19-44.20 164.79-39.60Q161.39-35 161.39-26.70Q161.39-18.40 164.79-13.80Q168.19-9.20 174.39-9.20M220.29 0L207.49 0L207.49-53.40L219.49-53.40L219.79-43Q221.39-48.40 224.49-50.90Q227.59-53.40 232.59-53.40L237.49-53.40L237.49-42.40L232.49-42.40Q226.39-42.40 223.34-39.65Q220.29-36.90 220.29-30.80L220.29 0M264.19 16.20Q253.69 16.20 247.69 12Q241.69 7.80 239.89 1L253.09 0.10Q254.09 3.20 256.54 4.85Q258.99 6.50 264.19 6.50Q270.09 6.50 273.29 3.85Q276.49 1.20 276.49-4.40L276.49-11.20Q274.59-7.30 270.39-4.95Q266.19-2.60 260.99-2.60Q254.39-2.60 249.24-5.85Q244.09-9.10 241.19-14.95Q238.29-20.80 238.29-28.50Q238.29-36.20 241.19-42.05Q244.09-47.90 249.14-51.25Q254.19-54.60 260.79-54.60Q266.49-54.60 270.69-52Q274.89-49.40 276.89-45.10L276.89-53.40L289.39-53.40L289.39-4.70Q289.39 5.60 282.49 10.90Q275.59 16.20 264.19 16.20M263.99-12.60Q269.69-12.60 273.14-16.85Q276.59-21.10 276.59-28.60Q276.69-36 273.24-40.30Q269.79-44.60 263.99-44.60Q258.09-44.60 254.84-40.25Q251.59-35.90 251.59-28.60Q251.59-21.30 254.94-16.95Q258.29-12.60 263.99-12.60M322.49 1.20Q314.49 1.20 308.59-2.25Q302.69-5.70 299.49-12Q296.29-18.30 296.29-26.70Q296.29-35.10 299.49-41.40Q302.69-47.70 308.54-51.15Q314.39-54.60 322.19-54.60Q329.79-54.60 335.49-51.20Q341.19-47.80 344.34-41.40Q347.49-35 347.49-26L347.49-23.10L309.59-23.10Q309.89-16.10 313.39-12.55Q316.89-9 322.59-9Q331.29-9 333.69-16.40L346.79-15.60Q344.59-7.80 338.14-3.30Q331.69 1.20 322.49 1.20M309.59-31.70L334.29-31.70Q333.79-38.20 330.54-41.35Q327.29-44.50 322.19-44.50Q316.99-44.50 313.69-41.20Q310.39-37.90 309.59-31.70"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1.83 -77.09 351.15 95.12" role="img" aria-label="forge"><title>forge</title><g transform="translate(-6.27 -87.8) scale(1.56792)"><path fill="#1c1a19" d="M4 56V32A28 24 0 0 1 60 32V56H52V32A20 16 0 0 0 12 32V56Z"/><rect fill="#c33d01" x="20" y="36" width="24" height="20" rx="3"/></g><path fill="#1c1a19" d="M133.79 0L120.99 0L120.99-43.50L113.39-43.50L113.39-53.40L120.99-53.40L120.99-55.50Q120.99-62.70 124.99-66.85Q128.99-71 137.39-71L147.79-71L147.79-61.10L139.79-61.10Q133.79-61.10 133.79-54.80L133.79-53.40L147.09-53.40L147.09-43.50L133.79-43.50L133.79 0M174.39 1.20Q166.49 1.20 160.54-2.25Q154.59-5.70 151.34-11.95Q148.09-18.20 148.09-26.70Q148.09-35.20 151.34-41.45Q154.59-47.70 160.54-51.15Q166.49-54.60 174.39-54.60Q182.29-54.60 188.19-51.15Q194.09-47.70 197.34-41.45Q200.59-35.20 200.59-26.70Q200.59-18.20 197.34-11.95Q194.09-5.70 188.19-2.25Q182.29 1.20 174.39 1.20M174.39-9.20Q180.49-9.20 183.89-13.80Q187.29-18.40 187.29-26.70Q187.29-35 183.89-39.60Q180.49-44.20 174.39-44.20Q168.19-44.20 164.79-39.60Q161.39-35 161.39-26.70Q161.39-18.40 164.79-13.80Q168.19-9.20 174.39-9.20M220.29 0L207.49 0L207.49-53.40L219.49-53.40L219.79-43Q221.39-48.40 224.49-50.90Q227.59-53.40 232.59-53.40L237.49-53.40L237.49-42.40L232.49-42.40Q226.39-42.40 223.34-39.65Q220.29-36.90 220.29-30.80L220.29 0M264.19 16.20Q253.69 16.20 247.69 12Q241.69 7.80 239.89 1L253.09 0.10Q254.09 3.20 256.54 4.85Q258.99 6.50 264.19 6.50Q270.09 6.50 273.29 3.85Q276.49 1.20 276.49-4.40L276.49-11.20Q274.59-7.30 270.39-4.95Q266.19-2.60 260.99-2.60Q254.39-2.60 249.24-5.85Q244.09-9.10 241.19-14.95Q238.29-20.80 238.29-28.50Q238.29-36.20 241.19-42.05Q244.09-47.90 249.14-51.25Q254.19-54.60 260.79-54.60Q266.49-54.60 270.69-52Q274.89-49.40 276.89-45.10L276.89-53.40L289.39-53.40L289.39-4.70Q289.39 5.60 282.49 10.90Q275.59 16.20 264.19 16.20M263.99-12.60Q269.69-12.60 273.14-16.85Q276.59-21.10 276.59-28.60Q276.69-36 273.24-40.30Q269.79-44.60 263.99-44.60Q258.09-44.60 254.84-40.25Q251.59-35.90 251.59-28.60Q251.59-21.30 254.94-16.95Q258.29-12.60 263.99-12.60M322.49 1.20Q314.49 1.20 308.59-2.25Q302.69-5.70 299.49-12Q296.29-18.30 296.29-26.70Q296.29-35.10 299.49-41.40Q302.69-47.70 308.54-51.15Q314.39-54.60 322.19-54.60Q329.79-54.60 335.49-51.20Q341.19-47.80 344.34-41.40Q347.49-35 347.49-26L347.49-23.10L309.59-23.10Q309.89-16.10 313.39-12.55Q316.89-9 322.59-9Q331.29-9 333.69-16.40L346.79-15.60Q344.59-7.80 338.14-3.30Q331.69 1.20 322.49 1.20M309.59-31.70L334.29-31.70Q333.79-38.20 330.54-41.35Q327.29-44.50 322.19-44.50Q316.99-44.50 313.69-41.20Q310.39-37.90 309.59-31.70"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="forge"><title>forge</title><path fill="currentColor" d="M4 56V32A28 24 0 0 1 60 32V56H52V32A20 16 0 0 0 12 32V56Z"/><rect fill="#c33d01" x="20" y="36" width="24" height="20" rx="3"/></svg>
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skaile/forge-brand",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Brand for forge apps: design tokens (ink, ember, warm stone), brand palette CSS, the Nuxt UI bridge with the --sk-* mapping of forge packages, skaile-forge's app colours, a Tailwind preset, the forge logo and the brand identity notes",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -29,8 +29,10 @@
|
|
|
29
29
|
"./nuxt-ui.css": "./src/css/nuxt-ui.css",
|
|
30
30
|
"./app.css": "./src/css/app.css",
|
|
31
31
|
"./sk.css": "./src/css/sk.css",
|
|
32
|
+
"./fonts.css": "./src/css/fonts.css",
|
|
32
33
|
"./tailwind-preset": "./src/tailwind-preset.ts",
|
|
33
34
|
"./assets/identity.md": "./assets/identity.md",
|
|
35
|
+
"./assets/logo/*": "./assets/logo/*",
|
|
34
36
|
"./package.json": "./package.json"
|
|
35
37
|
},
|
|
36
38
|
"files": [
|
|
@@ -48,11 +50,30 @@
|
|
|
48
50
|
"access": "public"
|
|
49
51
|
},
|
|
50
52
|
"scripts": {
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
+
"demo": "vite --config demo/vite.config.ts",
|
|
54
|
+
"demo:build": "vite build --config demo/vite.config.ts",
|
|
55
|
+
"test": "bun --bun vitest run",
|
|
56
|
+
"typecheck": "tsc --noEmit && vue-tsc --noEmit -p demo/tsconfig.json",
|
|
57
|
+
"check": "bun ../../scripts/check-package.ts"
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@fontsource/cal-sans": "^5.3.0",
|
|
61
|
+
"@fontsource/geist": "^5.3.0",
|
|
62
|
+
"@fontsource/geist-mono": "^5.3.0"
|
|
53
63
|
},
|
|
54
64
|
"devDependencies": {
|
|
65
|
+
"@fontsource/inter": "^5.3.0",
|
|
66
|
+
"@fontsource/jetbrains-mono": "^5.3.0",
|
|
67
|
+
"@fontsource/plus-jakarta-sans": "^5.3.0",
|
|
68
|
+
"@iconify-json/lucide": "^1.2.134",
|
|
69
|
+
"@nuxt/ui": "^4.11.1",
|
|
70
|
+
"@skaile/brand": "0.7.0",
|
|
55
71
|
"@types/bun": "^1.3.0",
|
|
56
|
-
"
|
|
72
|
+
"@vitejs/plugin-vue": "^6.0.9",
|
|
73
|
+
"tailwindcss": "^4.3.3",
|
|
74
|
+
"typescript": "^5.9.3",
|
|
75
|
+
"vite": "^8.3.1",
|
|
76
|
+
"vue": "^3.5.42",
|
|
77
|
+
"vue-tsc": "^3.3.14"
|
|
57
78
|
}
|
|
58
79
|
}
|
package/src/css/app.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* Sets:
|
|
12
12
|
* - surfaces and text: `bg-background`, `bg-surface-{ground,card,border,hover}`,
|
|
13
13
|
* `text-foreground{,-muted,-subtle}`, `shadow-floating`;
|
|
14
|
-
* - the `primary-*` scale (50–950)
|
|
14
|
+
* - the `primary-*` scale (50–950): the ink scale, or the mode's ramp;
|
|
15
15
|
* - mode accents: `data-mode="assistant|work|concept"` on <html> repoints the primary at
|
|
16
16
|
* rose, sky or emerald.
|
|
17
17
|
*
|
|
@@ -24,7 +24,9 @@
|
|
|
24
24
|
|
|
25
25
|
/*
|
|
26
26
|
* The primary steps take the mode's ramp (`--app-primary-<step>`, below) when a mode is set; without
|
|
27
|
-
* one (login, error pages) they are
|
|
27
|
+
* one (login, error pages) they are the ink scale (`--ui-color-primary-<step>` from nuxt-ui.css), the
|
|
28
|
+
* same in both themes: the primary itself is ink 900 in light and ink 100 in dark. Ember, the
|
|
29
|
+
* accent, is Nuxt UI's `secondary` and has its own `secondary-*` steps.
|
|
28
30
|
*/
|
|
29
31
|
@theme {
|
|
30
32
|
--color-background: var(--background);
|
|
@@ -35,25 +37,25 @@
|
|
|
35
37
|
--color-foreground: var(--foreground);
|
|
36
38
|
--color-foreground-muted: var(--muted-foreground);
|
|
37
39
|
--color-foreground-subtle: color-mix(in oklab, var(--muted-foreground), var(--background) 35%);
|
|
38
|
-
--color-primary-50: var(--app-primary-50,
|
|
39
|
-
--color-primary-100: var(--app-primary-100,
|
|
40
|
-
--color-primary-200: var(--app-primary-200,
|
|
41
|
-
--color-primary-300: var(--app-primary-300,
|
|
42
|
-
--color-primary-400: var(--app-primary-400,
|
|
43
|
-
--color-primary-500: var(--app-primary-500, var(--ui-primary));
|
|
44
|
-
--color-primary-600: var(--app-primary-600,
|
|
45
|
-
--color-primary-700: var(--app-primary-700,
|
|
46
|
-
--color-primary-800: var(--app-primary-800,
|
|
47
|
-
--color-primary-900: var(--app-primary-900,
|
|
48
|
-
--color-primary-950: var(--app-primary-950,
|
|
49
|
-
--shadow-floating: 0 25px 50px -12px rgba(
|
|
40
|
+
--color-primary-50: var(--app-primary-50, var(--ui-color-primary-50));
|
|
41
|
+
--color-primary-100: var(--app-primary-100, var(--ui-color-primary-100));
|
|
42
|
+
--color-primary-200: var(--app-primary-200, var(--ui-color-primary-200));
|
|
43
|
+
--color-primary-300: var(--app-primary-300, var(--ui-color-primary-300));
|
|
44
|
+
--color-primary-400: var(--app-primary-400, var(--ui-color-primary-400));
|
|
45
|
+
--color-primary-500: var(--app-primary-500, var(--ui-color-primary-500));
|
|
46
|
+
--color-primary-600: var(--app-primary-600, var(--ui-color-primary-600));
|
|
47
|
+
--color-primary-700: var(--app-primary-700, var(--ui-color-primary-700));
|
|
48
|
+
--color-primary-800: var(--app-primary-800, var(--ui-color-primary-800));
|
|
49
|
+
--color-primary-900: var(--app-primary-900, var(--ui-color-primary-900));
|
|
50
|
+
--color-primary-950: var(--app-primary-950, var(--ui-color-primary-950));
|
|
51
|
+
--shadow-floating: 0 25px 50px -12px rgba(23, 22, 20, 0.18);
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
/*
|
|
53
55
|
* The `@theme` tokens resolve their `var()` once, on :root; redeclaring them on the dark element
|
|
54
56
|
* re-resolves them there, which matters when the class sits below :root. `:is()` keeps (0,1,0)
|
|
55
|
-
* specificity so these override the light tokens emitted to :root.
|
|
56
|
-
* the
|
|
57
|
+
* specificity so these override the light tokens emitted to :root. The primary steps need no dark
|
|
58
|
+
* override: the ink scale is the same in both themes.
|
|
57
59
|
*/
|
|
58
60
|
:is(.dark, .forge-project-dark) {
|
|
59
61
|
--color-background: var(--background);
|
|
@@ -64,8 +66,6 @@
|
|
|
64
66
|
--color-foreground: var(--foreground);
|
|
65
67
|
--color-foreground-muted: var(--muted-foreground);
|
|
66
68
|
--color-foreground-subtle: color-mix(in oklab, var(--muted-foreground), var(--background) 35%);
|
|
67
|
-
--color-primary-400: var(--app-primary-400, var(--color-primary-bright));
|
|
68
|
-
--color-primary-500: var(--app-primary-500, var(--primary));
|
|
69
69
|
--shadow-floating: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
|
|
70
70
|
}
|
|
71
71
|
|
package/src/css/brand.css
CHANGED
|
@@ -61,19 +61,13 @@
|
|
|
61
61
|
|
|
62
62
|
/* ── gradients ──────────────────────────────────────────────────────── */
|
|
63
63
|
/* ambient page backdrop only — not a brand mark */
|
|
64
|
-
--gradient-fade-bg: radial-gradient(
|
|
65
|
-
71.92% 191.69% at 50% 50%,
|
|
66
|
-
var(--color-brand-purple) 0%,
|
|
67
|
-
#000 100%
|
|
68
|
-
);
|
|
64
|
+
--gradient-fade-bg: radial-gradient(71.92% 191.69% at 50% 50%, var(--color-brand-purple) 0%, #000 100%);
|
|
69
65
|
|
|
70
66
|
/* ── typography ─────────────────────────────────────────────────────── */
|
|
71
67
|
--font-heading:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
--font-
|
|
75
|
-
'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
76
|
-
--font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
68
|
+
"Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
69
|
+
--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
70
|
+
--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
77
71
|
|
|
78
72
|
--text-xs: 0.75rem;
|
|
79
73
|
--text-sm: 0.875rem;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* fonts.css — the brand faces, self-hosted: Geist (400-700), Geist Mono (400, 500), Cal Sans (400).
|
|
3
|
+
*
|
|
4
|
+
* Import it once, next to the bridge; the app's bundler copies the woff2 files into its build,
|
|
5
|
+
* so no request leaves for a font CDN:
|
|
6
|
+
* @import "@skaile/forge-brand/fonts.css";
|
|
7
|
+
*
|
|
8
|
+
* The family names match the tokens (`--font-sans`, `--font-mono`, `--font-display`). Each
|
|
9
|
+
* face covers every subset through `unicode-range`; the browser loads only the subsets a page
|
|
10
|
+
* uses. All three are SIL OFL 1.1 (@fontsource packages). An app that loads the families
|
|
11
|
+
* another way (e.g. @nuxt/fonts) leaves this file out.
|
|
12
|
+
*/
|
|
13
|
+
@import "@fontsource/geist/400.css";
|
|
14
|
+
@import "@fontsource/geist/500.css";
|
|
15
|
+
@import "@fontsource/geist/600.css";
|
|
16
|
+
@import "@fontsource/geist/700.css";
|
|
17
|
+
@import "@fontsource/geist-mono/400.css";
|
|
18
|
+
@import "@fontsource/geist-mono/500.css";
|
|
19
|
+
@import "@fontsource/cal-sans/400.css";
|