@ponchia/ui 0.3.2 → 0.3.3
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/README.md +6 -0
- package/classes/index.d.ts +17 -1
- package/classes/index.js +8 -2
- package/css/app.css +22 -11
- package/css/overlay.css +10 -0
- package/css/primitives.css +36 -0
- package/dist/bronto.css +1 -1
- package/dist/css/app.css +1 -1
- package/dist/css/overlay.css +1 -1
- package/dist/css/primitives.css +1 -1
- package/docs/reference.md +941 -0
- package/docs/theming.md +160 -0
- package/llms.txt +85 -0
- package/package.json +13 -4
- package/tokens/resolved.json +125 -0
package/docs/theming.md
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# Theming & branding contract
|
|
2
|
+
|
|
3
|
+
`@ponchia/ui` is one framework meant to dress several different projects.
|
|
4
|
+
This is the **stable, supported surface** for re-branding without forking.
|
|
5
|
+
Anything not listed here is internal and may change between minor versions.
|
|
6
|
+
|
|
7
|
+
## The one knob: `--accent`
|
|
8
|
+
|
|
9
|
+
The whole accent family derives from `--accent` via `color-mix()`:
|
|
10
|
+
|
|
11
|
+
| Token | Derivation (light / dark) | Role |
|
|
12
|
+
| --------------------- | -------------------------------------------- | ---- |
|
|
13
|
+
| `--accent-strong` | `--accent` mixed 83% with black / 84% white | darker/lighter accent for hover, emphasis |
|
|
14
|
+
| `--accent-text` | `var(--accent-strong)` (alias) | **accent used as foreground text** — the on-surface, AA-safe one |
|
|
15
|
+
| `--accent-soft` | `--accent` at 10% / 14% over transparent | tinted fills |
|
|
16
|
+
| `--bg-accent` | `--accent` at 6% / 8% | faint accent backgrounds |
|
|
17
|
+
| `--field-dot-accent` | `--accent` at 78% / 82% | form dot indicators |
|
|
18
|
+
| `--focus-ring` | `var(--accent)` (solid) | **every focus outline** — override to tune the ring alone |
|
|
19
|
+
|
|
20
|
+
So a full re-brand is one declaration — globally or on any subtree:
|
|
21
|
+
|
|
22
|
+
```css
|
|
23
|
+
:root { --accent: #2f6df6; } /* brand the whole app blue */
|
|
24
|
+
.promo { --accent: #16a34a; } /* …or just this section green */
|
|
25
|
+
:root[data-theme='dark'] { --accent: #6ea8ff; } /* per-theme tuning */
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Everything — buttons, focus rings, dot motifs, accent borders, soft
|
|
29
|
+
fills — follows automatically, in both light and dark.
|
|
30
|
+
|
|
31
|
+
> **Two contrast obligations when you change `--accent`:**
|
|
32
|
+
>
|
|
33
|
+
> 1. **Buttons** — pick an `--accent` with ≥ 4.5:1 against `--button-text`
|
|
34
|
+
> (white in light, black in dark) for accessible primary buttons.
|
|
35
|
+
> 2. **Accent-as-text** — anywhere the accent is foreground text (links,
|
|
36
|
+
> active nav/tabs, eyebrows, chips) the framework uses `--accent-text`,
|
|
37
|
+
> **not** raw `--accent`, so it stays AA on surfaces. `--accent-text`
|
|
38
|
+
> defaults to `--accent-strong` (a darkened/lightened accent). If you
|
|
39
|
+
> re-brand to a pale hue, raw `--accent` would fail as text — override
|
|
40
|
+
> `--accent-text` to a sufficiently dark/light value rather than
|
|
41
|
+
> relying on the 83%/84% mix.
|
|
42
|
+
>
|
|
43
|
+
> The defaults are tuned for both; verify if you deviate hard. The focus
|
|
44
|
+
> ring is solid `--accent` (≥ 3:1 non-text) — re-brand to a near-`--bg`
|
|
45
|
+
> hue and you must also raise `--focus-ring` (it's an independent knob).
|
|
46
|
+
|
|
47
|
+
## Other supported knobs
|
|
48
|
+
|
|
49
|
+
- **Spacing** — override the `--space-2xs … --space-2xl` scale, or use a
|
|
50
|
+
preset: `data-density="compact"` / `data-density="comfortable"` on any
|
|
51
|
+
element (defaults to the middle scale).
|
|
52
|
+
- **Radius** — `--radius-sm … --radius-xl`, `--radius-pill`. The Nothing
|
|
53
|
+
default is near-sharp; raise these for a softer brand.
|
|
54
|
+
- **Type** — `--display` (dot-matrix face), `--mono`, `--sans`. Override
|
|
55
|
+
to drop Doto or swap the body face; the token layer keeps working even
|
|
56
|
+
if you self-host fonts (see the `fonts.css` note in the README).
|
|
57
|
+
- **Surfaces / lines / text** — the `--bg*`, `--panel*`, `--line*`,
|
|
58
|
+
`--text*` tokens are overridable for a bespoke palette, but you then
|
|
59
|
+
own their contrast. Prefer just `--accent` unless you need a full
|
|
60
|
+
re-skin.
|
|
61
|
+
- **Native controls** — checkbox/radio/range tick marks use the CSS
|
|
62
|
+
`accent-color: var(--accent)` (browser-rendered). The check glyph
|
|
63
|
+
colour is the UA's choice and not in our control, so a very light
|
|
64
|
+
`--accent` (e.g. a pale yellow) can make native checkmarks low-
|
|
65
|
+
contrast. If you re-brand to a light hue, verify native controls or
|
|
66
|
+
set `accent-color` yourself on them — this is the one accent surface
|
|
67
|
+
the framework can't tune for you.
|
|
68
|
+
|
|
69
|
+
## Token tiers (0.3.1)
|
|
70
|
+
|
|
71
|
+
Three additive, non-breaking tiers sit on top of the primitives. The
|
|
72
|
+
short legacy names (`--panel`, `--line`, `--accent`, …) keep working
|
|
73
|
+
forever as aliases — the tiers are about giving consumers stabler,
|
|
74
|
+
coarser-grained handles.
|
|
75
|
+
|
|
76
|
+
- **Semantic tier — `--bronto-color-*`.** Role-named aliases:
|
|
77
|
+
`--bronto-color-surface`, `-surface-raised`, `-border`,
|
|
78
|
+
`-border-strong`, `-text`, `-text-muted`, `-action`, `-on-action`,
|
|
79
|
+
`-focus`, `-success`, `-warning`, `-danger`, `-bg`. Target these in
|
|
80
|
+
new consumer code: re-skinning a _role_ is now one override instead of
|
|
81
|
+
chasing component internals. They resolve through the per-theme
|
|
82
|
+
primitives, so light/dark still Just Works.
|
|
83
|
+
- **Accent ramp — `--accent-1 … --accent-6`.** A stepped family
|
|
84
|
+
(subtle → bold) derived from the single `--accent` knob via
|
|
85
|
+
`color-mix` against the theme background. Re-brands and theme-adapts
|
|
86
|
+
automatically. This is the palette for charts / data-viz / multi-state
|
|
87
|
+
surfaces (the use case the JS token export advertises).
|
|
88
|
+
- **Neutral ramp — `--surface-1 … --surface-6`** (low → high contrast
|
|
89
|
+
against `--bg`) for layered surfaces without hand-picking greys.
|
|
90
|
+
- **Stacking scale — `--z-base / -raised / -sticky / -overlay /
|
|
91
|
+
-popover / -toast`.** Every framework `z-index` now resolves through
|
|
92
|
+
these; override one to slot your app's own layers around the
|
|
93
|
+
framework's without specificity/`z-index` wars.
|
|
94
|
+
|
|
95
|
+
All four tiers are in the DTCG export and the JS token model.
|
|
96
|
+
|
|
97
|
+
## Accessibility markup contracts
|
|
98
|
+
|
|
99
|
+
A few components are styled but need the consumer to author the right
|
|
100
|
+
semantics — the CSS can't add ARIA for you:
|
|
101
|
+
|
|
102
|
+
- **`.ui-switch`** — put `role="switch"` on the `<input type="checkbox">`.
|
|
103
|
+
It then announces "switch, on/off" and the native `checked` drives
|
|
104
|
+
`aria-checked` (no JS). Forced-colors state cues ship in `forms.css`.
|
|
105
|
+
- **`.ui-tab` / tabs** — operability requires `initTabs()`; don't
|
|
106
|
+
server-render panels `hidden` unless it's guaranteed to run (see the
|
|
107
|
+
`initTabs` doc comment).
|
|
108
|
+
- **`.ui-combobox`** — use `initCombobox()`; it owns the APG ARIA.
|
|
109
|
+
- **`.ui-tooltip`** — fine for short labels; for edge-critical or rich
|
|
110
|
+
content use `.ui-popover` + `initPopover()` (collision-aware).
|
|
111
|
+
|
|
112
|
+
> **Verify a rebrand:** open
|
|
113
|
+
> [`demo/theme-playground.html`](../demo/theme-playground.html) — paste
|
|
114
|
+
> your `--accent`, see the derived family and the computed WCAG ratios
|
|
115
|
+
> for `--accent-text` / `--accent` against the surface, and copy the CSS
|
|
116
|
+
> + DTCG override. This is the instrument for the "verify your hue"
|
|
117
|
+
> obligation below.
|
|
118
|
+
|
|
119
|
+
## Contrast
|
|
120
|
+
|
|
121
|
+
- `data-contrast="high"` on any element, **and** the OS
|
|
122
|
+
`prefers-contrast: more` signal, collapse the soft greys toward the
|
|
123
|
+
strong end (hairlines → `--line-strong`, dim text → `--text-soft`,
|
|
124
|
+
solid focus ring). Theme-agnostic — they reference the per-theme
|
|
125
|
+
`*-strong` tokens, so they work under light and dark.
|
|
126
|
+
- Windows High Contrast / `forced-colors: active` is handled in
|
|
127
|
+
`base.css`: state that was signalled only by a fill (progress, status
|
|
128
|
+
dots, switch, segmented) is re-asserted with system colors.
|
|
129
|
+
|
|
130
|
+
## Design-token interop (DTCG)
|
|
131
|
+
|
|
132
|
+
`@ponchia/ui/tokens.dtcg.json` is the token model in the W3C Design
|
|
133
|
+
Tokens Community Group format, for Style Dictionary / Figma / other
|
|
134
|
+
tooling. Generated from `tokens/index.js` and drift-checked by
|
|
135
|
+
`npm run check`. Resolvable primitives (the scale, `--accent`, literal
|
|
136
|
+
palette) carry real `$value`s; the CSS-runtime-derived family
|
|
137
|
+
(`accent-soft`, `focus-ring`, aliases) is spec-shaped with
|
|
138
|
+
`$value: null` + the CSS in `$extensions["com.ponchia.css"]` rather than
|
|
139
|
+
fabricating a number — the resolvable knob is `color.<theme>.accent`.
|
|
140
|
+
|
|
141
|
+
## Reading tokens from JS
|
|
142
|
+
|
|
143
|
+
`@ponchia/ui/tokens` exposes the model as data. The ergonomic view only
|
|
144
|
+
strips the `--` prefix — **keys stay kebab-case**, so they must be
|
|
145
|
+
bracket-accessed: `themeColor('dark')['accent-soft']`, **not**
|
|
146
|
+
`.accentSoft`. (`themeColor('dark').accent` works only because `accent`
|
|
147
|
+
is a single word.) `--accent` and the non-derived colors resolve to
|
|
148
|
+
literal hex; the derived members (`accent-strong`, `accent-soft`,
|
|
149
|
+
`focus-ring`, …) are `color-mix(…)` / alias strings — resolve them in the
|
|
150
|
+
DOM via `getComputedStyle` if you need the final value, or just read/set
|
|
151
|
+
`--accent` itself. The `.d.ts` now types these keys as literal unions
|
|
152
|
+
(`ColorKey`/`ScaleKey`), so a mistyped key is a compile error and
|
|
153
|
+
autocomplete lists the real names.
|
|
154
|
+
|
|
155
|
+
## Stability
|
|
156
|
+
|
|
157
|
+
The token **names** and the `--accent` derivation are the contract and
|
|
158
|
+
are covered by `npm run check` (the `tokens.css ⇄ tokens/index.js ⇄
|
|
159
|
+
index.json` drift check). Token **values** may be tuned within a theme;
|
|
160
|
+
treat a value change as visual, a name/derivation change as breaking.
|
package/llms.txt
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# @ponchia/ui
|
|
2
|
+
|
|
3
|
+
> CSS-first, framework-agnostic UI framework. Zero runtime dependencies.
|
|
4
|
+
> One `@layer bronto` cascade, a typed class vocabulary, design tokens as
|
|
5
|
+
> data, and optional SSR-safe vanilla behaviors. Nothing-inspired:
|
|
6
|
+
> monochrome surfaces, a single rationed accent, dot-matrix display type.
|
|
7
|
+
>
|
|
8
|
+
> This file orients an LLM/agent. The authoritative, always-correct API
|
|
9
|
+
> is the TypeScript declarations shipped in this package (paths below):
|
|
10
|
+
> they are generated from the runtime sources and CI-drift-checked, so
|
|
11
|
+
> they never lie. Read them before guessing class or token names.
|
|
12
|
+
|
|
13
|
+
## Use the framework
|
|
14
|
+
|
|
15
|
+
CSS (pick one; do not import both):
|
|
16
|
+
|
|
17
|
+
```css
|
|
18
|
+
@import '@ponchia/ui'; /* dist/bronto.css — flattened, minified, one file (recommended) */
|
|
19
|
+
@import '@ponchia/ui/css'; /* css/core.css — @import fan-out, needs a bundler */
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Everything lands in `@layer bronto`. Consumer styles in no layer (or a
|
|
23
|
+
later layer) always win over framework styles regardless of selector
|
|
24
|
+
specificity — this is the intended override mechanism; do not fight it
|
|
25
|
+
with `!important`.
|
|
26
|
+
|
|
27
|
+
Typed class vocabulary (returns plain strings — works in any framework):
|
|
28
|
+
|
|
29
|
+
```js
|
|
30
|
+
import { cls, ui, cx } from '@ponchia/ui/classes';
|
|
31
|
+
// ui.button({ variant: 'ghost' }) -> "ui-button ui-button--ghost"
|
|
32
|
+
// cx(ui.dot({ tone: 'success' }), 'my-extra') -> joined, falsy-skipped
|
|
33
|
+
// cls is the frozen flat registry of every class the framework defines
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Tokens as data (theming + reading the palette):
|
|
37
|
+
|
|
38
|
+
```js
|
|
39
|
+
import { cssVars, tokens, themeColor } from '@ponchia/ui/tokens';
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Optional vanilla behaviors (theme toggle, etc. — SSR-safe, tree-shakeable):
|
|
43
|
+
|
|
44
|
+
```js
|
|
45
|
+
import { applyStoredTheme } from '@ponchia/ui/behaviors';
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Authoritative offline references (shipped in this package)
|
|
49
|
+
|
|
50
|
+
Read these from `node_modules/@ponchia/ui/` — no network needed:
|
|
51
|
+
|
|
52
|
+
- `classes/index.d.ts` — literal-typed `cls` map (exact class strings),
|
|
53
|
+
every `ui.*()` recipe signature, every `*Opts` interface. The complete
|
|
54
|
+
class surface; an agent should read this to know valid class names.
|
|
55
|
+
- `docs/reference.md` — the full class catalog as prose tables (every
|
|
56
|
+
class grouped by component, with registry key + kind). Generated from
|
|
57
|
+
the same source as the types and CI-drift-checked.
|
|
58
|
+
- `docs/theming.md` — the token contract: which tokens to override, the
|
|
59
|
+
light/dark model, and the rationed-accent rule.
|
|
60
|
+
- `tokens/index.d.ts` — every design-token name as a literal union.
|
|
61
|
+
- `tokens/index.json` — tokens as plain data (global / light / dark).
|
|
62
|
+
- `tokens/tokens.dtcg.json` — same tokens in W3C DTCG format.
|
|
63
|
+
- `tokens/resolved.json` — every colour token resolved to a static
|
|
64
|
+
`#rrggbb` / `rgba(...)` per theme (var() + color-mix() evaluated).
|
|
65
|
+
Use this for non-CSS render targets: MapLibre/canvas/WebGL/SVG.
|
|
66
|
+
- `behaviors/index.d.ts` — typed signatures for the optional behaviors.
|
|
67
|
+
- `classes/vscode.css-custom-data.json` — editor autocomplete for tokens.
|
|
68
|
+
|
|
69
|
+
## Human-browsable references (not shipped in the npm tarball, by design)
|
|
70
|
+
|
|
71
|
+
- Live kitchen-sink demo (every component, light/dark, RTL): https://ponchia.github.io/bronto-ui/
|
|
72
|
+
- Architecture & the CSS-first decision: https://github.com/Ponchia/bronto-ui/blob/main/docs/architecture.md
|
|
73
|
+
- Framework integration guides (Astro / SvelteKit / React-Solid / vanilla):
|
|
74
|
+
https://github.com/Ponchia/bronto-ui/tree/main/docs/getting-started
|
|
75
|
+
|
|
76
|
+
## Rules an agent should respect
|
|
77
|
+
|
|
78
|
+
- Never invent `ui-*` class names. Every valid class is a member of
|
|
79
|
+
`cls` in `classes/index.d.ts`; if it is not there, it does not exist.
|
|
80
|
+
- Prefer the `ui.*()` recipes over hand-concatenating modifier strings.
|
|
81
|
+
- Override framework styles by writing your own rules outside
|
|
82
|
+
`@layer bronto` — not with higher specificity or `!important`.
|
|
83
|
+
- The accent color is deliberately rationed (monochrome + one accent).
|
|
84
|
+
Do not introduce new hues; theme via the documented tokens only.
|
|
85
|
+
- Pre-1.0 SemVer: breaking changes ship in the *minor*. Pin `~0.x`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ponchia/ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Shared Bronto UI framework — Nothing-inspired monochrome CSS theme, dot-matrix motifs, admin shell.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,10 @@
|
|
|
24
24
|
"tokens",
|
|
25
25
|
"classes",
|
|
26
26
|
"behaviors",
|
|
27
|
-
"shiki"
|
|
27
|
+
"shiki",
|
|
28
|
+
"llms.txt",
|
|
29
|
+
"docs/reference.md",
|
|
30
|
+
"docs/theming.md"
|
|
28
31
|
],
|
|
29
32
|
"style": "./dist/bronto.css",
|
|
30
33
|
"scripts": {
|
|
@@ -34,6 +37,7 @@
|
|
|
34
37
|
"check:format": "prettier --check .",
|
|
35
38
|
"tokens:build": "node scripts/gen-tokens-json.mjs",
|
|
36
39
|
"dtcg:build": "node scripts/gen-dtcg.mjs",
|
|
40
|
+
"resolved:build": "node scripts/gen-resolved.mjs",
|
|
37
41
|
"dts:build": "node scripts/gen-dts.mjs",
|
|
38
42
|
"reference:build": "node scripts/gen-reference.mjs",
|
|
39
43
|
"vscode:build": "node scripts/gen-vscode-data.mjs",
|
|
@@ -44,15 +48,16 @@
|
|
|
44
48
|
"check:dts": "node scripts/check-dts.mjs",
|
|
45
49
|
"check:types": "tsc -p tsconfig.json",
|
|
46
50
|
"check:dtcg": "node scripts/check-dtcg.mjs",
|
|
51
|
+
"check:resolved": "node scripts/check-resolved.mjs",
|
|
47
52
|
"check:shiki": "node scripts/check-shiki.mjs",
|
|
48
53
|
"check:dist": "node scripts/check-dist.mjs",
|
|
49
54
|
"check:pack": "node scripts/check-pack.mjs",
|
|
50
55
|
"check:release": "node scripts/check-release.mjs",
|
|
51
56
|
"check:reference": "node scripts/check-reference.mjs",
|
|
52
57
|
"check:vscode": "node scripts/check-vscode-data.mjs",
|
|
53
|
-
"check": "npm run lint && npm run check:format && npm run check:exports && npm run check:tokens && npm run check:classes && npm run check:dts && npm run check:types && npm run check:dtcg && npm run check:shiki && npm run check:dist && npm run check:pack && npm run check:release && npm run check:reference && npm run check:vscode",
|
|
58
|
+
"check": "npm run lint && npm run check:format && npm run check:exports && npm run check:tokens && npm run check:classes && npm run check:dts && npm run check:types && npm run check:dtcg && npm run check:resolved && npm run check:shiki && npm run check:dist && npm run check:pack && npm run check:release && npm run check:reference && npm run check:vscode",
|
|
54
59
|
"test": "node --test \"test/*.test.mjs\"",
|
|
55
|
-
"prepack": "npm run tokens:build && npm run dtcg:build && npm run dts:build && npm run reference:build && npm run vscode:build && npm run dist:build",
|
|
60
|
+
"prepack": "npm run tokens:build && npm run dtcg:build && npm run resolved:build && npm run dts:build && npm run reference:build && npm run vscode:build && npm run dist:build",
|
|
56
61
|
"prepublishOnly": "npm run check && npm test"
|
|
57
62
|
},
|
|
58
63
|
"devDependencies": {
|
|
@@ -110,7 +115,11 @@
|
|
|
110
115
|
"./vscode.css-custom-data.json": "./classes/vscode.css-custom-data.json",
|
|
111
116
|
"./tokens.json": "./tokens/index.json",
|
|
112
117
|
"./tokens.dtcg.json": "./tokens/tokens.dtcg.json",
|
|
118
|
+
"./tokens/resolved.json": "./tokens/resolved.json",
|
|
113
119
|
"./shiki/nothing.json": "./shiki/nothing.json",
|
|
120
|
+
"./llms.txt": "./llms.txt",
|
|
121
|
+
"./docs/reference.md": "./docs/reference.md",
|
|
122
|
+
"./docs/theming.md": "./docs/theming.md",
|
|
114
123
|
"./classes": {
|
|
115
124
|
"types": "./classes/index.d.ts",
|
|
116
125
|
"default": "./classes/index.js"
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "@ponchia/ui colour tokens resolved to static values per theme (var() + sRGB color-mix() evaluated at build). For non-CSS render targets: MapLibre/canvas/WebGL/SVG. Generated from tokens/index.js — do not edit by hand; run `npm run resolved:build`. Drift-checked in CI.",
|
|
3
|
+
"light": {
|
|
4
|
+
"--accent-1": "#f2e2e1",
|
|
5
|
+
"--accent-2": "#efd1d1",
|
|
6
|
+
"--accent-3": "#ebaeaf",
|
|
7
|
+
"--accent-4": "#e37175",
|
|
8
|
+
"--accent-5": "#d71921",
|
|
9
|
+
"--accent-6": "#b2151b",
|
|
10
|
+
"--surface-1": "#f4f4f2",
|
|
11
|
+
"--surface-2": "#fbfbfa",
|
|
12
|
+
"--surface-3": "#ffffff",
|
|
13
|
+
"--surface-4": "#ececea",
|
|
14
|
+
"--surface-5": "#d8d8d4",
|
|
15
|
+
"--surface-6": "#a8a8a2",
|
|
16
|
+
"--bronto-color-bg": "#f4f4f2",
|
|
17
|
+
"--bronto-color-surface": "#ffffff",
|
|
18
|
+
"--bronto-color-surface-raised": "#ffffff",
|
|
19
|
+
"--bronto-color-border": "#d8d8d4",
|
|
20
|
+
"--bronto-color-border-strong": "#a8a8a2",
|
|
21
|
+
"--bronto-color-text": "#0a0a0a",
|
|
22
|
+
"--bronto-color-text-muted": "#686863",
|
|
23
|
+
"--bronto-color-action": "#d71921",
|
|
24
|
+
"--bronto-color-on-action": "#ffffff",
|
|
25
|
+
"--bronto-color-focus": "#d71921",
|
|
26
|
+
"--bronto-color-success": "#2f7d4f",
|
|
27
|
+
"--bronto-color-warning": "#806414",
|
|
28
|
+
"--bronto-color-danger": "#c01622",
|
|
29
|
+
"--surface": "#ffffff",
|
|
30
|
+
"--surface-raised": "#ffffff",
|
|
31
|
+
"--surface-muted": "#ececea",
|
|
32
|
+
"--border": "#d8d8d4",
|
|
33
|
+
"--border-strong": "#a8a8a2",
|
|
34
|
+
"--bg": "#f4f4f2",
|
|
35
|
+
"--bg-elevated": "#fbfbfa",
|
|
36
|
+
"--bg-accent": "rgba(215, 25, 33, 0.06)",
|
|
37
|
+
"--panel": "#ffffff",
|
|
38
|
+
"--panel-strong": "#ffffff",
|
|
39
|
+
"--panel-soft": "#ececea",
|
|
40
|
+
"--line": "#d8d8d4",
|
|
41
|
+
"--line-strong": "#a8a8a2",
|
|
42
|
+
"--text": "#0a0a0a",
|
|
43
|
+
"--text-soft": "#353533",
|
|
44
|
+
"--text-dim": "#686863",
|
|
45
|
+
"--accent": "#d71921",
|
|
46
|
+
"--accent-strong": "#b2151b",
|
|
47
|
+
"--accent-text": "#b2151b",
|
|
48
|
+
"--accent-soft": "rgba(215, 25, 33, 0.1)",
|
|
49
|
+
"--success": "#2f7d4f",
|
|
50
|
+
"--success-soft": "rgba(47, 125, 79, 0.12)",
|
|
51
|
+
"--warning": "#806414",
|
|
52
|
+
"--warning-soft": "rgba(128, 100, 20, 0.13)",
|
|
53
|
+
"--orange": "#a85f32",
|
|
54
|
+
"--orange-soft": "rgba(168, 95, 50, 0.13)",
|
|
55
|
+
"--danger": "#c01622",
|
|
56
|
+
"--danger-soft": "rgba(192, 22, 34, 0.1)",
|
|
57
|
+
"--code-bg": "rgba(10, 10, 10, 0.05)",
|
|
58
|
+
"--button-text": "#ffffff",
|
|
59
|
+
"--field-dot": "rgba(10, 10, 10, 0.16)",
|
|
60
|
+
"--field-dot-hot": "rgba(10, 10, 10, 0.4)",
|
|
61
|
+
"--field-dot-accent": "rgba(215, 25, 33, 0.78)",
|
|
62
|
+
"--focus-ring": "#d71921"
|
|
63
|
+
},
|
|
64
|
+
"dark": {
|
|
65
|
+
"--accent-1": "#140505",
|
|
66
|
+
"--accent-2": "#29090a",
|
|
67
|
+
"--accent-3": "#521315",
|
|
68
|
+
"--accent-4": "#992327",
|
|
69
|
+
"--accent-5": "#ff3b41",
|
|
70
|
+
"--accent-6": "#ff5a5f",
|
|
71
|
+
"--surface-1": "#000000",
|
|
72
|
+
"--surface-2": "#0a0a0a",
|
|
73
|
+
"--surface-3": "#0c0c0c",
|
|
74
|
+
"--surface-4": "#1a1a1a",
|
|
75
|
+
"--surface-5": "#2a2a2a",
|
|
76
|
+
"--surface-6": "#444444",
|
|
77
|
+
"--bronto-color-bg": "#000000",
|
|
78
|
+
"--bronto-color-surface": "#0c0c0c",
|
|
79
|
+
"--bronto-color-surface-raised": "#141414",
|
|
80
|
+
"--bronto-color-border": "#2a2a2a",
|
|
81
|
+
"--bronto-color-border-strong": "#444444",
|
|
82
|
+
"--bronto-color-text": "#f2f2f2",
|
|
83
|
+
"--bronto-color-text-muted": "#858585",
|
|
84
|
+
"--bronto-color-action": "#ff3b41",
|
|
85
|
+
"--bronto-color-on-action": "#000000",
|
|
86
|
+
"--bronto-color-focus": "#ff3b41",
|
|
87
|
+
"--bronto-color-success": "#4ec27e",
|
|
88
|
+
"--bronto-color-warning": "#d8bd72",
|
|
89
|
+
"--bronto-color-danger": "#ff4d54",
|
|
90
|
+
"--surface": "#0c0c0c",
|
|
91
|
+
"--surface-raised": "#141414",
|
|
92
|
+
"--surface-muted": "#1a1a1a",
|
|
93
|
+
"--border": "#2a2a2a",
|
|
94
|
+
"--border-strong": "#444444",
|
|
95
|
+
"--bg": "#000000",
|
|
96
|
+
"--bg-elevated": "#0a0a0a",
|
|
97
|
+
"--bg-accent": "rgba(255, 59, 65, 0.08)",
|
|
98
|
+
"--panel": "#0c0c0c",
|
|
99
|
+
"--panel-strong": "#141414",
|
|
100
|
+
"--panel-soft": "#1a1a1a",
|
|
101
|
+
"--line": "#2a2a2a",
|
|
102
|
+
"--line-strong": "#444444",
|
|
103
|
+
"--text": "#f2f2f2",
|
|
104
|
+
"--text-soft": "#c4c4c4",
|
|
105
|
+
"--text-dim": "#858585",
|
|
106
|
+
"--accent": "#ff3b41",
|
|
107
|
+
"--accent-strong": "#ff5a5f",
|
|
108
|
+
"--accent-text": "#ff5a5f",
|
|
109
|
+
"--accent-soft": "rgba(255, 59, 65, 0.14)",
|
|
110
|
+
"--success": "#4ec27e",
|
|
111
|
+
"--success-soft": "rgba(78, 194, 126, 0.14)",
|
|
112
|
+
"--warning": "#d8bd72",
|
|
113
|
+
"--warning-soft": "rgba(216, 189, 114, 0.14)",
|
|
114
|
+
"--orange": "#d08c5b",
|
|
115
|
+
"--orange-soft": "rgba(208, 140, 91, 0.15)",
|
|
116
|
+
"--danger": "#ff4d54",
|
|
117
|
+
"--danger-soft": "rgba(255, 77, 84, 0.15)",
|
|
118
|
+
"--code-bg": "rgba(255, 255, 255, 0.05)",
|
|
119
|
+
"--button-text": "#000000",
|
|
120
|
+
"--field-dot": "rgba(242, 242, 242, 0.14)",
|
|
121
|
+
"--field-dot-hot": "rgba(242, 242, 242, 0.36)",
|
|
122
|
+
"--field-dot-accent": "rgba(255, 59, 65, 0.82)",
|
|
123
|
+
"--focus-ring": "#ff3b41"
|
|
124
|
+
}
|
|
125
|
+
}
|