@hubpav/hwio-ui 0.7.11 → 0.9.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.
Files changed (32) hide show
  1. package/package.json +4 -4
  2. package/src/components/HWioApplicationTile.astro +49 -0
  3. package/src/components/HWioButton.astro +9 -4
  4. package/src/components/HWioChoiceCards.astro +3 -3
  5. package/src/components/HWioContactSection.astro +1 -1
  6. package/src/components/HWioCookieConsent.astro +9 -9
  7. package/src/components/HWioCutout.astro +58 -0
  8. package/src/components/HWioFaq.astro +1 -1
  9. package/src/components/HWioFeatureCard.astro +1 -1
  10. package/src/components/HWioFooter.astro +7 -4
  11. package/src/components/HWioHeader.astro +13 -6
  12. package/src/components/HWioHeroSplit.astro +14 -7
  13. package/src/components/HWioIsoScene.astro +93 -0
  14. package/src/components/HWioKeyFigure.astro +45 -0
  15. package/src/components/HWioLanguageSwitcher.astro +11 -1
  16. package/src/components/HWioLogoStrip.astro +1 -1
  17. package/src/components/HWioMegaLinks.astro +54 -0
  18. package/src/components/HWioPhoto.astro +36 -0
  19. package/src/components/HWioPricingTiers.astro +1 -1
  20. package/src/components/HWioProcessSteps.astro +1 -1
  21. package/src/components/HWioReveal.astro +15 -0
  22. package/src/components/HWioSection.astro +1 -0
  23. package/src/components/HWioStatsBand.astro +2 -2
  24. package/src/components/HWioStoryCard.astro +38 -0
  25. package/src/styles/prose.css +3 -3
  26. package/src/styles/styles.css +325 -37
  27. package/src/styles/themes/er3o.css +92 -1
  28. package/src/styles/themes/hwio-dark.css +127 -19
  29. package/src/styles/themes/hwio-forestry-dark.css +127 -19
  30. package/src/styles/themes/hwio-forestry.css +121 -13
  31. package/src/styles/themes/hwio.css +122 -14
  32. package/src/types.ts +9 -0
@@ -5,24 +5,24 @@
5
5
  prefersdark: false;
6
6
  color-scheme: light;
7
7
  --color-base-100: #ffffff;
8
- --color-base-200: #F1FAFF;
9
- --color-base-300: #e5e7eb;
8
+ --color-base-200: #f7f7f7;
9
+ --color-base-300: #dcdcdc;
10
10
  --color-base-content: #252532;
11
- --color-primary: #06367a;
11
+ --color-primary: #016ad4;
12
12
  --color-primary-content: #ffffff;
13
- --color-secondary: #016ad4;
13
+ --color-secondary: #06367a;
14
14
  --color-secondary-content: #ffffff;
15
15
  --color-accent: #e30427;
16
16
  --color-accent-content: #ffffff;
17
17
  --color-neutral: #252532;
18
- --color-neutral-content: #f3f4f6;
19
- --color-info: #009cfa;
20
- --color-info-content: #06367a;
21
- --color-success: #15803d;
18
+ --color-neutral-content: #ffffff;
19
+ --color-info: #016ad4;
20
+ --color-info-content: #ffffff;
21
+ --color-success: #2e7d4f;
22
22
  --color-success-content: #ffffff;
23
- --color-warning: #b45309;
24
- --color-warning-content: #ffffff;
25
- --color-error: #dc2626;
23
+ --color-warning: #c76a00;
24
+ --color-warning-content: #252532;
25
+ --color-error: #e30427;
26
26
  --color-error-content: #ffffff;
27
27
  --radius-selector: 2rem;
28
28
  --radius-field: 0.5rem;
@@ -36,7 +36,115 @@
36
36
 
37
37
  :root, [data-theme="hwio"] {
38
38
  --hwio-font-sans: 'Inter', 'Inter Fallback', ui-sans-serif, system-ui, sans-serif;
39
- --hwio-container: 1275px;
40
- --hwio-container-pad: 27px;
41
- --hwio-kicker-on-neutral: #fb7185;
39
+ --hwio-container: 1328px;
40
+ --hwio-container-pad: 24px;
41
+ --hwio-grid-columns: 12;
42
+ --hwio-grid-width: 1280px;
43
+ --hwio-grid-gutter: 24px;
44
+ --er3o-gradient-from: initial;
45
+ --er3o-gradient-to: initial;
46
+ --hwio-chart-1: #016ad4;
47
+ --hwio-chart-2: #009cfa;
48
+ --hwio-chart-3: #6b6a6a;
49
+ --hwio-chart-failure: #e30427;
50
+ --hwio-chart-forecast: #e8e8e8;
51
+ --hwio-chart-highlight: #06367a;
52
+ --hwio-chart-label: #252532;
53
+ --hwio-chart-outline: #016ad4;
54
+ --hwio-chart-outline-width: 1px;
55
+ --hwio-footer-hover: #009cfa;
56
+ --hwio-gradient: linear-gradient(90deg, #e30427, #009cfa);
57
+ --hwio-gradient-figure: linear-gradient(90deg, #e30427, #3976c5);
58
+ --hwio-icon: #06367a;
59
+ --hwio-icon-bg: var(--color-base-200);
60
+ --hwio-kicker-on-alt: initial;
61
+ --hwio-kicker-on-neutral: #d1d5db;
62
+ --hwio-link: #016ad4;
63
+ --hwio-link-hover: #06367a;
64
+ --hwio-mist: #e8e8e8;
65
+ --hwio-motion-base: 300ms;
66
+ --hwio-motion-easing: ease-out;
67
+ --hwio-motion-fast: 200ms;
68
+ --hwio-motion-reveal: 400ms;
69
+ --hwio-motion-slow: 400ms;
70
+ --hwio-nav-active: initial;
71
+ --hwio-nav-hover: #016ad4;
72
+ --hwio-note-opacity: 1;
73
+ --hwio-text-secondary: #6b6a6a;
74
+ --hwio-text-secondary-on-neutral: #d1d5db;
75
+ /* Type preset "hwio" */
76
+ --hwio-type-display-size: 2.5rem;
77
+ --hwio-type-display-weight: 700;
78
+ --hwio-type-display-leading: 1.2;
79
+ --hwio-type-display-tracking: -0.02em;
80
+ --hwio-type-heading-size: 2rem;
81
+ --hwio-type-heading-weight: 600;
82
+ --hwio-type-heading-leading: 1.3;
83
+ --hwio-type-heading-tracking: -0.015em;
84
+ --hwio-type-subheading-size: 1.5rem;
85
+ --hwio-type-subheading-weight: 600;
86
+ --hwio-type-subheading-leading: 1.3;
87
+ --hwio-type-subheading-tracking: -0.01em;
88
+ --hwio-type-title-size: 1.25rem;
89
+ --hwio-type-title-weight: 700;
90
+ --hwio-type-title-leading: 1.3;
91
+ --hwio-type-title-tracking: 0;
92
+ --hwio-type-lead-size: 1.1875rem;
93
+ --hwio-type-lead-weight: 400;
94
+ --hwio-type-lead-leading: 1.55;
95
+ --hwio-type-lead-tracking: 0;
96
+ --hwio-type-body-size: 1rem;
97
+ --hwio-type-body-weight: 400;
98
+ --hwio-type-body-leading: 1.6;
99
+ --hwio-type-body-tracking: 0;
100
+ --hwio-type-caption-size: 0.8125rem;
101
+ --hwio-type-caption-weight: 400;
102
+ --hwio-type-caption-leading: 1.4;
103
+ --hwio-type-caption-tracking: 0;
104
+ --hwio-type-kicker-size: 0.8125rem;
105
+ --hwio-type-kicker-weight: 700;
106
+ --hwio-type-kicker-leading: 1.4;
107
+ --hwio-type-kicker-tracking: 0.07em;
108
+ --hwio-type-kicker-case: uppercase;
109
+ --hwio-type-chip-size: 0.75rem;
110
+ --hwio-type-chip-weight: 700;
111
+ --hwio-type-chip-leading: 1.4;
112
+ --hwio-type-chip-tracking: 0.07em;
113
+ --hwio-type-chip-case: uppercase;
114
+ --hwio-type-figure-size: 2.5rem;
115
+ --hwio-type-figure-weight: 700;
116
+ --hwio-type-figure-leading: 1.2;
117
+ --hwio-type-figure-tracking: -0.02em;
118
+ --hwio-type-button-size: 0.9375rem;
119
+ --hwio-type-button-weight: 700;
120
+ --hwio-type-button-leading: 1;
121
+ --hwio-type-button-tracking: 0;
122
+ --hwio-weight-nav: 400;
123
+ --hwio-weight-label: 700;
124
+ --hwio-weight-strong: 700;
125
+ --hwio-weight-footer-title: 700;
126
+ --hwio-choice-title-size: var(--hwio-type-subheading-size);
127
+ --hwio-choice-title-leading: var(--hwio-type-subheading-leading);
128
+ --hwio-choice-title-tracking: var(--hwio-type-subheading-tracking);
129
+ }
130
+
131
+ @media (width >= 48rem) {
132
+ :root, [data-theme="hwio"] {
133
+ --hwio-type-display-size: 3rem;
134
+ }
135
+ }
136
+ @media (width >= 64rem) {
137
+ :root, [data-theme="hwio"] {
138
+ --hwio-type-display-size: 3.75rem;
139
+ --hwio-type-heading-size: 2.5rem;
140
+ --hwio-type-heading-leading: 1.2;
141
+ --hwio-type-subheading-size: 1.75rem;
142
+ }
143
+ }
144
+ @media (width >= 80rem) {
145
+ :root, [data-theme="hwio"] {
146
+ --hwio-type-display-size: 4.5rem;
147
+ --hwio-type-heading-size: 3rem;
148
+ --hwio-type-subheading-size: 2rem;
149
+ }
42
150
  }
package/src/types.ts CHANGED
@@ -21,6 +21,15 @@ export interface HWioMedia {
21
21
  sizes?: string;
22
22
  }
23
23
 
24
+ /** Frame proportions shared by HWioPhoto, HWioCutout and the cards built on them. */
25
+ export type HWioAspect = '1/1' | '4/3' | '3/2' | '16/9' | '4/5' | '3/4';
26
+
27
+ /** A drawn isometric room behind a product cut-out (artwork library), with its dark-theme drawing. */
28
+ export interface HWioBackdrop {
29
+ light: string;
30
+ dark?: string;
31
+ }
32
+
24
33
  export interface HWioCta extends HWioLinkItem {
25
34
  /** Visual weight; primary is the DaisyUI btn-primary fill. */
26
35
  variant?: 'primary' | 'secondary' | 'ghost';