@orange-halo/tokens 1.0.0 → 2.0.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/contrast-pairs.json +35 -0
- package/contrast.js +59 -0
- package/dist/themes/dark.css +59 -119
- package/dist/themes/dark.json +783 -0
- package/dist/themes/light.css +10 -9
- package/dist/tokens.css +133 -71
- package/dist/tokens.js +119 -55
- package/dist/tokens.json +162 -46
- package/package.json +8 -4
- package/tokens/component.tokens.json +81 -37
- package/tokens/global.tokens.json +836 -156
- package/tokens/semantic.tokens.json +704 -138
- package/tokens/themes/dark.tokens.json +66 -51
- package/tokens/themes/light.tokens.json +0 -57
package/dist/tokens.js
CHANGED
|
@@ -11,8 +11,8 @@ export const OhColorOrange500 = "#ff9800";
|
|
|
11
11
|
export const OhColorOrange600 = "#fb8c00";
|
|
12
12
|
export const OhColorOrange700 = "#f57c00";
|
|
13
13
|
export const OhColorOrange800 = "#ef6c00";
|
|
14
|
-
export const OhColorOrange900 = "#c54300"; // Primary brand —
|
|
15
|
-
export const OhColorOrange950 = "#9e3500"; // Hover/active
|
|
14
|
+
export const OhColorOrange900 = "#c54300"; // Primary brand — 5.0:1 with white text, 4.7:1 on cream. Chosen for contrast: do not lighten.
|
|
15
|
+
export const OhColorOrange950 = "#9e3500"; // Hover/active — 7.1:1 with white text, 6.6:1 on cream
|
|
16
16
|
export const OhColorHoney50 = "#fefaee";
|
|
17
17
|
export const OhColorHoney100 = "#fdf3d4";
|
|
18
18
|
export const OhColorHoney200 = "#fbe7a8";
|
|
@@ -20,8 +20,9 @@ export const OhColorHoney300 = "#f8d56f";
|
|
|
20
20
|
export const OhColorHoney400 = "#e8a838"; // Signature honey
|
|
21
21
|
export const OhColorHoney500 = "#d4922c";
|
|
22
22
|
export const OhColorHoney600 = "#b87a24";
|
|
23
|
-
export const OhColorHoney700 = "#8c5e1c"; //
|
|
23
|
+
export const OhColorHoney700 = "#8c5e1c"; // 5.3:1 on cream
|
|
24
24
|
export const OhColorHoney800 = "#6b4815";
|
|
25
|
+
export const OhColorHoney900 = "#3d3529"; // Dark theme warning tint
|
|
25
26
|
export const OhColorTerracotta50 = "#fbf5f0";
|
|
26
27
|
export const OhColorTerracotta100 = "#f5e8de";
|
|
27
28
|
export const OhColorTerracotta200 = "#e8cdbf";
|
|
@@ -37,35 +38,49 @@ export const OhColorEucalyptus100 = "#e0ebeb";
|
|
|
37
38
|
export const OhColorEucalyptus200 = "#c2d7d7";
|
|
38
39
|
export const OhColorEucalyptus300 = "#9ebebe";
|
|
39
40
|
export const OhColorEucalyptus400 = "#7aa3a4";
|
|
40
|
-
export const OhColorEucalyptus500 = "#5f8a8b"; //
|
|
41
|
+
export const OhColorEucalyptus500 = "#5f8a8b"; // 3.6:1 on cream — UI and large text only
|
|
41
42
|
export const OhColorEucalyptus600 = "#4d7172";
|
|
42
|
-
export const OhColorEucalyptus700 = "#3f5c5d"; //
|
|
43
|
+
export const OhColorEucalyptus700 = "#3f5c5d"; // 6.8:1 on cream
|
|
43
44
|
export const OhColorEucalyptus800 = "#344a4b";
|
|
44
45
|
export const OhColorEucalyptus900 = "#2a3c3d";
|
|
45
46
|
export const OhColorWarmCream = "#faf7f2"; // Base background — warm off-white
|
|
46
47
|
export const OhColorWarmLinen = "#f5f0e8"; // Raised surface
|
|
48
|
+
export const OhColorWarmDawn = "#fffbf5"; // Sunlit gradient — top
|
|
49
|
+
export const OhColorWarmShell = "#fdf6ee"; // Sunlit gradient — middle
|
|
50
|
+
export const OhColorWarmBiscuit = "#f8efe4"; // Sunlit gradient — bottom
|
|
47
51
|
export const OhColorWarmParchment = "#ede8df"; // Inset surface
|
|
48
52
|
export const OhColorWarmSand = "#e2dcd2"; // Borders, dividers
|
|
49
|
-
export const OhColorWarmDune = "#c9c1b4"; //
|
|
50
|
-
export const
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
53
|
+
export const OhColorWarmDune = "#c9c1b4"; // Decorative only — 1.7:1 on cream, never for control borders
|
|
54
|
+
export const OhColorWarmStone = "#a09080"; // Dark theme control borders — 4.9:1 on cocoa
|
|
55
|
+
export const OhColorWarmTaupe = "#8a7a68"; // Dark theme borders — 3.7:1 on cocoa, 3.0:1 on walnut
|
|
56
|
+
export const OhColorWarmDriftwood = "#6b5d4d"; // Secondary text — 6.0:1 on cream
|
|
57
|
+
export const OhColorWarmBark = "#52463a"; // Emphasis text — 8.6:1 on cream
|
|
58
|
+
export const OhColorWarmHickory = "#4a3f33"; // Dark theme hover and highlight surface
|
|
59
|
+
export const OhColorWarmChestnut = "#44382c"; // Dark theme sunlit surface
|
|
60
|
+
export const OhColorWarmWalnut = "#3d3229"; // Primary text — 11.7:1 on cream. Dark theme raised surface
|
|
61
|
+
export const OhColorWarmMocha = "#352e28"; // Dark theme pressed and disabled surface
|
|
62
|
+
export const OhColorWarmCocoa = "#2a2420"; // Dark theme page background
|
|
63
|
+
export const OhColorWarmEspresso = "#1f1a17"; // Dark theme inset surface
|
|
53
64
|
export const OhColorGreen50 = "#f0f7f1";
|
|
54
65
|
export const OhColorGreen100 = "#d9edd9";
|
|
66
|
+
export const OhColorGreen300 = "#7ab87c"; // Dark theme success — 6.5:1 with cocoa text
|
|
55
67
|
export const OhColorGreen500 = "#5a9a5c";
|
|
56
|
-
export const OhColorGreen600 = "#4a8a4c"; //
|
|
57
|
-
export const OhColorGreen700 = "#3d7340";
|
|
68
|
+
export const OhColorGreen600 = "#4a8a4c"; // 3.9:1 on cream — icons and UI only, not text
|
|
69
|
+
export const OhColorGreen700 = "#3d7340"; // Success text — 5.3:1 on cream, 5.2:1 on green.50
|
|
70
|
+
export const OhColorGreen900 = "#2a3629"; // Dark theme success tint
|
|
58
71
|
export const OhColorRed50 = "#fdf4f3";
|
|
59
72
|
export const OhColorRed100 = "#f9e0dc";
|
|
73
|
+
export const OhColorRed300 = "#e08f8d"; // Dark theme error — 6.2:1 with cocoa text
|
|
60
74
|
export const OhColorRed500 = "#c75450";
|
|
61
|
-
export const OhColorRed600 = "#b54540"; //
|
|
75
|
+
export const OhColorRed600 = "#b54540"; // 5.1:1 on cream
|
|
62
76
|
export const OhColorRed700 = "#943836"; // Hover/active state
|
|
77
|
+
export const OhColorRed900 = "#3d2a29"; // Dark theme error tint
|
|
63
78
|
export const OhColorBlue50 = "#eef4f9";
|
|
64
79
|
export const OhColorBlue100 = "#d6e4f0";
|
|
65
80
|
export const OhColorBlue200 = "#a0b4c8";
|
|
66
81
|
export const OhColorBlue300 = "#7a9ab8";
|
|
67
82
|
export const OhColorBlue400 = "#5a82a8";
|
|
68
|
-
export const OhColorBlue500 = "#3d5a80"; // Signature
|
|
83
|
+
export const OhColorBlue500 = "#3d5a80"; // Signature accent — 7.1:1 with white text, 6.6:1 on cream
|
|
69
84
|
export const OhColorBlue600 = "#354f70"; // Hover state
|
|
70
85
|
export const OhColorBlue700 = "#2e4460"; // Active state
|
|
71
86
|
export const OhColorBlue800 = "#253850";
|
|
@@ -74,34 +89,28 @@ export const OhColorBrandPrimary = "#c54300"; // Primary brand action — WCAG A
|
|
|
74
89
|
export const OhColorBrandPrimaryHover = "#9e3500"; // Hover state
|
|
75
90
|
export const OhColorBrandPrimaryActive = "#9e3500"; // Active/pressed state
|
|
76
91
|
export const OhColorBrandPrimarySubtle = "#fff3e0"; // Subtle tint
|
|
77
|
-
export const OhColorBrandPrimaryMuted = "#ffe0b2"; // Background tint
|
|
78
92
|
export const OhColorBrandHighlight = "#e8a838"; // Golden accent
|
|
79
93
|
export const OhColorBrandHighlightSubtle = "#fdf3d4";
|
|
80
94
|
export const OhColorAccentDefault = "#3d5a80"; // Signature blue accent
|
|
81
95
|
export const OhColorAccentHover = "#354f70";
|
|
82
96
|
export const OhColorAccentActive = "#2e4460";
|
|
83
97
|
export const OhColorAccentSubtle = "#eef4f9";
|
|
84
|
-
export const OhColorAccentMuted = "#d6e4f0";
|
|
85
98
|
export const OhColorAccentShadow = "#a0b4c8"; // Chunky shadow for accent
|
|
86
|
-
export const OhColorFeedbackSuccess = "#
|
|
99
|
+
export const OhColorFeedbackSuccess = "#3d7340"; // 5.2:1 on successSubtle — green.600 failed AA for text
|
|
87
100
|
export const OhColorFeedbackSuccessSubtle = "#f0f7f1";
|
|
88
|
-
export const OhColorFeedbackSuccessMuted = "#d9edd9";
|
|
89
101
|
export const OhColorFeedbackError = "#b54540";
|
|
90
102
|
export const OhColorFeedbackErrorHover = "#943836"; // Error hover/active state
|
|
91
103
|
export const OhColorFeedbackErrorSubtle = "#fdf4f3";
|
|
92
|
-
export const OhColorFeedbackErrorMuted = "#f9e0dc";
|
|
93
104
|
export const OhColorFeedbackErrorShadow = "#b545404d"; // Error shadow color
|
|
94
105
|
export const OhColorFeedbackWarning = "#8c5e1c";
|
|
95
106
|
export const OhColorFeedbackWarningSubtle = "#fefaee";
|
|
96
|
-
export const OhColorFeedbackWarningMuted = "#fdf3d4";
|
|
97
107
|
export const OhColorFeedbackInfo = "#3d5a80";
|
|
98
108
|
export const OhColorFeedbackInfoSubtle = "#eef4f9";
|
|
99
|
-
export const OhColorFeedbackInfoMuted = "#d6e4f0";
|
|
100
109
|
export const OhColorSurfaceBase = "#faf7f2"; // Page background — warm off-white
|
|
101
110
|
export const OhColorSurfaceRaised = "#f5f0e8"; // Cards, panels — slight lift
|
|
102
111
|
export const OhColorSurfaceSunlit = "#faf7f2"; // Featured — use with gradient
|
|
103
112
|
export const OhColorSurfaceInset = "#ede8df"; // Inputs, wells — pressed in
|
|
104
|
-
export const
|
|
113
|
+
export const OhColorSurfaceHighlight = "#ffffff"; // Brightest surface — focused inputs, top of raised gradients
|
|
105
114
|
export const OhColorSurfaceOverlay = "#3d322966"; // Modal backdrop — warm
|
|
106
115
|
export const OhColorSurfaceDisabled = "#e2dcd2"; // Quiet disabled
|
|
107
116
|
export const OhColorSurfaceHover = "#fff4e6"; // Warm hover tint
|
|
@@ -109,9 +118,8 @@ export const OhColorSurfaceActivePressed = "#f0ebe3"; // Active/pressed surface
|
|
|
109
118
|
export const OhColorBorderDefault = "#e2dcd2"; // Standard border
|
|
110
119
|
export const OhColorBorderSubtle = "#ede8df"; // Subtle dividers
|
|
111
120
|
export const OhColorBorderEmphasis = "#6b5d4d"; // Strong border for form elements
|
|
121
|
+
export const OhColorBorderStrong = "#c9c1b4"; // Neutral edge between default and emphasis — card hover, drawer edge. Decorative, not a 3:1 control border
|
|
112
122
|
export const OhColorBorderHover = "#8b4726"; // Hover border — darker for feedback
|
|
113
|
-
export const OhColorBorderFocus = "#c54300"; // Focus ring — warm orange
|
|
114
|
-
export const OhColorBorderFocusInner = "#c54300"; // Inner focus ring
|
|
115
123
|
export const OhColorBorderDisabled = "#ede8df";
|
|
116
124
|
export const OhColorBorderBrand = "#c5430040"; // Brand-tinted border
|
|
117
125
|
export const OhColorTextPrimary = "#3d3229"; // Primary text — warm brown
|
|
@@ -120,9 +128,14 @@ export const OhColorTextDisabled = "#c9c1b4"; // Disabled text
|
|
|
120
128
|
export const OhColorTextInverse = "#faf7f2"; // On dark backgrounds
|
|
121
129
|
export const OhColorTextLink = "#c54300"; // Link text
|
|
122
130
|
export const OhColorTextLinkHover = "#9e3500"; // Link hover
|
|
131
|
+
export const OhColorTextLinkRaised = "#9e3500"; // Links on raised (linen) surfaces — text.link is only 4.4:1 on linen
|
|
123
132
|
export const OhColorTextBrand = "#c54300";
|
|
124
133
|
export const OhColorTextOnBrand = "#ffffff"; // Light text on dark brand bg
|
|
125
134
|
export const OhColorTextOnAccent = "#ffffff"; // Light text on dark accent bg
|
|
135
|
+
export const OhColorTextOnSuccess = "#ffffff"; // Text on filled color.feedback.success
|
|
136
|
+
export const OhColorTextOnError = "#ffffff"; // Text on filled color.feedback.error
|
|
137
|
+
export const OhColorTextOnWarning = "#ffffff"; // Text on filled color.feedback.warning
|
|
138
|
+
export const OhColorTextOnInfo = "#ffffff"; // Text on filled color.feedback.info
|
|
126
139
|
export const OhFontFamilySans =
|
|
127
140
|
"'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif";
|
|
128
141
|
export const OhFontFamilyDisplay =
|
|
@@ -153,6 +166,7 @@ export const OhFontLetterSpacingTight = "-0.01em";
|
|
|
153
166
|
export const OhFontLetterSpacingNormal = "0";
|
|
154
167
|
export const OhFontLetterSpacingWide = "0.01em";
|
|
155
168
|
export const OhFontLetterSpacingWider = "0.02em";
|
|
169
|
+
export const OhFontLetterSpacingWidest = "0.05em"; // Uppercase labels: hero eyebrows, footer headings
|
|
156
170
|
export const OhSpacing0 = "0";
|
|
157
171
|
export const OhSpacing1 = "0.25rem"; // 4px
|
|
158
172
|
export const OhSpacing2 = "0.5rem"; // 8px
|
|
@@ -199,14 +213,14 @@ export const OhShadowGlow =
|
|
|
199
213
|
export const OhShadowInset = "inset 0 1px 3px rgba(61, 50, 41, 0.08)"; // Inputs, wells
|
|
200
214
|
export const OhShadowChunkyPrimary = "#e8c4a0"; // Warm peach for primary buttons
|
|
201
215
|
export const OhShadowChunkySecondary = "#d4c4b0"; // Neutral tan for secondary/form elements
|
|
202
|
-
export const OhShadowChunkyAccent = "#a0b4c8"; //
|
|
216
|
+
export const OhShadowChunkyAccent = "#a0b4c8"; // Blue offset shadow for accent buttons — decorative
|
|
203
217
|
export const OhShadowChunkyError = "#b545404d"; // Error state shadow
|
|
204
218
|
export const OhShadowPrimary = "#e8c4a0"; // Primary buttons
|
|
205
219
|
export const OhShadowSecondary = "#d4c4b0"; // Secondary/form elements
|
|
206
220
|
export const OhShadowAccent = "#a0b4c8"; // Accent buttons
|
|
207
221
|
export const OhShadowError = "#b545404d"; // Error state
|
|
208
222
|
export const OhGradientSunlit =
|
|
209
|
-
"linear-gradient(180deg, #
|
|
223
|
+
"linear-gradient(180deg, #fffbf5 0%, #fdf6ee 30%, #f8efe4 100%)"; // Gentle warmth for surfaces — same stops as the sunlit card
|
|
210
224
|
export const OhGradientWarm =
|
|
211
225
|
"linear-gradient(135deg, #C54300 0%, #FF9800 100%)"; // Brand emphasis
|
|
212
226
|
export const OhGradientNostalgic =
|
|
@@ -231,6 +245,15 @@ export const OhMotionEasePlayful = [0.34, 1.3, 0.64, 1];
|
|
|
231
245
|
export const OhBorderWidth0 = "0";
|
|
232
246
|
export const OhBorderWidth1 = "1px";
|
|
233
247
|
export const OhBorderWidth2 = "2px";
|
|
248
|
+
export const OhBorderWidthChunky = "2.5px"; // Signature chunky frame for controls and feedback
|
|
249
|
+
export const OhSizeContainerSm = "640px";
|
|
250
|
+
export const OhSizeContainerMd = "768px";
|
|
251
|
+
export const OhSizeContainerLg = "1024px";
|
|
252
|
+
export const OhSizeContainerXl = "1280px";
|
|
253
|
+
export const OhSizeBreakpointXs = "480px";
|
|
254
|
+
export const OhSizeBreakpointSm = "640px";
|
|
255
|
+
export const OhSizeBreakpointMd = "768px";
|
|
256
|
+
export const OhSizeBreakpointLg = "1024px";
|
|
234
257
|
export const OhZIndex0 = 0;
|
|
235
258
|
export const OhZIndex10 = 10;
|
|
236
259
|
export const OhZIndex20 = 20;
|
|
@@ -246,7 +269,7 @@ export const OhTypographyHeadingH1FontWeight = "700";
|
|
|
246
269
|
export const OhTypographyHeadingH1LineHeight = 1.25;
|
|
247
270
|
export const OhTypographyHeadingH1LetterSpacing = "-0.02em";
|
|
248
271
|
export const OhTypographyHeadingH2FontSize = "2rem";
|
|
249
|
-
export const OhTypographyHeadingH2FontWeight = "
|
|
272
|
+
export const OhTypographyHeadingH2FontWeight = "700";
|
|
250
273
|
export const OhTypographyHeadingH2LineHeight = 1.25;
|
|
251
274
|
export const OhTypographyHeadingH2LetterSpacing = "-0.01em";
|
|
252
275
|
export const OhTypographyHeadingH3FontSize = "1.625rem";
|
|
@@ -254,7 +277,7 @@ export const OhTypographyHeadingH3FontWeight = "600";
|
|
|
254
277
|
export const OhTypographyHeadingH3LineHeight = 1.35;
|
|
255
278
|
export const OhTypographyHeadingH3LetterSpacing = "-0.01em";
|
|
256
279
|
export const OhTypographyHeadingH4FontSize = "1.25rem";
|
|
257
|
-
export const OhTypographyHeadingH4FontWeight = "
|
|
280
|
+
export const OhTypographyHeadingH4FontWeight = "600";
|
|
258
281
|
export const OhTypographyHeadingH4LineHeight = 1.35;
|
|
259
282
|
export const OhTypographyHeadingH4LetterSpacing = "0";
|
|
260
283
|
export const OhTypographyHeadingH5FontSize = "1.125rem";
|
|
@@ -265,6 +288,9 @@ export const OhTypographyHeadingH6FontWeight = "500";
|
|
|
265
288
|
export const OhTypographyHeadingH6LineHeight = 1.5;
|
|
266
289
|
export const OhTypographyBodyFontFamily =
|
|
267
290
|
"'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif";
|
|
291
|
+
export const OhTypographyBodyXlFontSize = "1.25rem";
|
|
292
|
+
export const OhTypographyBodyXlFontWeight = "400";
|
|
293
|
+
export const OhTypographyBodyXlLineHeight = 1.5;
|
|
268
294
|
export const OhTypographyBodyLgFontSize = "1.125rem";
|
|
269
295
|
export const OhTypographyBodyLgFontWeight = "400";
|
|
270
296
|
export const OhTypographyBodyLgLineHeight = 1.65;
|
|
@@ -289,15 +315,33 @@ export const OhTypographyLabelSmFontSize = "0.75rem";
|
|
|
289
315
|
export const OhTypographyLabelSmFontWeight = "500";
|
|
290
316
|
export const OhTypographyLabelSmLineHeight = 1.5; // 1.5 for WCAG 1.4.12
|
|
291
317
|
export const OhTypographyLabelSmLetterSpacing = "0.01em";
|
|
318
|
+
export const OhTypographyEyebrowFontFamily =
|
|
319
|
+
"'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif";
|
|
320
|
+
export const OhTypographyEyebrowFontSize = "1rem";
|
|
321
|
+
export const OhTypographyEyebrowFontWeight = "500";
|
|
322
|
+
export const OhTypographyEyebrowLetterSpacing = "0.05em";
|
|
323
|
+
export const OhTypographyControlFontFamily =
|
|
324
|
+
"'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif";
|
|
325
|
+
export const OhTypographyControlFontWeight = "600";
|
|
326
|
+
export const OhTypographyControlLetterSpacing = "0.01em";
|
|
327
|
+
export const OhTypographyControlFontSizeSm = "1rem"; // Small buttons, field labels
|
|
328
|
+
export const OhTypographyControlFontSizeMd = "1.125rem"; // Default: input text, choices, buttons
|
|
329
|
+
export const OhTypographyControlFontSizeLg = "1.25rem"; // Large buttons
|
|
330
|
+
export const OhTypographyEmphasisFontWeight = "600";
|
|
292
331
|
export const OhTypographyCodeFontFamily =
|
|
293
332
|
"'JetBrains Mono', 'Fira Code', ui-monospace, monospace";
|
|
294
333
|
export const OhTypographyCodeFontSize = "0.875rem";
|
|
295
334
|
export const OhTypographyCodeLineHeight = 1.5;
|
|
296
|
-
export const
|
|
297
|
-
export const
|
|
298
|
-
export const
|
|
299
|
-
export const
|
|
300
|
-
export const
|
|
335
|
+
export const OhLayoutContainerSm = "640px";
|
|
336
|
+
export const OhLayoutContainerMd = "768px";
|
|
337
|
+
export const OhLayoutContainerLg = "1024px";
|
|
338
|
+
export const OhLayoutContainerXl = "1280px";
|
|
339
|
+
export const OhShapeControl = "10px"; // Buttons, inputs, selects, tabs
|
|
340
|
+
export const OhShapeContainer = "10px"; // Alerts, modals, dropdowns, accordion items, panels
|
|
341
|
+
export const OhShapeLarge = "14px"; // Cards
|
|
342
|
+
export const OhShapeCompact = "6px"; // Small controls and tags: close buttons, checkboxes, badges, code blocks
|
|
343
|
+
export const OhShapeTight = "4px"; // Focus outlines on text links, inline code
|
|
344
|
+
export const OhShapePill = "9999px"; // Pills, radios, toggles, progress bars
|
|
301
345
|
export const OhElevationNone = "none";
|
|
302
346
|
export const OhElevationSoft =
|
|
303
347
|
"0 2px 8px rgba(61, 50, 41, 0.06), 0 1px 3px rgba(61, 50, 41, 0.08)"; // Cards, raised elements
|
|
@@ -309,30 +353,31 @@ export const OhElevationGlow =
|
|
|
309
353
|
"0 0 0 3px rgba(197, 67, 0, 0.2), 0 0 12px rgba(197, 67, 0, 0.1)"; // Focus ring
|
|
310
354
|
export const OhElevationInset = "inset 0 1px 3px rgba(61, 50, 41, 0.08)"; // Inputs, wells
|
|
311
355
|
export const OhFocusRingWidth = "3px";
|
|
312
|
-
export const
|
|
313
|
-
export const
|
|
356
|
+
export const OhFocusRingOffset = "2px";
|
|
357
|
+
export const OhFocusRingColor = "#c54300"; // The focus colour: outlines, focused control borders. Must stay opaque (4.7:1 on cream, WCAG 1.4.11)
|
|
358
|
+
export const OhFocusGlowColor = "#c5430026"; // Decorative glow only — never the sole focus indicator
|
|
314
359
|
export const OhButtonBaseFontFamily =
|
|
315
360
|
"'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif";
|
|
316
|
-
export const OhButtonBaseFontWeight = "
|
|
361
|
+
export const OhButtonBaseFontWeight = "600";
|
|
317
362
|
export const OhButtonBaseLetterSpacing = "0.01em";
|
|
318
363
|
export const OhButtonBaseBorderRadius = "10px";
|
|
319
364
|
export const OhButtonBaseBorderWidth = "2.5px";
|
|
320
365
|
export const OhButtonBaseTransitionDuration = "150ms";
|
|
321
366
|
export const OhButtonBaseTransitionEasing = [0.34, 1.3, 0.64, 1];
|
|
322
|
-
export const OhButtonSizeSmFontSize = "
|
|
323
|
-
export const OhButtonSizeSmPaddingX = "
|
|
367
|
+
export const OhButtonSizeSmFontSize = "1rem";
|
|
368
|
+
export const OhButtonSizeSmPaddingX = "1rem";
|
|
324
369
|
export const OhButtonSizeSmPaddingY = "0.5rem";
|
|
325
|
-
export const OhButtonSizeSmMinHeight = "
|
|
326
|
-
export const OhButtonSizeSmGap = "0.
|
|
327
|
-
export const OhButtonSizeMdFontSize = "
|
|
328
|
-
export const OhButtonSizeMdPaddingX = "
|
|
329
|
-
export const OhButtonSizeMdPaddingY = "0.
|
|
330
|
-
export const OhButtonSizeMdMinHeight = "
|
|
370
|
+
export const OhButtonSizeSmMinHeight = "40px";
|
|
371
|
+
export const OhButtonSizeSmGap = "0.5rem";
|
|
372
|
+
export const OhButtonSizeMdFontSize = "1.125rem";
|
|
373
|
+
export const OhButtonSizeMdPaddingX = "1.5rem";
|
|
374
|
+
export const OhButtonSizeMdPaddingY = "0.75rem";
|
|
375
|
+
export const OhButtonSizeMdMinHeight = "48px";
|
|
331
376
|
export const OhButtonSizeMdGap = "0.5rem";
|
|
332
|
-
export const OhButtonSizeLgFontSize = "
|
|
333
|
-
export const OhButtonSizeLgPaddingX = "
|
|
334
|
-
export const OhButtonSizeLgPaddingY = "
|
|
335
|
-
export const OhButtonSizeLgMinHeight = "
|
|
377
|
+
export const OhButtonSizeLgFontSize = "1.25rem";
|
|
378
|
+
export const OhButtonSizeLgPaddingX = "2rem";
|
|
379
|
+
export const OhButtonSizeLgPaddingY = "1rem";
|
|
380
|
+
export const OhButtonSizeLgMinHeight = "56px";
|
|
336
381
|
export const OhButtonSizeLgGap = "0.625rem";
|
|
337
382
|
export const OhButtonVariantPrimaryBackground = "#c54300";
|
|
338
383
|
export const OhButtonVariantPrimaryBackgroundHover = "#9e3500";
|
|
@@ -341,7 +386,7 @@ export const OhButtonVariantPrimaryColor = "#ffffff";
|
|
|
341
386
|
export const OhButtonVariantPrimaryBorderColor = "#c54300";
|
|
342
387
|
export const OhButtonVariantPrimaryShadowColor = "#e8c4a0";
|
|
343
388
|
export const OhButtonVariantSecondaryBackground = "#faf7f2";
|
|
344
|
-
export const OhButtonVariantSecondaryBackgroundHover = "#
|
|
389
|
+
export const OhButtonVariantSecondaryBackgroundHover = "#fff4e6";
|
|
345
390
|
export const OhButtonVariantSecondaryBackgroundActive = "#f0ebe3";
|
|
346
391
|
export const OhButtonVariantSecondaryColor = "#3d3229";
|
|
347
392
|
export const OhButtonVariantSecondaryBorderColor = "#6b5d4d";
|
|
@@ -352,8 +397,7 @@ export const OhButtonVariantAccentBackgroundActive = "#2e4460";
|
|
|
352
397
|
export const OhButtonVariantAccentColor = "#ffffff";
|
|
353
398
|
export const OhButtonVariantAccentBorderColor = "#3d5a80";
|
|
354
399
|
export const OhButtonVariantAccentShadowColor = "#a0b4c8";
|
|
355
|
-
export const
|
|
356
|
-
export const OhButtonFocusRingColor = "#c5430059";
|
|
400
|
+
export const OhButtonFocusRingColor = "#c54300";
|
|
357
401
|
export const OhButtonFocusGlowColor = "#c5430026";
|
|
358
402
|
export const OhInputBaseFontFamily =
|
|
359
403
|
"'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif";
|
|
@@ -379,7 +423,7 @@ export const OhInputStateErrorBorderColor = "#b54540";
|
|
|
379
423
|
export const OhInputStateErrorBackground = "#fdf4f3";
|
|
380
424
|
export const OhInputStateErrorShadowColor = "#b545404d";
|
|
381
425
|
export const OhCardBaseBackground = "#f5f0e8";
|
|
382
|
-
export const OhCardBaseBorderRadius = "
|
|
426
|
+
export const OhCardBaseBorderRadius = "14px";
|
|
383
427
|
export const OhCardBaseBorderWidth = "1px";
|
|
384
428
|
export const OhCardBaseBorderColor = "#e2dcd2";
|
|
385
429
|
export const OhCardBaseShadow =
|
|
@@ -391,17 +435,34 @@ export const OhCardInteractiveBackgroundHover = "#faf7f2";
|
|
|
391
435
|
export const OhCardInteractiveBorderColorHover = "#c5430040";
|
|
392
436
|
export const OhCardInteractiveShadowHover =
|
|
393
437
|
"0 4px 16px rgba(61, 50, 41, 0.08), 0 2px 6px rgba(61, 50, 41, 0.06)";
|
|
438
|
+
export const OhCardRaisedGradientStart = "#ffffff";
|
|
439
|
+
export const OhCardRaisedGradientMid = "#faf7f2";
|
|
440
|
+
export const OhCardRaisedGradientEnd = "#f5f0e8";
|
|
441
|
+
export const OhCardRaisedBorderColor = "#e2dcd2";
|
|
442
|
+
export const OhCardFlatGradientStart = "#faf7f2";
|
|
443
|
+
export const OhCardFlatGradientEnd = "#f5f0e8";
|
|
444
|
+
export const OhCardFlatBorderColor = "#e2dcd2";
|
|
394
445
|
export const OhCardSunlitBackground =
|
|
395
|
-
"linear-gradient(180deg, #
|
|
446
|
+
"linear-gradient(180deg, #fffbf5 0%, #fdf6ee 30%, #f8efe4 100%)";
|
|
447
|
+
export const OhCardSunlitGradientStart = "#fffbf5";
|
|
448
|
+
export const OhCardSunlitGradientMid = "#fdf6ee";
|
|
449
|
+
export const OhCardSunlitGradientEnd = "#f8efe4";
|
|
396
450
|
export const OhCardSunlitBorderColor = "#c5430040";
|
|
451
|
+
export const OhCardSunlitBorderColorHover = "#c5430059"; // Decorative container edge — not a focus or control border
|
|
397
452
|
export const OhCardSunlitShadow =
|
|
398
453
|
"0 4px 16px rgba(61, 50, 41, 0.08), 0 2px 6px rgba(61, 50, 41, 0.06)";
|
|
454
|
+
export const OhCardSectionDividerColor = "#e2d5c899"; // Decorative divider
|
|
455
|
+
export const OhCardSectionHeaderGradientStart = "#ffffff80";
|
|
456
|
+
export const OhCardSectionHeaderGradientEnd = "#ffffff00";
|
|
457
|
+
export const OhProgressInverseTrackBackground = "#ffffff26";
|
|
458
|
+
export const OhProgressInverseTrackBorder = "#ffffff4d";
|
|
459
|
+
export const OhProgressInverseFill = "#faf7f2";
|
|
399
460
|
export const OhBadgeBaseFontFamily =
|
|
400
461
|
"'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif";
|
|
401
|
-
export const OhBadgeBaseFontSize = "
|
|
462
|
+
export const OhBadgeBaseFontSize = "1rem";
|
|
402
463
|
export const OhBadgeBaseFontWeight = "500";
|
|
403
464
|
export const OhBadgeBaseLetterSpacing = "0.01em";
|
|
404
|
-
export const OhBadgeBaseBorderRadius = "
|
|
465
|
+
export const OhBadgeBaseBorderRadius = "6px";
|
|
405
466
|
export const OhBadgeBasePaddingX = "0.625rem";
|
|
406
467
|
export const OhBadgeBasePaddingY = "0.25rem";
|
|
407
468
|
export const OhBadgeVariantBrandBackground = "#fff3e0";
|
|
@@ -409,7 +470,7 @@ export const OhBadgeVariantBrandColor = "#c54300";
|
|
|
409
470
|
export const OhBadgeVariantAccentBackground = "#eef4f9";
|
|
410
471
|
export const OhBadgeVariantAccentColor = "#3d5a80";
|
|
411
472
|
export const OhBadgeVariantSuccessBackground = "#f0f7f1";
|
|
412
|
-
export const OhBadgeVariantSuccessColor = "#
|
|
473
|
+
export const OhBadgeVariantSuccessColor = "#3d7340";
|
|
413
474
|
export const OhBadgeVariantErrorBackground = "#fdf4f3";
|
|
414
475
|
export const OhBadgeVariantErrorColor = "#b54540";
|
|
415
476
|
export const OhBadgeVariantWarningBackground = "#fefaee";
|
|
@@ -420,3 +481,6 @@ export const OhLinkColor = "#c54300";
|
|
|
420
481
|
export const OhLinkColorHover = "#9e3500";
|
|
421
482
|
export const OhLinkTextDecoration = "underline";
|
|
422
483
|
export const OhLinkTextDecorationHover = "none";
|
|
484
|
+
export const OhLinkInverseFocusBackground = "#0000001a"; // Focus tint — paired with the underline, which is the indicator
|
|
485
|
+
export const OhModalOverlay = "#3d322999"; // Backdrop — darker than color.surface.overlay so the dialog stands out
|
|
486
|
+
export const OhCloseButtonBackgroundHover = "#00000014"; // Neutral tint that works on every alert variant
|