@hubpav/hwio-brand 0.11.0 → 0.12.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/dist/design/er3o.md +17 -1
- package/dist/tokens.json +69 -1
- package/dist/vars.css +44 -0
- package/package.json +1 -1
- package/src/brand.json +50 -1
package/dist/design/er3o.md
CHANGED
|
@@ -182,7 +182,23 @@ Roles follow the DaisyUI 5 vocabulary so every `@hubpav/hwio-ui` component and e
|
|
|
182
182
|
|
|
183
183
|
**The One Accent Rule.** The accent carries the kicker and the one highlight of a page; it never fills large surfaces and never sets small body text (R5).
|
|
184
184
|
|
|
185
|
-
|
|
185
|
+
### Dark theme (`er3o-dark`)
|
|
186
|
+
|
|
187
|
+
The dark pair keeps the same roles; light is the default, visitors choose dark with the theme toggle and the choice is remembered (R11).
|
|
188
|
+
|
|
189
|
+
| Role | Value |
|
|
190
|
+
|---|---|
|
|
191
|
+
| `primary` / `primary-content` | `#ffffff` on `#296EA7` |
|
|
192
|
+
| `secondary` / `secondary-content` | `#00171F` on `#01CC9B` |
|
|
193
|
+
| `accent` / `accent-content` | `#00171F` on `#14A0C0` |
|
|
194
|
+
| `neutral` / `neutral-content` | `#ffffff` on `#000D12` |
|
|
195
|
+
| `base-100` / `base-content` | `#F4F4F4` on `#00171F` |
|
|
196
|
+
| `base-200` / `base-content` | `#F4F4F4` on `#0A2530` |
|
|
197
|
+
| `base-300` / `base-content` | `#F4F4F4` on `#1E3A45` |
|
|
198
|
+
| `info` / `info-content` | `#00171F` on `#14A0C0` |
|
|
199
|
+
| `success` / `success-content` | `#00171F` on `#4ADE80` |
|
|
200
|
+
| `warning` / `warning-content` | `#00171F` on `#FBBF24` |
|
|
201
|
+
| `error` / `error-content` | `#00171F` on `#F87171` |
|
|
186
202
|
|
|
187
203
|
## Typography
|
|
188
204
|
|
package/dist/tokens.json
CHANGED
|
@@ -41,7 +41,14 @@
|
|
|
41
41
|
"er3o-hairline": "#DDDDDD",
|
|
42
42
|
"er3o-ok": "#15803D",
|
|
43
43
|
"er3o-warning": "#B45309",
|
|
44
|
-
"er3o-error": "#DC2626"
|
|
44
|
+
"er3o-error": "#DC2626",
|
|
45
|
+
"er3o-dark-panel": "#0A2530",
|
|
46
|
+
"er3o-dark-line": "#1E3A45",
|
|
47
|
+
"er3o-dark-muted": "#AEB8BC",
|
|
48
|
+
"er3o-dark-footer": "#000D12",
|
|
49
|
+
"er3o-dark-ok": "#4ADE80",
|
|
50
|
+
"er3o-dark-warning": "#FBBF24",
|
|
51
|
+
"er3o-dark-error": "#F87171"
|
|
45
52
|
},
|
|
46
53
|
"gradient": {
|
|
47
54
|
"from": "red",
|
|
@@ -438,6 +445,67 @@
|
|
|
438
445
|
"--hwio-icon-bg": "var(--color-base-200)",
|
|
439
446
|
"--hwio-note-opacity": "1"
|
|
440
447
|
}
|
|
448
|
+
},
|
|
449
|
+
"er3o-dark": {
|
|
450
|
+
"name": "er3o-dark",
|
|
451
|
+
"scheme": "dark",
|
|
452
|
+
"default": false,
|
|
453
|
+
"prefersdark": false,
|
|
454
|
+
"font": "poppins",
|
|
455
|
+
"shape": {
|
|
456
|
+
"radius-selector": "2rem",
|
|
457
|
+
"radius-field": "2rem",
|
|
458
|
+
"radius-box": "1.5rem",
|
|
459
|
+
"size-selector": "0.25rem",
|
|
460
|
+
"size-field": "0.3rem",
|
|
461
|
+
"border": "1px",
|
|
462
|
+
"depth": "0",
|
|
463
|
+
"noise": "0"
|
|
464
|
+
},
|
|
465
|
+
"shapeKey": "er3o",
|
|
466
|
+
"guidelines": false,
|
|
467
|
+
"typographyKey": "er3o",
|
|
468
|
+
"layoutKey": "hub",
|
|
469
|
+
"layout": {
|
|
470
|
+
"container": "1275px",
|
|
471
|
+
"pad": "27px"
|
|
472
|
+
},
|
|
473
|
+
"roles": {
|
|
474
|
+
"base-100": "#00171F",
|
|
475
|
+
"base-200": "#0A2530",
|
|
476
|
+
"base-300": "#1E3A45",
|
|
477
|
+
"base-content": "#F4F4F4",
|
|
478
|
+
"primary": "#296EA7",
|
|
479
|
+
"primary-content": "#ffffff",
|
|
480
|
+
"secondary": "#01CC9B",
|
|
481
|
+
"secondary-content": "#00171F",
|
|
482
|
+
"accent": "#14A0C0",
|
|
483
|
+
"accent-content": "#00171F",
|
|
484
|
+
"neutral": "#000D12",
|
|
485
|
+
"neutral-content": "#ffffff",
|
|
486
|
+
"info": "#14A0C0",
|
|
487
|
+
"info-content": "#00171F",
|
|
488
|
+
"success": "#4ADE80",
|
|
489
|
+
"success-content": "#00171F",
|
|
490
|
+
"warning": "#FBBF24",
|
|
491
|
+
"warning-content": "#00171F",
|
|
492
|
+
"error": "#F87171",
|
|
493
|
+
"error-content": "#00171F"
|
|
494
|
+
},
|
|
495
|
+
"extras": {
|
|
496
|
+
"--er3o-gradient": "linear-gradient(90deg, #7DE314, #01CC9B, #14A0C0)",
|
|
497
|
+
"--hwio-text-secondary": "#AEB8BC",
|
|
498
|
+
"--hwio-text-secondary-on-neutral": "#CCD1D2",
|
|
499
|
+
"--hwio-kicker-on-neutral": "#ffffff",
|
|
500
|
+
"--hwio-link": "#14A0C0",
|
|
501
|
+
"--hwio-link-hover": "#ffffff",
|
|
502
|
+
"--hwio-nav-hover": "#14A0C0",
|
|
503
|
+
"--hwio-nav-active": "#14A0C0",
|
|
504
|
+
"--hwio-footer-hover": "#ffffff",
|
|
505
|
+
"--hwio-icon": "#F4F4F4",
|
|
506
|
+
"--hwio-icon-bg": "var(--color-base-200)",
|
|
507
|
+
"--hwio-note-opacity": "1"
|
|
508
|
+
}
|
|
441
509
|
}
|
|
442
510
|
},
|
|
443
511
|
"breakpoints": {
|
package/dist/vars.css
CHANGED
|
@@ -281,3 +281,47 @@
|
|
|
281
281
|
--hwio-icon-bg: var(--color-base-200);
|
|
282
282
|
--hwio-note-opacity: 1;
|
|
283
283
|
}
|
|
284
|
+
[data-theme="er3o-dark"] {
|
|
285
|
+
color-scheme: dark;
|
|
286
|
+
--hwio-color-base-100: #00171F;
|
|
287
|
+
--hwio-color-base-200: #0A2530;
|
|
288
|
+
--hwio-color-base-300: #1E3A45;
|
|
289
|
+
--hwio-color-base-content: #F4F4F4;
|
|
290
|
+
--hwio-color-primary: #296EA7;
|
|
291
|
+
--hwio-color-primary-content: #ffffff;
|
|
292
|
+
--hwio-color-secondary: #01CC9B;
|
|
293
|
+
--hwio-color-secondary-content: #00171F;
|
|
294
|
+
--hwio-color-accent: #14A0C0;
|
|
295
|
+
--hwio-color-accent-content: #00171F;
|
|
296
|
+
--hwio-color-neutral: #000D12;
|
|
297
|
+
--hwio-color-neutral-content: #ffffff;
|
|
298
|
+
--hwio-color-info: #14A0C0;
|
|
299
|
+
--hwio-color-info-content: #00171F;
|
|
300
|
+
--hwio-color-success: #4ADE80;
|
|
301
|
+
--hwio-color-success-content: #00171F;
|
|
302
|
+
--hwio-color-warning: #FBBF24;
|
|
303
|
+
--hwio-color-warning-content: #00171F;
|
|
304
|
+
--hwio-color-error: #F87171;
|
|
305
|
+
--hwio-color-error-content: #00171F;
|
|
306
|
+
--hwio-radius-selector: 2rem;
|
|
307
|
+
--hwio-radius-field: 2rem;
|
|
308
|
+
--hwio-radius-box: 1.5rem;
|
|
309
|
+
--hwio-size-selector: 0.25rem;
|
|
310
|
+
--hwio-size-field: 0.3rem;
|
|
311
|
+
--hwio-border: 1px;
|
|
312
|
+
--hwio-depth: 0;
|
|
313
|
+
--hwio-noise: 0;
|
|
314
|
+
--hwio-font-sans: 'Poppins', 'Poppins Fallback', ui-sans-serif, system-ui, sans-serif;
|
|
315
|
+
--er3o-gradient: linear-gradient(90deg, #7DE314, #01CC9B, #14A0C0);
|
|
316
|
+
--hwio-text-secondary: #AEB8BC;
|
|
317
|
+
--hwio-text-secondary-on-neutral: #CCD1D2;
|
|
318
|
+
--hwio-kicker-on-neutral: #ffffff;
|
|
319
|
+
--hwio-link: #14A0C0;
|
|
320
|
+
--hwio-link-hover: #ffffff;
|
|
321
|
+
--hwio-nav-hover: #14A0C0;
|
|
322
|
+
--hwio-nav-active: #14A0C0;
|
|
323
|
+
--hwio-footer-hover: #ffffff;
|
|
324
|
+
--hwio-icon: #F4F4F4;
|
|
325
|
+
--hwio-icon-bg: var(--color-base-200);
|
|
326
|
+
--hwio-note-opacity: 1;
|
|
327
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubpav/hwio-brand",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "HARDWARIO brand source of truth: palette, theme roles, fonts, logos and the sites registry, generated into CSS and JSON for any stack.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
package/src/brand.json
CHANGED
|
@@ -43,7 +43,14 @@
|
|
|
43
43
|
"er3o-hairline": "#DDDDDD",
|
|
44
44
|
"er3o-ok": "#15803D",
|
|
45
45
|
"er3o-warning": "#B45309",
|
|
46
|
-
"er3o-error": "#DC2626"
|
|
46
|
+
"er3o-error": "#DC2626",
|
|
47
|
+
"er3o-dark-panel": "#0A2530",
|
|
48
|
+
"er3o-dark-line": "#1E3A45",
|
|
49
|
+
"er3o-dark-muted": "#AEB8BC",
|
|
50
|
+
"er3o-dark-footer": "#000D12",
|
|
51
|
+
"er3o-dark-ok": "#4ADE80",
|
|
52
|
+
"er3o-dark-warning": "#FBBF24",
|
|
53
|
+
"er3o-dark-error": "#F87171"
|
|
47
54
|
},
|
|
48
55
|
"gradient": {
|
|
49
56
|
"$comment": "The signature (chapter 03, D1): Red to Sky, horizontal, sRGB, no other stop. It frames (a band, a short rule under a title, the strip on top of a card) and fills the one key figure of a page, 28 pt and up, with its left three quarters (D23, D33). Never behind body text, tables or photographs, never on the logo, icons or isometric faces, never reversed or vertical. On the dark ground the figure runs the full length from the light red to Sky (figureDark, D44): its lowest point is 3.88:1, enough for type of 28 px and up.",
|
|
@@ -233,6 +240,48 @@
|
|
|
233
240
|
"--hwio-icon-bg": "var(--color-base-200)",
|
|
234
241
|
"--hwio-note-opacity": "1"
|
|
235
242
|
}
|
|
243
|
+
},
|
|
244
|
+
"er3o-dark": {
|
|
245
|
+
"extends": "er3o",
|
|
246
|
+
"scheme": "dark",
|
|
247
|
+
"default": false,
|
|
248
|
+
"prefersdark": false,
|
|
249
|
+
"roles": {
|
|
250
|
+
"base-100": "er3o-night",
|
|
251
|
+
"base-200": "er3o-dark-panel",
|
|
252
|
+
"base-300": "er3o-dark-line",
|
|
253
|
+
"base-content": "er3o-panel",
|
|
254
|
+
"primary": "er3o-blue",
|
|
255
|
+
"primary-content": "white",
|
|
256
|
+
"secondary": "er3o-mint",
|
|
257
|
+
"secondary-content": "er3o-night",
|
|
258
|
+
"accent": "er3o-teal",
|
|
259
|
+
"accent-content": "er3o-night",
|
|
260
|
+
"neutral": "er3o-dark-footer",
|
|
261
|
+
"neutral-content": "white",
|
|
262
|
+
"info": "er3o-teal",
|
|
263
|
+
"info-content": "er3o-night",
|
|
264
|
+
"success": "er3o-dark-ok",
|
|
265
|
+
"success-content": "er3o-night",
|
|
266
|
+
"warning": "er3o-dark-warning",
|
|
267
|
+
"warning-content": "er3o-night",
|
|
268
|
+
"error": "er3o-dark-error",
|
|
269
|
+
"error-content": "er3o-night"
|
|
270
|
+
},
|
|
271
|
+
"extras": {
|
|
272
|
+
"--er3o-gradient": "linear-gradient(90deg, #7DE314, #01CC9B, #14A0C0)",
|
|
273
|
+
"--hwio-text-secondary": "er3o-dark-muted",
|
|
274
|
+
"--hwio-text-secondary-on-neutral": "#CCD1D2",
|
|
275
|
+
"--hwio-kicker-on-neutral": "white",
|
|
276
|
+
"--hwio-link": "er3o-teal",
|
|
277
|
+
"--hwio-link-hover": "white",
|
|
278
|
+
"--hwio-nav-hover": "er3o-teal",
|
|
279
|
+
"--hwio-nav-active": "er3o-teal",
|
|
280
|
+
"--hwio-footer-hover": "white",
|
|
281
|
+
"--hwio-icon": "er3o-panel",
|
|
282
|
+
"--hwio-icon-bg": "var(--color-base-200)",
|
|
283
|
+
"--hwio-note-opacity": "1"
|
|
284
|
+
}
|
|
236
285
|
}
|
|
237
286
|
},
|
|
238
287
|
"breakpoints": {
|