@hubpav/hwio-brand 0.10.10 → 0.11.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.
@@ -1,93 +1,93 @@
1
1
  ---
2
2
  name: "ENEROOO"
3
- description: "Teal and green on white with graphite footer, Poppins, pill fields, 24 px card radius. Generated from @hubpav/hwio-brand; the source of truth is brand.json."
3
+ description: "Mostly white with Noc text, Modrá pill buttons with White caps, Petrolej links and kickers, the three-colour logo gradient (Limetka, Máta, Tyrkys) as a picture only; Poppins in Regular, SemiBold and Bold; Panel cards with a 24 px radius and no shadow; a Noc footer. Generated from @hubpav/hwio-brand; the source of truth is brand.json."
4
4
  colors:
5
- primary: "#14A0C0"
5
+ primary: "#296EA7"
6
6
  primary-content: "#ffffff"
7
- secondary: "#01CC9B"
8
- secondary-content: "#061920"
7
+ secondary: "#14A0C0"
8
+ secondary-content: "#00171F"
9
9
  accent: "#0C6678"
10
10
  accent-content: "#ffffff"
11
- neutral: "#404040"
11
+ neutral: "#00171F"
12
12
  neutral-content: "#ffffff"
13
13
  base-100: "#ffffff"
14
- base-200: "#f9fafb"
15
- base-300: "#f3f4f6"
16
- base-content: "#333333"
17
- info: "#19768B"
14
+ base-200: "#F4F4F4"
15
+ base-300: "#DDDDDD"
16
+ base-content: "#00171F"
17
+ info: "#0C6678"
18
18
  info-content: "#ffffff"
19
- success: "#15803d"
19
+ success: "#15803D"
20
20
  success-content: "#ffffff"
21
- warning: "#b45309"
21
+ warning: "#B45309"
22
22
  warning-content: "#ffffff"
23
- error: "#dc2626"
23
+ error: "#DC2626"
24
24
  error-content: "#ffffff"
25
25
  typography:
26
26
  display:
27
27
  fontFamily: "'Poppins', 'Poppins Fallback', ui-sans-serif, system-ui, sans-serif"
28
- fontSize: "3.5rem"
28
+ fontSize: "4.375rem"
29
29
  fontWeight: 700
30
- lineHeight: 1.05
31
- letterSpacing: "-0.03em"
30
+ lineHeight: 1.2
31
+ letterSpacing: "-0.01em"
32
32
  heading:
33
33
  fontFamily: "'Poppins', 'Poppins Fallback', ui-sans-serif, system-ui, sans-serif"
34
- fontSize: "2.5rem"
34
+ fontSize: "3rem"
35
35
  fontWeight: 700
36
- lineHeight: 1.1
37
- letterSpacing: "-0.025em"
36
+ lineHeight: 1.3
37
+ letterSpacing: "-0.01em"
38
38
  subheading:
39
39
  fontFamily: "'Poppins', 'Poppins Fallback', ui-sans-serif, system-ui, sans-serif"
40
- fontSize: "1.375rem"
40
+ fontSize: "1.5rem"
41
41
  fontWeight: 700
42
- lineHeight: 1.2
43
- letterSpacing: "-0.01em"
42
+ lineHeight: 1.3
43
+ letterSpacing: "0"
44
44
  title:
45
45
  fontFamily: "'Poppins', 'Poppins Fallback', ui-sans-serif, system-ui, sans-serif"
46
46
  fontSize: "1.125rem"
47
47
  fontWeight: 700
48
48
  lineHeight: 1.3
49
- letterSpacing: "-0.005em"
49
+ letterSpacing: "0"
50
50
  lead:
51
51
  fontFamily: "'Poppins', 'Poppins Fallback', ui-sans-serif, system-ui, sans-serif"
52
- fontSize: "1.1875rem"
52
+ fontSize: "1.125rem"
53
53
  fontWeight: 400
54
- lineHeight: 1.55
54
+ lineHeight: 1.625
55
55
  letterSpacing: "0"
56
56
  body:
57
57
  fontFamily: "'Poppins', 'Poppins Fallback', ui-sans-serif, system-ui, sans-serif"
58
58
  fontSize: "1.0625rem"
59
59
  fontWeight: 400
60
- lineHeight: 1.6
60
+ lineHeight: 1.625
61
61
  letterSpacing: "0"
62
62
  caption:
63
63
  fontFamily: "'Poppins', 'Poppins Fallback', ui-sans-serif, system-ui, sans-serif"
64
64
  fontSize: "0.875rem"
65
65
  fontWeight: 400
66
- lineHeight: 1.4
66
+ lineHeight: 1.55
67
67
  letterSpacing: "0"
68
68
  kicker:
69
69
  fontFamily: "'Poppins', 'Poppins Fallback', ui-sans-serif, system-ui, sans-serif"
70
70
  fontSize: "0.875rem"
71
71
  fontWeight: 600
72
72
  lineHeight: 1.4
73
- letterSpacing: "0"
73
+ letterSpacing: "0.06em"
74
74
  chip:
75
75
  fontFamily: "'Poppins', 'Poppins Fallback', ui-sans-serif, system-ui, sans-serif"
76
- fontSize: "0.875rem"
77
- fontWeight: 500
78
- letterSpacing: "0"
76
+ fontSize: "0.8125rem"
77
+ fontWeight: 600
78
+ letterSpacing: "0.06em"
79
79
  figure:
80
80
  fontFamily: "'Poppins', 'Poppins Fallback', ui-sans-serif, system-ui, sans-serif"
81
- fontSize: "2.5rem"
81
+ fontSize: "3rem"
82
82
  fontWeight: 700
83
- lineHeight: 1
84
- letterSpacing: "-0.03em"
83
+ lineHeight: 1.2
84
+ letterSpacing: "-0.01em"
85
85
  button:
86
86
  fontFamily: "'Poppins', 'Poppins Fallback', ui-sans-serif, system-ui, sans-serif"
87
87
  fontSize: "0.9375rem"
88
88
  fontWeight: 600
89
89
  lineHeight: 1
90
- letterSpacing: "0"
90
+ letterSpacing: "0.06em"
91
91
  rounded:
92
92
  selector: "2rem"
93
93
  field: "2rem"
@@ -147,9 +147,9 @@ components:
147
147
 
148
148
  ## Overview
149
149
 
150
- **Creative North Star: "The energy dashboard"**
150
+ **Creative North Star: "Energetický management nové generace"**
151
151
 
152
- ENEROOO is a separate brand on the shared component system: its palette and Poppins are preserved by owner ruling R7, its footer graphite by R12, and its type ramp is direction A (R9) until its own brand manual is applied (PLAN 4.7). This file records the theme as built.
152
+ ENEROOO (ENEROOO s.r.o.) is a brand of its own on the shared component system. Its theme follows the ENEROOO brand guidelines HBG.261029.01 (company/docs, values of record in templates/enerooo-brandbook.typ; applied 2026-11-24, PLAN 4.7): Noc `#00171F` for all text and dark grounds, Modrá `#296EA7` for buttons, chips and the current page, Petrolej `#0C6678` for links and kickers, Grafit `#5B5B5B` for secondary text, Panel `#F4F4F4` and Linka `#DDDDDD` for grounds and hairlines. This file is regenerated from brand.json.
153
153
 
154
154
  Key characteristics:
155
155
 
@@ -158,7 +158,7 @@ Key characteristics:
158
158
  - Light is the default theme on every site; dark is a visitor's choice remembered without a consent gate (R11).
159
159
  - Copy is the product: components carry the site's own words, never placeholder text.
160
160
 
161
- **The Own-Brand Rule.** ENEROOO keeps its palette and Poppins (R7) and its footer graphite (R12). Changes need a screenshot sign-off by the owner.
161
+ **The Own-Brand Rule.** The ENEROOO brand guidelines HBG.261029.01 are the master for www.enerooo.cz, not the HARDWARIO guidelines. No type ever stands on the gradient `linear-gradient(90deg, #7DE314, #01CC9B, #14A0C0)`: it carries the White logo alone, an edge strip and the energy grid; White type stands on Modrá, Petrolej or Noc. Changes need a screenshot sign-off by the owner.
162
162
 
163
163
  ## Colors
164
164
 
@@ -166,17 +166,17 @@ Roles follow the DaisyUI 5 vocabulary so every `@hubpav/hwio-ui` component and e
166
166
 
167
167
  | Role | Value | Use |
168
168
  |---|---|---|
169
- | `primary` / `primary-content` | `#ffffff` on `#14A0C0` | buttons, active states, links in navigation |
170
- | `secondary` / `secondary-content` | `#061920` on `#01CC9B` | focus ring, secondary emphasis |
169
+ | `primary` / `primary-content` | `#ffffff` on `#296EA7` | buttons, active states, links in navigation |
170
+ | `secondary` / `secondary-content` | `#00171F` on `#14A0C0` | focus ring, secondary emphasis |
171
171
  | `accent` / `accent-content` | `#ffffff` on `#0C6678` | kicker, current-page marker, inline links; never large fills |
172
- | `neutral` / `neutral-content` | `#ffffff` on `#404040` | ink panels and the footer |
173
- | `base-100` / `base-content` | `#333333` on `#ffffff` | page ground |
174
- | `base-200` / `base-content` | `#333333` on `#f9fafb` | alternate section surface |
175
- | `base-300` / `base-content` | `#333333` on `#f3f4f6` | hairline borders |
176
- | `info` / `info-content` | `#ffffff` on `#19768B` | informational badges |
177
- | `success` / `success-content` | `#ffffff` on `#15803d` | form success |
178
- | `warning` / `warning-content` | `#ffffff` on `#b45309` | warnings |
179
- | `error` / `error-content` | `#ffffff` on `#dc2626` | form errors |
172
+ | `neutral` / `neutral-content` | `#ffffff` on `#00171F` | ink panels and the footer |
173
+ | `base-100` / `base-content` | `#00171F` on `#ffffff` | page ground |
174
+ | `base-200` / `base-content` | `#00171F` on `#F4F4F4` | alternate section surface |
175
+ | `base-300` / `base-content` | `#00171F` on `#DDDDDD` | hairline borders |
176
+ | `info` / `info-content` | `#ffffff` on `#0C6678` | informational badges |
177
+ | `success` / `success-content` | `#ffffff` on `#15803D` | form success |
178
+ | `warning` / `warning-content` | `#ffffff` on `#B45309` | warnings |
179
+ | `error` / `error-content` | `#ffffff` on `#DC2626` | form errors |
180
180
 
181
181
  **The Token Rule.** A colour, radius or type change is a `brand.json` edit and a `website-ui` pull request, never site-local CSS. Sites consume roles (`bg-primary`, `text-base-content`) and the `--hwio-*` variables, not hex values.
182
182
 
@@ -190,19 +190,19 @@ Poppins for everything: display, body, labels and numerals (tabular numerals in
190
190
 
191
191
  | Role | Element | Size (large screens) | Weight | Line height | Tracking |
192
192
  |---|---|---|---|---|---|
193
- | display | `h1` | 3.5rem | 700 | 1.05 | -0.03em |
194
- | heading | `h2` | 2.5rem | 700 | 1.1 | -0.025em |
195
- | subheading | `h3` | 1.375rem | 700 | 1.2 | -0.01em |
196
- | title | `h4` | 1.125rem | 700 | 1.3 | -0.005em |
197
- | lead | `.hwio-lead` | 1.1875rem | 400 | 1.55 | 0 |
198
- | body | `body` | 1.0625rem | 400 | 1.6 | 0 |
199
- | caption | `.hwio-caption` | 0.875rem | 400 | 1.4 | 0 |
200
- | kicker | `.hwio-kicker` | 0.875rem | 600 | 1.4 | 0 |
201
- | chip | `.hwio-chip` | 0.875rem | 500 | inherited | 0 |
202
- | figure | `.hwio-figure` | 2.5rem | 700 | 1 | -0.03em |
203
- | button | `.btn` | 0.9375rem | 600 | 1 | 0 |
204
-
205
- Smaller screens step the larger roles down (display: 2.5rem below 48rem, 3rem from 48rem, 3.5rem from 64rem; heading: 2rem below 48rem, 2.5rem from 48rem; figure: 2.25rem below 48rem, 2.5rem from 64rem). Headings use `text-wrap: balance`.
193
+ | display | `h1` | 4.375rem | 700 | 1.2 | -0.01em |
194
+ | heading | `h2` | 3rem | 700 | 1.3 | -0.01em |
195
+ | subheading | `h3` | 1.5rem | 700 | 1.3 | 0 |
196
+ | title | `h4` | 1.125rem | 700 | 1.3 | 0 |
197
+ | lead | `.hwio-lead` | 1.125rem | 400 | 1.625 | 0 |
198
+ | body | `body` | 1.0625rem | 400 | 1.625 | 0 |
199
+ | caption | `.hwio-caption` | 0.875rem | 400 | 1.55 | 0 |
200
+ | kicker | `.hwio-kicker` | 0.875rem | 600 | 1.4 | 0.06em, uppercase |
201
+ | chip | `.hwio-chip` | 0.8125rem | 600 | inherited | 0.06em, uppercase |
202
+ | figure | `.hwio-figure` | 3rem | 700 | 1.2 | -0.01em |
203
+ | button | `.btn` | 0.9375rem | 600 | 1 | 0.06em, uppercase |
204
+
205
+ Smaller screens step the larger roles down (display: 2.5rem below 48rem, 3.5rem from 48rem, 4.375rem from 64rem; heading: 1.875rem below 48rem, 2.5rem from 48rem, 3rem from 64rem; subheading: 1.25rem below 48rem, 1.5rem from 48rem; figure: 2.5rem below 48rem, 3rem from 64rem). Headings use `text-wrap: balance`.
206
206
 
207
207
  ## Layout
208
208
 
@@ -220,7 +220,7 @@ Corner radii from the theme: fields 2rem, boxes 1.5rem, selectors 2rem. Borders
220
220
 
221
221
  - **Buttons.** `button-primary` (primary fill, primary-content text), `button-secondary` (primary outline on base-100), `button-inverse` for Ink panels (neutral-content fill), `ghost` and `link`. All 48px tall, 0.9375rem at weight 600, sentence case, 2rem radius; large buttons widen padding at the same height.
222
222
  - **Cards.** `card card-border` on base-100 with a hairline, 32px padding; the lead choice card carries a 3 px accent top border. Cards never nest.
223
- - **Kicker and lead.** The kicker is the accent-coloured 0.875rem label above a heading, sentence case; the lead is 1.1875rem secondary text below it.
223
+ - **Kicker and lead.** The kicker is the accent-coloured 0.875rem label above a heading, Bold caps (0.06em tracking); the lead is 1.125rem secondary text below it.
224
224
  - **Icons.** One colour from `--hwio-icon`; they label, never decorate.
225
225
  - **Inputs.** Field radius, hairline border, 48px tall; focus ring 2 px `secondary`.
226
226
  - **Navigation.** `HWioHeader` with mega panels on wide screens (`desktopFrom="xl"` on sites with five or more items); the current page is marked by a 2 px bar on the header's bottom edge.
package/dist/tokens.json CHANGED
@@ -29,18 +29,19 @@
29
29
  "gradient-figure-end": "#3976c5",
30
30
  "forestry": "#2B7036",
31
31
  "forestry-light": "#5aa864",
32
- "er3o-green": "#01CC9B",
32
+ "er3o-lime": "#7DE314",
33
+ "er3o-mint": "#01CC9B",
33
34
  "er3o-teal": "#14A0C0",
34
- "er3o-teal-text": "#0C6678",
35
- "er3o-heading": "#19768B",
36
- "er3o-ink": "#061920",
37
- "er3o-graphite": "#404040",
38
- "er3o-text": "#333333",
39
- "er3o-gray-50": "#f9fafb",
40
- "er3o-gray-100": "#f3f4f6",
41
- "er3o-success": "#15803d",
42
- "er3o-warning": "#b45309",
43
- "er3o-error": "#dc2626"
35
+ "er3o-blue": "#296EA7",
36
+ "er3o-night": "#00171F",
37
+ "er3o-gray": "#999999",
38
+ "er3o-petrol": "#0C6678",
39
+ "er3o-graphite": "#5B5B5B",
40
+ "er3o-panel": "#F4F4F4",
41
+ "er3o-hairline": "#DDDDDD",
42
+ "er3o-ok": "#15803D",
43
+ "er3o-warning": "#B45309",
44
+ "er3o-error": "#DC2626"
44
45
  },
45
46
  "gradient": {
46
47
  "from": "red",
@@ -403,33 +404,39 @@
403
404
  },
404
405
  "roles": {
405
406
  "base-100": "#ffffff",
406
- "base-200": "#f9fafb",
407
- "base-300": "#f3f4f6",
408
- "base-content": "#333333",
409
- "primary": "#14A0C0",
407
+ "base-200": "#F4F4F4",
408
+ "base-300": "#DDDDDD",
409
+ "base-content": "#00171F",
410
+ "primary": "#296EA7",
410
411
  "primary-content": "#ffffff",
411
- "secondary": "#01CC9B",
412
- "secondary-content": "#061920",
412
+ "secondary": "#14A0C0",
413
+ "secondary-content": "#00171F",
413
414
  "accent": "#0C6678",
414
415
  "accent-content": "#ffffff",
415
- "neutral": "#404040",
416
+ "neutral": "#00171F",
416
417
  "neutral-content": "#ffffff",
417
- "info": "#19768B",
418
+ "info": "#0C6678",
418
419
  "info-content": "#ffffff",
419
- "success": "#15803d",
420
+ "success": "#15803D",
420
421
  "success-content": "#ffffff",
421
- "warning": "#b45309",
422
+ "warning": "#B45309",
422
423
  "warning-content": "#ffffff",
423
- "error": "#dc2626",
424
+ "error": "#DC2626",
424
425
  "error-content": "#ffffff"
425
426
  },
426
427
  "extras": {
427
- "--er3o-gradient-from": "#01CC9B",
428
- "--er3o-gradient-to": "#14A0C0",
428
+ "--er3o-gradient": "linear-gradient(90deg, #7DE314, #01CC9B, #14A0C0)",
429
+ "--hwio-text-secondary": "#5B5B5B",
430
+ "--hwio-text-secondary-on-neutral": "#CCD1D2",
431
+ "--hwio-kicker-on-neutral": "#ffffff",
432
+ "--hwio-link": "#0C6678",
433
+ "--hwio-link-hover": "#00171F",
434
+ "--hwio-nav-hover": "#296EA7",
435
+ "--hwio-nav-active": "#296EA7",
429
436
  "--hwio-footer-hover": "#ffffff",
430
- "--hwio-nav-active": "#296ea7",
431
- "--hwio-kicker-on-neutral": "#01CC9B",
432
- "--hwio-link": "#0C6678"
437
+ "--hwio-icon": "#00171F",
438
+ "--hwio-icon-bg": "var(--color-base-200)",
439
+ "--hwio-note-opacity": "1"
433
440
  }
434
441
  }
435
442
  },
@@ -576,60 +583,65 @@
576
583
  "roles": {
577
584
  "display": {
578
585
  "element": "h1",
579
- "fontSize": "3.5rem",
586
+ "fontSize": "4.375rem",
580
587
  "responsive": {
581
588
  "base": "2.5rem",
582
- "md": "3rem"
589
+ "md": "3.5rem"
583
590
  },
584
591
  "from": "lg",
585
592
  "fontWeight": 700,
586
- "lineHeight": 1.05,
587
- "letterSpacing": "-0.03em"
593
+ "lineHeight": 1.2,
594
+ "letterSpacing": "-0.01em"
588
595
  },
589
596
  "heading": {
590
597
  "element": "h2",
591
- "fontSize": "2.5rem",
598
+ "fontSize": "3rem",
592
599
  "responsive": {
593
- "base": "2rem"
600
+ "base": "1.875rem",
601
+ "md": "2.5rem"
594
602
  },
595
- "from": "md",
603
+ "from": "lg",
596
604
  "fontWeight": 700,
597
- "lineHeight": 1.1,
598
- "letterSpacing": "-0.025em"
605
+ "lineHeight": 1.3,
606
+ "letterSpacing": "-0.01em"
599
607
  },
600
608
  "subheading": {
601
609
  "element": "h3",
602
- "fontSize": "1.375rem",
610
+ "fontSize": "1.5rem",
611
+ "responsive": {
612
+ "base": "1.25rem"
613
+ },
614
+ "from": "md",
603
615
  "fontWeight": 700,
604
- "lineHeight": 1.2,
605
- "letterSpacing": "-0.01em"
616
+ "lineHeight": 1.3,
617
+ "letterSpacing": "0"
606
618
  },
607
619
  "title": {
608
620
  "element": "h4",
609
621
  "fontSize": "1.125rem",
610
622
  "fontWeight": 700,
611
623
  "lineHeight": 1.3,
612
- "letterSpacing": "-0.005em"
624
+ "letterSpacing": "0"
613
625
  },
614
626
  "lead": {
615
627
  "selector": ".hwio-lead",
616
- "fontSize": "1.1875rem",
628
+ "fontSize": "1.125rem",
617
629
  "fontWeight": 400,
618
- "lineHeight": 1.55,
630
+ "lineHeight": 1.625,
619
631
  "letterSpacing": "0"
620
632
  },
621
633
  "body": {
622
634
  "element": "body",
623
635
  "fontSize": "1.0625rem",
624
636
  "fontWeight": 400,
625
- "lineHeight": 1.6,
637
+ "lineHeight": 1.625,
626
638
  "letterSpacing": "0"
627
639
  },
628
640
  "caption": {
629
641
  "selector": ".hwio-caption",
630
642
  "fontSize": "0.875rem",
631
643
  "fontWeight": 400,
632
- "lineHeight": 1.4,
644
+ "lineHeight": 1.55,
633
645
  "letterSpacing": "0"
634
646
  },
635
647
  "kicker": {
@@ -637,45 +649,46 @@
637
649
  "fontSize": "0.875rem",
638
650
  "fontWeight": 600,
639
651
  "lineHeight": 1.4,
640
- "letterSpacing": "0",
641
- "textTransform": "none"
652
+ "letterSpacing": "0.06em",
653
+ "textTransform": "uppercase"
642
654
  },
643
655
  "chip": {
644
656
  "selector": ".hwio-chip",
645
- "fontSize": "0.875rem",
646
- "fontWeight": 500,
647
- "letterSpacing": "0",
648
- "textTransform": "none"
657
+ "fontSize": "0.8125rem",
658
+ "fontWeight": 600,
659
+ "letterSpacing": "0.06em",
660
+ "textTransform": "uppercase"
649
661
  },
650
662
  "figure": {
651
663
  "selector": ".hwio-figure",
652
- "fontSize": "2.5rem",
664
+ "fontSize": "3rem",
653
665
  "responsive": {
654
- "base": "2.25rem"
666
+ "base": "2.5rem"
655
667
  },
656
668
  "from": "lg",
657
669
  "fontWeight": 700,
658
- "lineHeight": 1,
659
- "letterSpacing": "-0.03em"
670
+ "lineHeight": 1.2,
671
+ "letterSpacing": "-0.01em"
660
672
  },
661
673
  "button": {
662
674
  "selector": ".btn",
663
675
  "fontSize": "0.9375rem",
664
676
  "fontWeight": 600,
665
677
  "lineHeight": 1,
666
- "letterSpacing": "0"
678
+ "letterSpacing": "0.06em",
679
+ "textTransform": "uppercase"
667
680
  }
668
681
  },
669
682
  "weights": {
670
- "nav": 500,
683
+ "nav": 600,
671
684
  "label": 600,
672
685
  "strong": 600,
673
- "footerTitle": 500
686
+ "footerTitle": 600
674
687
  },
675
688
  "vars": {
676
689
  "--hwio-choice-title-size": "1.75rem",
677
- "--hwio-choice-title-leading": "1.15",
678
- "--hwio-choice-title-tracking": "-0.02em"
690
+ "--hwio-choice-title-leading": "1.3",
691
+ "--hwio-choice-title-tracking": "-0.01em"
679
692
  }
680
693
  }
681
694
  }
package/dist/vars.css CHANGED
@@ -240,24 +240,24 @@
240
240
  [data-theme="er3o"] {
241
241
  color-scheme: light;
242
242
  --hwio-color-base-100: #ffffff;
243
- --hwio-color-base-200: #f9fafb;
244
- --hwio-color-base-300: #f3f4f6;
245
- --hwio-color-base-content: #333333;
246
- --hwio-color-primary: #14A0C0;
243
+ --hwio-color-base-200: #F4F4F4;
244
+ --hwio-color-base-300: #DDDDDD;
245
+ --hwio-color-base-content: #00171F;
246
+ --hwio-color-primary: #296EA7;
247
247
  --hwio-color-primary-content: #ffffff;
248
- --hwio-color-secondary: #01CC9B;
249
- --hwio-color-secondary-content: #061920;
248
+ --hwio-color-secondary: #14A0C0;
249
+ --hwio-color-secondary-content: #00171F;
250
250
  --hwio-color-accent: #0C6678;
251
251
  --hwio-color-accent-content: #ffffff;
252
- --hwio-color-neutral: #404040;
252
+ --hwio-color-neutral: #00171F;
253
253
  --hwio-color-neutral-content: #ffffff;
254
- --hwio-color-info: #19768B;
254
+ --hwio-color-info: #0C6678;
255
255
  --hwio-color-info-content: #ffffff;
256
- --hwio-color-success: #15803d;
256
+ --hwio-color-success: #15803D;
257
257
  --hwio-color-success-content: #ffffff;
258
- --hwio-color-warning: #b45309;
258
+ --hwio-color-warning: #B45309;
259
259
  --hwio-color-warning-content: #ffffff;
260
- --hwio-color-error: #dc2626;
260
+ --hwio-color-error: #DC2626;
261
261
  --hwio-color-error-content: #ffffff;
262
262
  --hwio-radius-selector: 2rem;
263
263
  --hwio-radius-field: 2rem;
@@ -268,10 +268,16 @@
268
268
  --hwio-depth: 0;
269
269
  --hwio-noise: 0;
270
270
  --hwio-font-sans: 'Poppins', 'Poppins Fallback', ui-sans-serif, system-ui, sans-serif;
271
- --er3o-gradient-from: #01CC9B;
272
- --er3o-gradient-to: #14A0C0;
273
- --hwio-footer-hover: #ffffff;
274
- --hwio-nav-active: #296ea7;
275
- --hwio-kicker-on-neutral: #01CC9B;
271
+ --er3o-gradient: linear-gradient(90deg, #7DE314, #01CC9B, #14A0C0);
272
+ --hwio-text-secondary: #5B5B5B;
273
+ --hwio-text-secondary-on-neutral: #CCD1D2;
274
+ --hwio-kicker-on-neutral: #ffffff;
276
275
  --hwio-link: #0C6678;
276
+ --hwio-link-hover: #00171F;
277
+ --hwio-nav-hover: #296EA7;
278
+ --hwio-nav-active: #296EA7;
279
+ --hwio-footer-hover: #ffffff;
280
+ --hwio-icon: #00171F;
281
+ --hwio-icon-bg: var(--color-base-200);
282
+ --hwio-note-opacity: 1;
277
283
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubpav/hwio-brand",
3
- "version": "0.10.10",
3
+ "version": "0.11.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
@@ -1,5 +1,5 @@
1
1
  {
2
- "$comment": "Source of truth for HARDWARIO web brand values. Edit here, run `npm run build`; every generated artifact (tokens.json, vars.css, docusaurus.css, the DaisyUI theme files in @hubpav/hwio-ui, DESIGN.md) is committed or rebuilt so a change shows its full downstream diff. Colours are hex; theme roles and extras may reference palette keys. Since 2026-10-30 the HARDWARIO themes follow the Brand Guidelines HBG.261028.01 (revision 4, issued 2026-10-30; the master: nothing on the web contradicts them): chapter 03 colour roles (Blue for buttons and links, Ink text, Panel, Mist and Hairline neutrals, status Green, Amber, Red and Info in Blue), the gradient (D1, D23, D33), dark mode (D35), chapter 04 type (D8, D12, D22), chapter 05 grid and icons, chapter 06 charts (D14). The web-only rules on top (responsive sizes, breakpoints, states, motion) are the web layer in website-admin DESIGN-SYSTEM.md. Owner rulings still in force: R3 font-display block + gate, R4 sentence-case buttons, R7 and R12 (ENEROOO keeps its palette, Poppins, graphite footer and the direction A type ramp on er3o), R11 light default and remembered dark. Replaced by the guidelines on 2026-10-30: R1 (navy primary), R2's palette (now D35), R9's type ramp and sentence-case kickers.",
2
+ "$comment": "Source of truth for HARDWARIO web brand values. Edit here, run `npm run build`; every generated artifact (tokens.json, vars.css, docusaurus.css, the DaisyUI theme files in @hubpav/hwio-ui, DESIGN.md) is committed or rebuilt so a change shows its full downstream diff. Colours are hex; theme roles and extras may reference palette keys. Since 2026-10-30 the HARDWARIO themes follow the Brand Guidelines HBG.261028.01 (revision 4, issued 2026-10-30; the master: nothing on the web contradicts them): chapter 03 colour roles (Blue for buttons and links, Ink text, Panel, Mist and Hairline neutrals, status Green, Amber, Red and Info in Blue), the gradient (D1, D23, D33), dark mode (D35), chapter 04 type (D8, D12, D22), chapter 05 grid and icons, chapter 06 charts (D14). The web-only rules on top (responsive sizes, breakpoints, states, motion) are the web layer in website-admin DESIGN-SYSTEM.md. Owner rulings still in force: R3 font-display block + gate, R4 sentence-case buttons, R7 (ENEROOO keeps Poppins on its own theme er3o, which since 2026-11-24 follows the ENEROOO brand guidelines HBG.261029.01 and so replaces R12's graphite footer and the direction A type ramp), R11 light default and remembered dark. Replaced by the guidelines on 2026-10-30: R1 (navy primary), R2's palette (now D35), R9's type ramp and sentence-case kickers.",
3
3
  "guidelines": {
4
4
  "reference": "HBG.261028.01",
5
5
  "revision": 4,
@@ -8,7 +8,7 @@
8
8
  "source": "company/docs brand/hbg.261028.01-r4-en-hardwario-brand-guidelines.typ; values of record in templates/brandbook.typ (brand-* definitions)"
9
9
  },
10
10
  "palette": {
11
- "$comment": "Guideline colours carry the guideline names, so `brand-<name>` in company/docs templates/brandbook.typ maps to the key <name> here (website-admin scripts/brand-drift.py checks them). dark-* are the dark-mode values of D35. gradient-figure-end is the gradient sampled at 75 % (D23). forestry-* and er3o-* are theme colours outside the guidelines. Panel is #f7f7f7 by the owner's decision of 2026-10-30 (change request CR-1: the Red caps kicker on Panel reaches 4.5:1), the value of record since guidelines revision 4.",
11
+ "$comment": "Guideline colours carry the guideline names, so `brand-<name>` in company/docs templates/brandbook.typ maps to the key <name> here (website-admin scripts/brand-drift.py checks them). dark-* are the dark-mode values of D35. gradient-figure-end is the gradient sampled at 75 % (D23). forestry-* are theme colours outside the guidelines. er3o-* are the ENEROOO brand guidelines' colours (HBG.261029.01; `eo-<name>` in company/docs templates/enerooo-brandbook.typ maps to the key er3o-<name> here, also checked by brand-drift.py). Panel is #f7f7f7 by the owner's decision of 2026-10-30 (change request CR-1: the Red caps kicker on Panel reaches 4.5:1), the value of record since guidelines revision 4.",
12
12
  "white": "#ffffff",
13
13
  "red": "#e30427",
14
14
  "blue": "#016ad4",
@@ -31,18 +31,19 @@
31
31
  "gradient-figure-end": "#3976c5",
32
32
  "forestry": "#2B7036",
33
33
  "forestry-light": "#5aa864",
34
- "er3o-green": "#01CC9B",
34
+ "er3o-lime": "#7DE314",
35
+ "er3o-mint": "#01CC9B",
35
36
  "er3o-teal": "#14A0C0",
36
- "er3o-teal-text": "#0C6678",
37
- "er3o-heading": "#19768B",
38
- "er3o-ink": "#061920",
39
- "er3o-graphite": "#404040",
40
- "er3o-text": "#333333",
41
- "er3o-gray-50": "#f9fafb",
42
- "er3o-gray-100": "#f3f4f6",
43
- "er3o-success": "#15803d",
44
- "er3o-warning": "#b45309",
45
- "er3o-error": "#dc2626"
37
+ "er3o-blue": "#296EA7",
38
+ "er3o-night": "#00171F",
39
+ "er3o-gray": "#999999",
40
+ "er3o-petrol": "#0C6678",
41
+ "er3o-graphite": "#5B5B5B",
42
+ "er3o-panel": "#F4F4F4",
43
+ "er3o-hairline": "#DDDDDD",
44
+ "er3o-ok": "#15803D",
45
+ "er3o-warning": "#B45309",
46
+ "er3o-error": "#DC2626"
46
47
  },
47
48
  "gradient": {
48
49
  "$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.",
@@ -198,20 +199,20 @@
198
199
  "layout": "hub",
199
200
  "roles": {
200
201
  "base-100": "white",
201
- "base-200": "er3o-gray-50",
202
- "base-300": "er3o-gray-100",
203
- "base-content": "er3o-text",
204
- "primary": "er3o-teal",
202
+ "base-200": "er3o-panel",
203
+ "base-300": "er3o-hairline",
204
+ "base-content": "er3o-night",
205
+ "primary": "er3o-blue",
205
206
  "primary-content": "white",
206
- "secondary": "er3o-green",
207
- "secondary-content": "er3o-ink",
208
- "accent": "er3o-teal-text",
207
+ "secondary": "er3o-teal",
208
+ "secondary-content": "er3o-night",
209
+ "accent": "er3o-petrol",
209
210
  "accent-content": "white",
210
- "neutral": "er3o-graphite",
211
+ "neutral": "er3o-night",
211
212
  "neutral-content": "white",
212
- "info": "er3o-heading",
213
+ "info": "er3o-petrol",
213
214
  "info-content": "white",
214
- "success": "er3o-success",
215
+ "success": "er3o-ok",
215
216
  "success-content": "white",
216
217
  "warning": "er3o-warning",
217
218
  "warning-content": "white",
@@ -219,12 +220,18 @@
219
220
  "error-content": "white"
220
221
  },
221
222
  "extras": {
222
- "--er3o-gradient-from": "#01CC9B",
223
- "--er3o-gradient-to": "#14A0C0",
224
- "--hwio-footer-hover": "#ffffff",
225
- "--hwio-nav-active": "#296ea7",
226
- "--hwio-kicker-on-neutral": "#01CC9B",
227
- "--hwio-link": "#0C6678"
223
+ "--er3o-gradient": "linear-gradient(90deg, #7DE314, #01CC9B, #14A0C0)",
224
+ "--hwio-text-secondary": "er3o-graphite",
225
+ "--hwio-text-secondary-on-neutral": "#CCD1D2",
226
+ "--hwio-kicker-on-neutral": "white",
227
+ "--hwio-link": "er3o-petrol",
228
+ "--hwio-link-hover": "er3o-night",
229
+ "--hwio-nav-hover": "er3o-blue",
230
+ "--hwio-nav-active": "er3o-blue",
231
+ "--hwio-footer-hover": "white",
232
+ "--hwio-icon": "er3o-night",
233
+ "--hwio-icon-bg": "var(--color-base-200)",
234
+ "--hwio-note-opacity": "1"
228
235
  }
229
236
  }
230
237
  },
@@ -372,64 +379,69 @@
372
379
  }
373
380
  },
374
381
  "er3o": {
375
- "$comment": "Direction A (R9, 2026-09-05) as shipped until 0.7.11, kept for er3o: ENEROOO has its own brand manual (PLAN 4.7) and its look stays unchanged until then.",
382
+ "$comment": "The web column of the ENEROOO brand guidelines HBG.261029.01 (chapter 04, Hierarchie; owner, 2026-11-24): title Bold 48-70 px, heading Bold 30-48 px, subheading Bold 20-24 px, text Regular 16-18 px at 1.625, caption 14 px, kicker SemiBold caps 14 px; line height at least 1.2 for titles, 1.3 for headings, 1.55 for small text (chapter 04, Sazba). Three weights only, Regular, SemiBold and Bold (no Medium): navigation, labels, emphasis and buttons in SemiBold, buttons and kickers in caps with 0.06 em tracking. Phones step the title down to 40 px so Czech words fit a 320 px column.",
376
383
  "roles": {
377
384
  "display": {
378
385
  "element": "h1",
379
- "fontSize": "3.5rem",
386
+ "fontSize": "4.375rem",
380
387
  "responsive": {
381
388
  "base": "2.5rem",
382
- "md": "3rem"
389
+ "md": "3.5rem"
383
390
  },
384
391
  "from": "lg",
385
392
  "fontWeight": 700,
386
- "lineHeight": 1.05,
387
- "letterSpacing": "-0.03em"
393
+ "lineHeight": 1.2,
394
+ "letterSpacing": "-0.01em"
388
395
  },
389
396
  "heading": {
390
397
  "element": "h2",
391
- "fontSize": "2.5rem",
398
+ "fontSize": "3rem",
392
399
  "responsive": {
393
- "base": "2rem"
400
+ "base": "1.875rem",
401
+ "md": "2.5rem"
394
402
  },
395
- "from": "md",
403
+ "from": "lg",
396
404
  "fontWeight": 700,
397
- "lineHeight": 1.1,
398
- "letterSpacing": "-0.025em"
405
+ "lineHeight": 1.3,
406
+ "letterSpacing": "-0.01em"
399
407
  },
400
408
  "subheading": {
401
409
  "element": "h3",
402
- "fontSize": "1.375rem",
410
+ "fontSize": "1.5rem",
411
+ "responsive": {
412
+ "base": "1.25rem"
413
+ },
414
+ "from": "md",
403
415
  "fontWeight": 700,
404
- "lineHeight": 1.2,
405
- "letterSpacing": "-0.01em"
416
+ "lineHeight": 1.3,
417
+ "letterSpacing": "0"
406
418
  },
407
419
  "title": {
408
420
  "element": "h4",
409
421
  "fontSize": "1.125rem",
410
422
  "fontWeight": 700,
411
423
  "lineHeight": 1.3,
412
- "letterSpacing": "-0.005em"
424
+ "letterSpacing": "0"
413
425
  },
414
426
  "lead": {
415
427
  "selector": ".hwio-lead",
416
- "fontSize": "1.1875rem",
428
+ "fontSize": "1.125rem",
417
429
  "fontWeight": 400,
418
- "lineHeight": 1.55,
430
+ "lineHeight": 1.625,
419
431
  "letterSpacing": "0"
420
432
  },
421
433
  "body": {
422
434
  "element": "body",
423
435
  "fontSize": "1.0625rem",
424
436
  "fontWeight": 400,
425
- "lineHeight": 1.6,
437
+ "lineHeight": 1.625,
426
438
  "letterSpacing": "0"
427
439
  },
428
440
  "caption": {
429
441
  "selector": ".hwio-caption",
430
442
  "fontSize": "0.875rem",
431
443
  "fontWeight": 400,
432
- "lineHeight": 1.4,
444
+ "lineHeight": 1.55,
433
445
  "letterSpacing": "0"
434
446
  },
435
447
  "kicker": {
@@ -437,45 +449,46 @@
437
449
  "fontSize": "0.875rem",
438
450
  "fontWeight": 600,
439
451
  "lineHeight": 1.4,
440
- "letterSpacing": "0",
441
- "textTransform": "none"
452
+ "letterSpacing": "0.06em",
453
+ "textTransform": "uppercase"
442
454
  },
443
455
  "chip": {
444
456
  "selector": ".hwio-chip",
445
- "fontSize": "0.875rem",
446
- "fontWeight": 500,
447
- "letterSpacing": "0",
448
- "textTransform": "none"
457
+ "fontSize": "0.8125rem",
458
+ "fontWeight": 600,
459
+ "letterSpacing": "0.06em",
460
+ "textTransform": "uppercase"
449
461
  },
450
462
  "figure": {
451
463
  "selector": ".hwio-figure",
452
- "fontSize": "2.5rem",
464
+ "fontSize": "3rem",
453
465
  "responsive": {
454
- "base": "2.25rem"
466
+ "base": "2.5rem"
455
467
  },
456
468
  "from": "lg",
457
469
  "fontWeight": 700,
458
- "lineHeight": 1,
459
- "letterSpacing": "-0.03em"
470
+ "lineHeight": 1.2,
471
+ "letterSpacing": "-0.01em"
460
472
  },
461
473
  "button": {
462
474
  "selector": ".btn",
463
475
  "fontSize": "0.9375rem",
464
476
  "fontWeight": 600,
465
477
  "lineHeight": 1,
466
- "letterSpacing": "0"
478
+ "letterSpacing": "0.06em",
479
+ "textTransform": "uppercase"
467
480
  }
468
481
  },
469
482
  "weights": {
470
- "nav": 500,
483
+ "nav": 600,
471
484
  "label": 600,
472
485
  "strong": 600,
473
- "footerTitle": 500
486
+ "footerTitle": 600
474
487
  },
475
488
  "vars": {
476
489
  "--hwio-choice-title-size": "1.75rem",
477
- "--hwio-choice-title-leading": "1.15",
478
- "--hwio-choice-title-tracking": "-0.02em"
490
+ "--hwio-choice-title-leading": "1.3",
491
+ "--hwio-choice-title-tracking": "-0.01em"
479
492
  }
480
493
  }
481
494
  }