@orange-halo/tokens 1.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/dist/themes/dark.css +127 -0
- package/dist/themes/light.css +46 -0
- package/dist/tokens.css +399 -0
- package/dist/tokens.js +422 -0
- package/dist/tokens.json +667 -0
- package/package.json +40 -0
- package/tokens/component.tokens.json +184 -0
- package/tokens/global.tokens.json +230 -0
- package/tokens/semantic.tokens.json +219 -0
- package/tokens/themes/dark.tokens.json +73 -0
- package/tokens/themes/light.tokens.json +57 -0
package/dist/tokens.js
ADDED
|
@@ -0,0 +1,422 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export const OhColorOrange50 = "#fff3e0";
|
|
6
|
+
export const OhColorOrange100 = "#ffe0b2";
|
|
7
|
+
export const OhColorOrange200 = "#ffcc80";
|
|
8
|
+
export const OhColorOrange300 = "#ffb74d";
|
|
9
|
+
export const OhColorOrange400 = "#ffa726";
|
|
10
|
+
export const OhColorOrange500 = "#ff9800";
|
|
11
|
+
export const OhColorOrange600 = "#fb8c00";
|
|
12
|
+
export const OhColorOrange700 = "#f57c00";
|
|
13
|
+
export const OhColorOrange800 = "#ef6c00";
|
|
14
|
+
export const OhColorOrange900 = "#c54300"; // Primary brand — WCAG AA (4.5:1)
|
|
15
|
+
export const OhColorOrange950 = "#9e3500"; // Hover/active state — WCAG AA (7.2:1)
|
|
16
|
+
export const OhColorHoney50 = "#fefaee";
|
|
17
|
+
export const OhColorHoney100 = "#fdf3d4";
|
|
18
|
+
export const OhColorHoney200 = "#fbe7a8";
|
|
19
|
+
export const OhColorHoney300 = "#f8d56f";
|
|
20
|
+
export const OhColorHoney400 = "#e8a838"; // Signature honey
|
|
21
|
+
export const OhColorHoney500 = "#d4922c";
|
|
22
|
+
export const OhColorHoney600 = "#b87a24";
|
|
23
|
+
export const OhColorHoney700 = "#8c5e1c"; // WCAG AA (5.2:1)
|
|
24
|
+
export const OhColorHoney800 = "#6b4815";
|
|
25
|
+
export const OhColorTerracotta50 = "#fbf5f0";
|
|
26
|
+
export const OhColorTerracotta100 = "#f5e8de";
|
|
27
|
+
export const OhColorTerracotta200 = "#e8cdbf";
|
|
28
|
+
export const OhColorTerracotta300 = "#d4a88f";
|
|
29
|
+
export const OhColorTerracotta400 = "#bf8060";
|
|
30
|
+
export const OhColorTerracotta500 = "#a0522d"; // Signature terracotta — WCAG AA (5.3:1)
|
|
31
|
+
export const OhColorTerracotta600 = "#8b4726";
|
|
32
|
+
export const OhColorTerracotta700 = "#6f3920";
|
|
33
|
+
export const OhColorTerracotta800 = "#5a2f1a";
|
|
34
|
+
export const OhColorTerracotta900 = "#452414";
|
|
35
|
+
export const OhColorEucalyptus50 = "#f0f6f6";
|
|
36
|
+
export const OhColorEucalyptus100 = "#e0ebeb";
|
|
37
|
+
export const OhColorEucalyptus200 = "#c2d7d7";
|
|
38
|
+
export const OhColorEucalyptus300 = "#9ebebe";
|
|
39
|
+
export const OhColorEucalyptus400 = "#7aa3a4";
|
|
40
|
+
export const OhColorEucalyptus500 = "#5f8a8b"; // Signature eucalyptus — WCAG AA (4.5:1)
|
|
41
|
+
export const OhColorEucalyptus600 = "#4d7172";
|
|
42
|
+
export const OhColorEucalyptus700 = "#3f5c5d"; // WCAG AA (6.2:1)
|
|
43
|
+
export const OhColorEucalyptus800 = "#344a4b";
|
|
44
|
+
export const OhColorEucalyptus900 = "#2a3c3d";
|
|
45
|
+
export const OhColorWarmCream = "#faf7f2"; // Base background — warm off-white
|
|
46
|
+
export const OhColorWarmLinen = "#f5f0e8"; // Raised surface
|
|
47
|
+
export const OhColorWarmParchment = "#ede8df"; // Inset surface
|
|
48
|
+
export const OhColorWarmSand = "#e2dcd2"; // Borders, dividers
|
|
49
|
+
export const OhColorWarmDune = "#c9c1b4"; // Muted elements
|
|
50
|
+
export const OhColorWarmDriftwood = "#6b5d4d"; // Secondary text — WCAG AA (4.8:1)
|
|
51
|
+
export const OhColorWarmBark = "#52463a"; // Emphasis text (6.8:1)
|
|
52
|
+
export const OhColorWarmWalnut = "#3d3229"; // Primary text — WCAG AA (8.2:1)
|
|
53
|
+
export const OhColorGreen50 = "#f0f7f1";
|
|
54
|
+
export const OhColorGreen100 = "#d9edd9";
|
|
55
|
+
export const OhColorGreen500 = "#5a9a5c";
|
|
56
|
+
export const OhColorGreen600 = "#4a8a4c"; // WCAG AA (4.5:1)
|
|
57
|
+
export const OhColorGreen700 = "#3d7340";
|
|
58
|
+
export const OhColorRed50 = "#fdf4f3";
|
|
59
|
+
export const OhColorRed100 = "#f9e0dc";
|
|
60
|
+
export const OhColorRed500 = "#c75450";
|
|
61
|
+
export const OhColorRed600 = "#b54540"; // WCAG AA (4.8:1)
|
|
62
|
+
export const OhColorRed700 = "#943836"; // Hover/active state
|
|
63
|
+
export const OhColorBlue50 = "#eef4f9";
|
|
64
|
+
export const OhColorBlue100 = "#d6e4f0";
|
|
65
|
+
export const OhColorBlue200 = "#a0b4c8";
|
|
66
|
+
export const OhColorBlue300 = "#7a9ab8";
|
|
67
|
+
export const OhColorBlue400 = "#5a82a8";
|
|
68
|
+
export const OhColorBlue500 = "#3d5a80"; // Signature blue — WCAG AA (5.5:1)
|
|
69
|
+
export const OhColorBlue600 = "#354f70"; // Hover state
|
|
70
|
+
export const OhColorBlue700 = "#2e4460"; // Active state
|
|
71
|
+
export const OhColorBlue800 = "#253850";
|
|
72
|
+
export const OhColorWhite = "#ffffff"; // Pure white for inputs/highlights
|
|
73
|
+
export const OhColorBrandPrimary = "#c54300"; // Primary brand action — WCAG AA
|
|
74
|
+
export const OhColorBrandPrimaryHover = "#9e3500"; // Hover state
|
|
75
|
+
export const OhColorBrandPrimaryActive = "#9e3500"; // Active/pressed state
|
|
76
|
+
export const OhColorBrandPrimarySubtle = "#fff3e0"; // Subtle tint
|
|
77
|
+
export const OhColorBrandPrimaryMuted = "#ffe0b2"; // Background tint
|
|
78
|
+
export const OhColorBrandHighlight = "#e8a838"; // Golden accent
|
|
79
|
+
export const OhColorBrandHighlightSubtle = "#fdf3d4";
|
|
80
|
+
export const OhColorAccentDefault = "#3d5a80"; // Signature blue accent
|
|
81
|
+
export const OhColorAccentHover = "#354f70";
|
|
82
|
+
export const OhColorAccentActive = "#2e4460";
|
|
83
|
+
export const OhColorAccentSubtle = "#eef4f9";
|
|
84
|
+
export const OhColorAccentMuted = "#d6e4f0";
|
|
85
|
+
export const OhColorAccentShadow = "#a0b4c8"; // Chunky shadow for accent
|
|
86
|
+
export const OhColorFeedbackSuccess = "#4a8a4c";
|
|
87
|
+
export const OhColorFeedbackSuccessSubtle = "#f0f7f1";
|
|
88
|
+
export const OhColorFeedbackSuccessMuted = "#d9edd9";
|
|
89
|
+
export const OhColorFeedbackError = "#b54540";
|
|
90
|
+
export const OhColorFeedbackErrorHover = "#943836"; // Error hover/active state
|
|
91
|
+
export const OhColorFeedbackErrorSubtle = "#fdf4f3";
|
|
92
|
+
export const OhColorFeedbackErrorMuted = "#f9e0dc";
|
|
93
|
+
export const OhColorFeedbackErrorShadow = "#b545404d"; // Error shadow color
|
|
94
|
+
export const OhColorFeedbackWarning = "#8c5e1c";
|
|
95
|
+
export const OhColorFeedbackWarningSubtle = "#fefaee";
|
|
96
|
+
export const OhColorFeedbackWarningMuted = "#fdf3d4";
|
|
97
|
+
export const OhColorFeedbackInfo = "#3d5a80";
|
|
98
|
+
export const OhColorFeedbackInfoSubtle = "#eef4f9";
|
|
99
|
+
export const OhColorFeedbackInfoMuted = "#d6e4f0";
|
|
100
|
+
export const OhColorSurfaceBase = "#faf7f2"; // Page background — warm off-white
|
|
101
|
+
export const OhColorSurfaceRaised = "#f5f0e8"; // Cards, panels — slight lift
|
|
102
|
+
export const OhColorSurfaceSunlit = "#faf7f2"; // Featured — use with gradient
|
|
103
|
+
export const OhColorSurfaceInset = "#ede8df"; // Inputs, wells — pressed in
|
|
104
|
+
export const OhColorSurfaceWhite = "#ffffff"; // Pure white for focus/highlight states
|
|
105
|
+
export const OhColorSurfaceOverlay = "#3d322966"; // Modal backdrop — warm
|
|
106
|
+
export const OhColorSurfaceDisabled = "#e2dcd2"; // Quiet disabled
|
|
107
|
+
export const OhColorSurfaceHover = "#fff4e6"; // Warm hover tint
|
|
108
|
+
export const OhColorSurfaceActivePressed = "#f0ebe3"; // Active/pressed surface
|
|
109
|
+
export const OhColorBorderDefault = "#e2dcd2"; // Standard border
|
|
110
|
+
export const OhColorBorderSubtle = "#ede8df"; // Subtle dividers
|
|
111
|
+
export const OhColorBorderEmphasis = "#6b5d4d"; // Strong border for form elements
|
|
112
|
+
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
|
+
export const OhColorBorderDisabled = "#ede8df";
|
|
116
|
+
export const OhColorBorderBrand = "#c5430040"; // Brand-tinted border
|
|
117
|
+
export const OhColorTextPrimary = "#3d3229"; // Primary text — warm brown
|
|
118
|
+
export const OhColorTextSecondary = "#6b5d4d"; // Secondary text
|
|
119
|
+
export const OhColorTextDisabled = "#c9c1b4"; // Disabled text
|
|
120
|
+
export const OhColorTextInverse = "#faf7f2"; // On dark backgrounds
|
|
121
|
+
export const OhColorTextLink = "#c54300"; // Link text
|
|
122
|
+
export const OhColorTextLinkHover = "#9e3500"; // Link hover
|
|
123
|
+
export const OhColorTextBrand = "#c54300";
|
|
124
|
+
export const OhColorTextOnBrand = "#ffffff"; // Light text on dark brand bg
|
|
125
|
+
export const OhColorTextOnAccent = "#ffffff"; // Light text on dark accent bg
|
|
126
|
+
export const OhFontFamilySans =
|
|
127
|
+
"'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif";
|
|
128
|
+
export const OhFontFamilyDisplay =
|
|
129
|
+
"'Bricolage Grotesque', 'General Sans', sans-serif";
|
|
130
|
+
export const OhFontFamilyMono =
|
|
131
|
+
"'JetBrains Mono', 'Fira Code', ui-monospace, monospace";
|
|
132
|
+
export const OhFontSizeXs = "0.75rem"; // 12px
|
|
133
|
+
export const OhFontSizeSm = "0.875rem"; // 14px
|
|
134
|
+
export const OhFontSizeBase = "1rem"; // 16px
|
|
135
|
+
export const OhFontSizeLg = "1.125rem"; // 18px
|
|
136
|
+
export const OhFontSizeXl = "1.25rem"; // 20px
|
|
137
|
+
export const OhFontSize2xl = "1.625rem"; // 26px
|
|
138
|
+
export const OhFontSize3xl = "2rem"; // 32px
|
|
139
|
+
export const OhFontSize4xl = "2.625rem"; // 42px
|
|
140
|
+
export const OhFontSize5xl = "3.25rem"; // 52px
|
|
141
|
+
export const OhFontWeightNormal = "400";
|
|
142
|
+
export const OhFontWeightMedium = "500";
|
|
143
|
+
export const OhFontWeightSemibold = "600";
|
|
144
|
+
export const OhFontWeightBold = "700";
|
|
145
|
+
export const OhFontLineHeightNone = 1;
|
|
146
|
+
export const OhFontLineHeightTight = 1.25;
|
|
147
|
+
export const OhFontLineHeightSnug = 1.35;
|
|
148
|
+
export const OhFontLineHeightNormal = 1.5;
|
|
149
|
+
export const OhFontLineHeightRelaxed = 1.65;
|
|
150
|
+
export const OhFontLineHeightLoose = 1.8;
|
|
151
|
+
export const OhFontLetterSpacingTighter = "-0.02em";
|
|
152
|
+
export const OhFontLetterSpacingTight = "-0.01em";
|
|
153
|
+
export const OhFontLetterSpacingNormal = "0";
|
|
154
|
+
export const OhFontLetterSpacingWide = "0.01em";
|
|
155
|
+
export const OhFontLetterSpacingWider = "0.02em";
|
|
156
|
+
export const OhSpacing0 = "0";
|
|
157
|
+
export const OhSpacing1 = "0.25rem"; // 4px
|
|
158
|
+
export const OhSpacing2 = "0.5rem"; // 8px
|
|
159
|
+
export const OhSpacing3 = "0.75rem"; // 12px
|
|
160
|
+
export const OhSpacing4 = "1rem"; // 16px
|
|
161
|
+
export const OhSpacing5 = "1.25rem"; // 20px
|
|
162
|
+
export const OhSpacing6 = "1.5rem"; // 24px
|
|
163
|
+
export const OhSpacing7 = "1.75rem"; // 28px
|
|
164
|
+
export const OhSpacing8 = "2rem"; // 32px
|
|
165
|
+
export const OhSpacing10 = "2.5rem"; // 40px
|
|
166
|
+
export const OhSpacing12 = "3rem"; // 48px
|
|
167
|
+
export const OhSpacing16 = "4rem"; // 64px
|
|
168
|
+
export const OhSpacing20 = "5rem"; // 80px
|
|
169
|
+
export const OhSpacingPx = "1px";
|
|
170
|
+
export const OhSpacing05 = "0.125rem"; // 2px
|
|
171
|
+
export const OhSpacing15 = "0.375rem"; // 6px
|
|
172
|
+
export const OhSpacing25 = "0.625rem"; // 10px
|
|
173
|
+
export const OhSpacing35 = "0.875rem"; // 14px
|
|
174
|
+
export const OhSpacingLayoutPage = "1.5rem";
|
|
175
|
+
export const OhSpacingLayoutSection = "3rem";
|
|
176
|
+
export const OhSpacingLayoutStack = "1.25rem";
|
|
177
|
+
export const OhSpacingLayoutInline = "1rem";
|
|
178
|
+
export const OhSpacingComponentXs = "0.375rem";
|
|
179
|
+
export const OhSpacingComponentSm = "0.625rem";
|
|
180
|
+
export const OhSpacingComponentMd = "0.875rem";
|
|
181
|
+
export const OhSpacingComponentLg = "1.25rem";
|
|
182
|
+
export const OhSpacingComponentXl = "1.75rem";
|
|
183
|
+
export const OhRadiusNone = "0";
|
|
184
|
+
export const OhRadiusXs = "4px"; // Small details, chips
|
|
185
|
+
export const OhRadiusSm = "6px"; // Buttons, inputs
|
|
186
|
+
export const OhRadiusMd = "10px"; // Cards, panels
|
|
187
|
+
export const OhRadiusLg = "14px"; // Modals, large containers
|
|
188
|
+
export const OhRadiusXl = "20px"; // Hero elements
|
|
189
|
+
export const OhRadiusFull = "9999px"; // Avatars, pills
|
|
190
|
+
export const OhShadowNone = "none";
|
|
191
|
+
export const OhShadowSoft =
|
|
192
|
+
"0 2px 8px rgba(61, 50, 41, 0.06), 0 1px 3px rgba(61, 50, 41, 0.08)"; // Cards, raised elements
|
|
193
|
+
export const OhShadowMedium =
|
|
194
|
+
"0 4px 16px rgba(61, 50, 41, 0.08), 0 2px 6px rgba(61, 50, 41, 0.06)"; // Dropdowns, popovers
|
|
195
|
+
export const OhShadowStrong =
|
|
196
|
+
"0 8px 24px rgba(61, 50, 41, 0.10), 0 4px 8px rgba(61, 50, 41, 0.06)"; // Modals, dialogs
|
|
197
|
+
export const OhShadowGlow =
|
|
198
|
+
"0 0 0 3px rgba(197, 67, 0, 0.2), 0 0 12px rgba(197, 67, 0, 0.1)"; // Focus ring — warm and friendly
|
|
199
|
+
export const OhShadowInset = "inset 0 1px 3px rgba(61, 50, 41, 0.08)"; // Inputs, wells
|
|
200
|
+
export const OhShadowChunkyPrimary = "#e8c4a0"; // Warm peach for primary buttons
|
|
201
|
+
export const OhShadowChunkySecondary = "#d4c4b0"; // Neutral tan for secondary/form elements
|
|
202
|
+
export const OhShadowChunkyAccent = "#a0b4c8"; // Cool blue-gray for accent buttons
|
|
203
|
+
export const OhShadowChunkyError = "#b545404d"; // Error state shadow
|
|
204
|
+
export const OhShadowPrimary = "#e8c4a0"; // Primary buttons
|
|
205
|
+
export const OhShadowSecondary = "#d4c4b0"; // Secondary/form elements
|
|
206
|
+
export const OhShadowAccent = "#a0b4c8"; // Accent buttons
|
|
207
|
+
export const OhShadowError = "#b545404d"; // Error state
|
|
208
|
+
export const OhGradientSunlit =
|
|
209
|
+
"linear-gradient(180deg, #FAF7F2 0%, #F5EFE4 100%)"; // Gentle warmth for surfaces
|
|
210
|
+
export const OhGradientWarm =
|
|
211
|
+
"linear-gradient(135deg, #C54300 0%, #FF9800 100%)"; // Brand emphasis
|
|
212
|
+
export const OhGradientNostalgic =
|
|
213
|
+
"linear-gradient(180deg, #F5F0E8 0%, #EDE8DF 100%)"; // Subtle retro depth
|
|
214
|
+
export const OhMotionDurationQuick = "100ms"; // Micro-interactions (color shifts)
|
|
215
|
+
export const OhMotionDurationSnappy = "150ms"; // Button/input transitions
|
|
216
|
+
export const OhMotionDurationGentle = "200ms"; // Standard interactions (hover, focus)
|
|
217
|
+
export const OhMotionDurationRelaxed = "300ms"; // Larger transitions (panels)
|
|
218
|
+
export const OhMotionDurationSlow = "400ms"; // Emphasis animations
|
|
219
|
+
export const OhMotionEasingGentle = [0.4, 0, 0.2, 1]; // Default — smooth and natural
|
|
220
|
+
export const OhMotionEasingOut = [0, 0, 0.2, 1]; // Enters and reveals
|
|
221
|
+
export const OhMotionEasingIn = [0.4, 0, 1, 1]; // Exits
|
|
222
|
+
export const OhMotionEasingPlayful = [0.34, 1.3, 0.64, 1]; // Celebrations — slight overshoot
|
|
223
|
+
export const OhMotionQuick = "100ms";
|
|
224
|
+
export const OhMotionSnappy = "150ms";
|
|
225
|
+
export const OhMotionGentle = "200ms";
|
|
226
|
+
export const OhMotionRelaxed = "300ms";
|
|
227
|
+
export const OhMotionSlow = "400ms";
|
|
228
|
+
export const OhMotionEaseGentle = [0.4, 0, 0.2, 1];
|
|
229
|
+
export const OhMotionEaseOut = [0, 0, 0.2, 1];
|
|
230
|
+
export const OhMotionEasePlayful = [0.34, 1.3, 0.64, 1];
|
|
231
|
+
export const OhBorderWidth0 = "0";
|
|
232
|
+
export const OhBorderWidth1 = "1px";
|
|
233
|
+
export const OhBorderWidth2 = "2px";
|
|
234
|
+
export const OhZIndex0 = 0;
|
|
235
|
+
export const OhZIndex10 = 10;
|
|
236
|
+
export const OhZIndex20 = 20;
|
|
237
|
+
export const OhZIndexDropdown = 1000;
|
|
238
|
+
export const OhZIndexSticky = 1100;
|
|
239
|
+
export const OhZIndexModal = 1200;
|
|
240
|
+
export const OhZIndexPopover = 1300;
|
|
241
|
+
export const OhZIndexTooltip = 1400;
|
|
242
|
+
export const OhTypographyHeadingFontFamily =
|
|
243
|
+
"'Bricolage Grotesque', 'General Sans', sans-serif";
|
|
244
|
+
export const OhTypographyHeadingH1FontSize = "2.625rem";
|
|
245
|
+
export const OhTypographyHeadingH1FontWeight = "700";
|
|
246
|
+
export const OhTypographyHeadingH1LineHeight = 1.25;
|
|
247
|
+
export const OhTypographyHeadingH1LetterSpacing = "-0.02em";
|
|
248
|
+
export const OhTypographyHeadingH2FontSize = "2rem";
|
|
249
|
+
export const OhTypographyHeadingH2FontWeight = "600";
|
|
250
|
+
export const OhTypographyHeadingH2LineHeight = 1.25;
|
|
251
|
+
export const OhTypographyHeadingH2LetterSpacing = "-0.01em";
|
|
252
|
+
export const OhTypographyHeadingH3FontSize = "1.625rem";
|
|
253
|
+
export const OhTypographyHeadingH3FontWeight = "600";
|
|
254
|
+
export const OhTypographyHeadingH3LineHeight = 1.35;
|
|
255
|
+
export const OhTypographyHeadingH3LetterSpacing = "-0.01em";
|
|
256
|
+
export const OhTypographyHeadingH4FontSize = "1.25rem";
|
|
257
|
+
export const OhTypographyHeadingH4FontWeight = "500";
|
|
258
|
+
export const OhTypographyHeadingH4LineHeight = 1.35;
|
|
259
|
+
export const OhTypographyHeadingH4LetterSpacing = "0";
|
|
260
|
+
export const OhTypographyHeadingH5FontSize = "1.125rem";
|
|
261
|
+
export const OhTypographyHeadingH5FontWeight = "500";
|
|
262
|
+
export const OhTypographyHeadingH5LineHeight = 1.5;
|
|
263
|
+
export const OhTypographyHeadingH6FontSize = "1rem";
|
|
264
|
+
export const OhTypographyHeadingH6FontWeight = "500";
|
|
265
|
+
export const OhTypographyHeadingH6LineHeight = 1.5;
|
|
266
|
+
export const OhTypographyBodyFontFamily =
|
|
267
|
+
"'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif";
|
|
268
|
+
export const OhTypographyBodyLgFontSize = "1.125rem";
|
|
269
|
+
export const OhTypographyBodyLgFontWeight = "400";
|
|
270
|
+
export const OhTypographyBodyLgLineHeight = 1.65;
|
|
271
|
+
export const OhTypographyBodyBaseFontSize = "1rem";
|
|
272
|
+
export const OhTypographyBodyBaseFontWeight = "400";
|
|
273
|
+
export const OhTypographyBodyBaseLineHeight = 1.5;
|
|
274
|
+
export const OhTypographyBodySmFontSize = "0.875rem";
|
|
275
|
+
export const OhTypographyBodySmFontWeight = "400";
|
|
276
|
+
export const OhTypographyBodySmLineHeight = 1.5;
|
|
277
|
+
export const OhTypographyBodySmLetterSpacing = "0.01em";
|
|
278
|
+
export const OhTypographyBodyXsFontSize = "0.75rem";
|
|
279
|
+
export const OhTypographyBodyXsFontWeight = "400";
|
|
280
|
+
export const OhTypographyBodyXsLineHeight = 1.5;
|
|
281
|
+
export const OhTypographyBodyXsLetterSpacing = "0.01em";
|
|
282
|
+
export const OhTypographyLabelFontFamily =
|
|
283
|
+
"'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif";
|
|
284
|
+
export const OhTypographyLabelBaseFontSize = "0.875rem";
|
|
285
|
+
export const OhTypographyLabelBaseFontWeight = "500";
|
|
286
|
+
export const OhTypographyLabelBaseLineHeight = 1.5; // 1.5 for WCAG 1.4.12
|
|
287
|
+
export const OhTypographyLabelBaseLetterSpacing = "0.01em";
|
|
288
|
+
export const OhTypographyLabelSmFontSize = "0.75rem";
|
|
289
|
+
export const OhTypographyLabelSmFontWeight = "500";
|
|
290
|
+
export const OhTypographyLabelSmLineHeight = 1.5; // 1.5 for WCAG 1.4.12
|
|
291
|
+
export const OhTypographyLabelSmLetterSpacing = "0.01em";
|
|
292
|
+
export const OhTypographyCodeFontFamily =
|
|
293
|
+
"'JetBrains Mono', 'Fira Code', ui-monospace, monospace";
|
|
294
|
+
export const OhTypographyCodeFontSize = "0.875rem";
|
|
295
|
+
export const OhTypographyCodeLineHeight = 1.5;
|
|
296
|
+
export const OhShapeInteractive = "6px"; // Buttons, inputs (6px)
|
|
297
|
+
export const OhShapeContainer = "10px"; // Cards, panels (10px)
|
|
298
|
+
export const OhShapeLarge = "14px"; // Modals (14px)
|
|
299
|
+
export const OhShapeSmall = "4px"; // Chips, tags (4px)
|
|
300
|
+
export const OhShapePill = "9999px"; // Badges, avatars
|
|
301
|
+
export const OhElevationNone = "none";
|
|
302
|
+
export const OhElevationSoft =
|
|
303
|
+
"0 2px 8px rgba(61, 50, 41, 0.06), 0 1px 3px rgba(61, 50, 41, 0.08)"; // Cards, raised elements
|
|
304
|
+
export const OhElevationMedium =
|
|
305
|
+
"0 4px 16px rgba(61, 50, 41, 0.08), 0 2px 6px rgba(61, 50, 41, 0.06)"; // Dropdowns, popovers
|
|
306
|
+
export const OhElevationStrong =
|
|
307
|
+
"0 8px 24px rgba(61, 50, 41, 0.10), 0 4px 8px rgba(61, 50, 41, 0.06)"; // Modals, dialogs
|
|
308
|
+
export const OhElevationGlow =
|
|
309
|
+
"0 0 0 3px rgba(197, 67, 0, 0.2), 0 0 12px rgba(197, 67, 0, 0.1)"; // Focus ring
|
|
310
|
+
export const OhElevationInset = "inset 0 1px 3px rgba(61, 50, 41, 0.08)"; // Inputs, wells
|
|
311
|
+
export const OhFocusRingWidth = "3px";
|
|
312
|
+
export const OhFocusRingColor = "#c5430059";
|
|
313
|
+
export const OhFocusGlowColor = "#c5430026";
|
|
314
|
+
export const OhButtonBaseFontFamily =
|
|
315
|
+
"'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif";
|
|
316
|
+
export const OhButtonBaseFontWeight = "500";
|
|
317
|
+
export const OhButtonBaseLetterSpacing = "0.01em";
|
|
318
|
+
export const OhButtonBaseBorderRadius = "10px";
|
|
319
|
+
export const OhButtonBaseBorderWidth = "2.5px";
|
|
320
|
+
export const OhButtonBaseTransitionDuration = "150ms";
|
|
321
|
+
export const OhButtonBaseTransitionEasing = [0.34, 1.3, 0.64, 1];
|
|
322
|
+
export const OhButtonSizeSmFontSize = "0.875rem";
|
|
323
|
+
export const OhButtonSizeSmPaddingX = "0.75rem";
|
|
324
|
+
export const OhButtonSizeSmPaddingY = "0.5rem";
|
|
325
|
+
export const OhButtonSizeSmMinHeight = "36px";
|
|
326
|
+
export const OhButtonSizeSmGap = "0.375rem";
|
|
327
|
+
export const OhButtonSizeMdFontSize = "0.875rem";
|
|
328
|
+
export const OhButtonSizeMdPaddingX = "1rem";
|
|
329
|
+
export const OhButtonSizeMdPaddingY = "0.625rem";
|
|
330
|
+
export const OhButtonSizeMdMinHeight = "44px";
|
|
331
|
+
export const OhButtonSizeMdGap = "0.5rem";
|
|
332
|
+
export const OhButtonSizeLgFontSize = "1rem";
|
|
333
|
+
export const OhButtonSizeLgPaddingX = "1.5rem";
|
|
334
|
+
export const OhButtonSizeLgPaddingY = "0.875rem";
|
|
335
|
+
export const OhButtonSizeLgMinHeight = "52px";
|
|
336
|
+
export const OhButtonSizeLgGap = "0.625rem";
|
|
337
|
+
export const OhButtonVariantPrimaryBackground = "#c54300";
|
|
338
|
+
export const OhButtonVariantPrimaryBackgroundHover = "#9e3500";
|
|
339
|
+
export const OhButtonVariantPrimaryBackgroundActive = "#9e3500";
|
|
340
|
+
export const OhButtonVariantPrimaryColor = "#ffffff";
|
|
341
|
+
export const OhButtonVariantPrimaryBorderColor = "#c54300";
|
|
342
|
+
export const OhButtonVariantPrimaryShadowColor = "#e8c4a0";
|
|
343
|
+
export const OhButtonVariantSecondaryBackground = "#faf7f2";
|
|
344
|
+
export const OhButtonVariantSecondaryBackgroundHover = "#ffffff";
|
|
345
|
+
export const OhButtonVariantSecondaryBackgroundActive = "#f0ebe3";
|
|
346
|
+
export const OhButtonVariantSecondaryColor = "#3d3229";
|
|
347
|
+
export const OhButtonVariantSecondaryBorderColor = "#6b5d4d";
|
|
348
|
+
export const OhButtonVariantSecondaryShadowColor = "#d4c4b0";
|
|
349
|
+
export const OhButtonVariantAccentBackground = "#3d5a80";
|
|
350
|
+
export const OhButtonVariantAccentBackgroundHover = "#354f70";
|
|
351
|
+
export const OhButtonVariantAccentBackgroundActive = "#2e4460";
|
|
352
|
+
export const OhButtonVariantAccentColor = "#ffffff";
|
|
353
|
+
export const OhButtonVariantAccentBorderColor = "#3d5a80";
|
|
354
|
+
export const OhButtonVariantAccentShadowColor = "#a0b4c8";
|
|
355
|
+
export const OhButtonFocusRingWidth = "3px";
|
|
356
|
+
export const OhButtonFocusRingColor = "#c5430059";
|
|
357
|
+
export const OhButtonFocusGlowColor = "#c5430026";
|
|
358
|
+
export const OhInputBaseFontFamily =
|
|
359
|
+
"'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif";
|
|
360
|
+
export const OhInputBaseFontSize = "1.125rem";
|
|
361
|
+
export const OhInputBaseLineHeight = 1.5;
|
|
362
|
+
export const OhInputBaseBorderRadius = "10px";
|
|
363
|
+
export const OhInputBaseBorderWidth = "2.5px";
|
|
364
|
+
export const OhInputBaseTransitionDuration = "150ms";
|
|
365
|
+
export const OhInputBaseTransitionEasing = [0.4, 0, 0.2, 1];
|
|
366
|
+
export const OhInputSizeMdPaddingX = "1rem";
|
|
367
|
+
export const OhInputSizeMdPaddingY = "0.75rem";
|
|
368
|
+
export const OhInputSizeMdMinHeight = "48px";
|
|
369
|
+
export const OhInputStateDefaultBackground = "#faf7f2";
|
|
370
|
+
export const OhInputStateDefaultBorderColor = "#6b5d4d"; // WCAG 3:1 contrast for UI elements
|
|
371
|
+
export const OhInputStateDefaultColor = "#3d3229";
|
|
372
|
+
export const OhInputStateDefaultPlaceholderColor = "#6b5d4d"; // WCAG readable placeholder
|
|
373
|
+
export const OhInputStateDefaultShadowColor = "#d4c4b0";
|
|
374
|
+
export const OhInputStateHoverBorderColor = "#8b4726";
|
|
375
|
+
export const OhInputStateFocusBackground = "#ffffff";
|
|
376
|
+
export const OhInputStateFocusBorderColor = "#c54300";
|
|
377
|
+
export const OhInputStateFocusFocusRingColor = "#c54300";
|
|
378
|
+
export const OhInputStateErrorBorderColor = "#b54540";
|
|
379
|
+
export const OhInputStateErrorBackground = "#fdf4f3";
|
|
380
|
+
export const OhInputStateErrorShadowColor = "#b545404d";
|
|
381
|
+
export const OhCardBaseBackground = "#f5f0e8";
|
|
382
|
+
export const OhCardBaseBorderRadius = "10px";
|
|
383
|
+
export const OhCardBaseBorderWidth = "1px";
|
|
384
|
+
export const OhCardBaseBorderColor = "#e2dcd2";
|
|
385
|
+
export const OhCardBaseShadow =
|
|
386
|
+
"0 2px 8px rgba(61, 50, 41, 0.06), 0 1px 3px rgba(61, 50, 41, 0.08)";
|
|
387
|
+
export const OhCardBasePadding = "1.25rem";
|
|
388
|
+
export const OhCardInteractiveTransitionDuration = "200ms";
|
|
389
|
+
export const OhCardInteractiveTransitionEasing = [0.4, 0, 0.2, 1];
|
|
390
|
+
export const OhCardInteractiveBackgroundHover = "#faf7f2";
|
|
391
|
+
export const OhCardInteractiveBorderColorHover = "#c5430040";
|
|
392
|
+
export const OhCardInteractiveShadowHover =
|
|
393
|
+
"0 4px 16px rgba(61, 50, 41, 0.08), 0 2px 6px rgba(61, 50, 41, 0.06)";
|
|
394
|
+
export const OhCardSunlitBackground =
|
|
395
|
+
"linear-gradient(180deg, #FAF7F2 0%, #F5EFE4 100%)";
|
|
396
|
+
export const OhCardSunlitBorderColor = "#c5430040";
|
|
397
|
+
export const OhCardSunlitShadow =
|
|
398
|
+
"0 4px 16px rgba(61, 50, 41, 0.08), 0 2px 6px rgba(61, 50, 41, 0.06)";
|
|
399
|
+
export const OhBadgeBaseFontFamily =
|
|
400
|
+
"'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif";
|
|
401
|
+
export const OhBadgeBaseFontSize = "0.75rem";
|
|
402
|
+
export const OhBadgeBaseFontWeight = "500";
|
|
403
|
+
export const OhBadgeBaseLetterSpacing = "0.01em";
|
|
404
|
+
export const OhBadgeBaseBorderRadius = "9999px";
|
|
405
|
+
export const OhBadgeBasePaddingX = "0.625rem";
|
|
406
|
+
export const OhBadgeBasePaddingY = "0.25rem";
|
|
407
|
+
export const OhBadgeVariantBrandBackground = "#fff3e0";
|
|
408
|
+
export const OhBadgeVariantBrandColor = "#c54300";
|
|
409
|
+
export const OhBadgeVariantAccentBackground = "#eef4f9";
|
|
410
|
+
export const OhBadgeVariantAccentColor = "#3d5a80";
|
|
411
|
+
export const OhBadgeVariantSuccessBackground = "#f0f7f1";
|
|
412
|
+
export const OhBadgeVariantSuccessColor = "#4a8a4c";
|
|
413
|
+
export const OhBadgeVariantErrorBackground = "#fdf4f3";
|
|
414
|
+
export const OhBadgeVariantErrorColor = "#b54540";
|
|
415
|
+
export const OhBadgeVariantWarningBackground = "#fefaee";
|
|
416
|
+
export const OhBadgeVariantWarningColor = "#8c5e1c";
|
|
417
|
+
export const OhBadgeVariantNeutralBackground = "#ede8df";
|
|
418
|
+
export const OhBadgeVariantNeutralColor = "#6b5d4d";
|
|
419
|
+
export const OhLinkColor = "#c54300";
|
|
420
|
+
export const OhLinkColorHover = "#9e3500";
|
|
421
|
+
export const OhLinkTextDecoration = "underline";
|
|
422
|
+
export const OhLinkTextDecorationHover = "none";
|