@orange-halo/tokens 2.0.0 → 2.1.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 +1 -0
- package/dist/brands/hood-dark.css +74 -0
- package/dist/brands/hood-dark.json +719 -0
- package/dist/brands/hood.css +433 -0
- package/dist/brands/hood.json +719 -0
- package/dist/brands/orange-halo-dark.css +78 -0
- package/dist/brands/orange-halo-dark.json +853 -0
- package/dist/brands/orange-halo.css +511 -0
- package/dist/brands/orange-halo.json +853 -0
- package/dist/themes/dark.css +11 -0
- package/dist/themes/dark.json +112 -42
- package/dist/tokens.css +88 -38
- package/dist/tokens.js +96 -30
- package/dist/tokens.json +112 -42
- package/package.json +2 -1
- package/tokens/brands/hood/brand.json +5 -0
- package/tokens/brands/hood/dark.tokens.json +295 -0
- package/tokens/brands/hood/light.tokens.json +875 -0
- package/tokens/brands/hood/palette.tokens.json +130 -0
- package/tokens/brands/orange-halo/brand.json +5 -0
- package/tokens/{themes → brands/orange-halo}/dark.tokens.json +14 -3
- package/tokens/{semantic.tokens.json → brands/orange-halo/light.tokens.json} +95 -0
- package/tokens/{global.tokens.json → brands/orange-halo/palette.tokens.json} +58 -168
- package/tokens/{component.tokens.json → core/component.tokens.json} +16 -12
- package/tokens/core/scales.tokens.json +170 -0
- package/dist/themes/light.css +0 -47
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Core scales shared by every brand: spacing, fixed sizes (content widths and breakpoints) and stacking order. Structural, so layouts behave the same in every brand.",
|
|
3
|
+
"spacing": {
|
|
4
|
+
"$description": "Generous spacing — breathing room, not dense",
|
|
5
|
+
"0": {
|
|
6
|
+
"$type": "dimension",
|
|
7
|
+
"$value": "0"
|
|
8
|
+
},
|
|
9
|
+
"px": {
|
|
10
|
+
"$type": "dimension",
|
|
11
|
+
"$value": "1px"
|
|
12
|
+
},
|
|
13
|
+
"0-5": {
|
|
14
|
+
"$type": "dimension",
|
|
15
|
+
"$value": "0.125rem",
|
|
16
|
+
"$description": "2px"
|
|
17
|
+
},
|
|
18
|
+
"1": {
|
|
19
|
+
"$type": "dimension",
|
|
20
|
+
"$value": "0.25rem",
|
|
21
|
+
"$description": "4px"
|
|
22
|
+
},
|
|
23
|
+
"1-5": {
|
|
24
|
+
"$type": "dimension",
|
|
25
|
+
"$value": "0.375rem",
|
|
26
|
+
"$description": "6px"
|
|
27
|
+
},
|
|
28
|
+
"2": {
|
|
29
|
+
"$type": "dimension",
|
|
30
|
+
"$value": "0.5rem",
|
|
31
|
+
"$description": "8px"
|
|
32
|
+
},
|
|
33
|
+
"2-5": {
|
|
34
|
+
"$type": "dimension",
|
|
35
|
+
"$value": "0.625rem",
|
|
36
|
+
"$description": "10px"
|
|
37
|
+
},
|
|
38
|
+
"3": {
|
|
39
|
+
"$type": "dimension",
|
|
40
|
+
"$value": "0.75rem",
|
|
41
|
+
"$description": "12px"
|
|
42
|
+
},
|
|
43
|
+
"3-5": {
|
|
44
|
+
"$type": "dimension",
|
|
45
|
+
"$value": "0.875rem",
|
|
46
|
+
"$description": "14px"
|
|
47
|
+
},
|
|
48
|
+
"4": {
|
|
49
|
+
"$type": "dimension",
|
|
50
|
+
"$value": "1rem",
|
|
51
|
+
"$description": "16px"
|
|
52
|
+
},
|
|
53
|
+
"5": {
|
|
54
|
+
"$type": "dimension",
|
|
55
|
+
"$value": "1.25rem",
|
|
56
|
+
"$description": "20px"
|
|
57
|
+
},
|
|
58
|
+
"6": {
|
|
59
|
+
"$type": "dimension",
|
|
60
|
+
"$value": "1.5rem",
|
|
61
|
+
"$description": "24px"
|
|
62
|
+
},
|
|
63
|
+
"7": {
|
|
64
|
+
"$type": "dimension",
|
|
65
|
+
"$value": "1.75rem",
|
|
66
|
+
"$description": "28px"
|
|
67
|
+
},
|
|
68
|
+
"8": {
|
|
69
|
+
"$type": "dimension",
|
|
70
|
+
"$value": "2rem",
|
|
71
|
+
"$description": "32px"
|
|
72
|
+
},
|
|
73
|
+
"10": {
|
|
74
|
+
"$type": "dimension",
|
|
75
|
+
"$value": "2.5rem",
|
|
76
|
+
"$description": "40px"
|
|
77
|
+
},
|
|
78
|
+
"12": {
|
|
79
|
+
"$type": "dimension",
|
|
80
|
+
"$value": "3rem",
|
|
81
|
+
"$description": "48px"
|
|
82
|
+
},
|
|
83
|
+
"16": {
|
|
84
|
+
"$type": "dimension",
|
|
85
|
+
"$value": "4rem",
|
|
86
|
+
"$description": "64px"
|
|
87
|
+
},
|
|
88
|
+
"20": {
|
|
89
|
+
"$type": "dimension",
|
|
90
|
+
"$value": "5rem",
|
|
91
|
+
"$description": "80px"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"size": {
|
|
95
|
+
"$description": "Fixed layout sizes: content widths and viewport breakpoints",
|
|
96
|
+
"container": {
|
|
97
|
+
"$description": "Content max-widths",
|
|
98
|
+
"sm": {
|
|
99
|
+
"$type": "dimension",
|
|
100
|
+
"$value": "640px"
|
|
101
|
+
},
|
|
102
|
+
"md": {
|
|
103
|
+
"$type": "dimension",
|
|
104
|
+
"$value": "768px"
|
|
105
|
+
},
|
|
106
|
+
"lg": {
|
|
107
|
+
"$type": "dimension",
|
|
108
|
+
"$value": "1024px"
|
|
109
|
+
},
|
|
110
|
+
"xl": {
|
|
111
|
+
"$type": "dimension",
|
|
112
|
+
"$value": "1280px"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"breakpoint": {
|
|
116
|
+
"$description": "Viewport widths for @media queries. CSS can't read custom properties in a media query, so components write the value; check:tokens fails any (min|max)-width that isn't one of these (or one pixel either side, for adjoining ranges).",
|
|
117
|
+
"xs": {
|
|
118
|
+
"$type": "dimension",
|
|
119
|
+
"$value": "480px"
|
|
120
|
+
},
|
|
121
|
+
"sm": {
|
|
122
|
+
"$type": "dimension",
|
|
123
|
+
"$value": "640px"
|
|
124
|
+
},
|
|
125
|
+
"md": {
|
|
126
|
+
"$type": "dimension",
|
|
127
|
+
"$value": "768px"
|
|
128
|
+
},
|
|
129
|
+
"lg": {
|
|
130
|
+
"$type": "dimension",
|
|
131
|
+
"$value": "1024px"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"zIndex": {
|
|
136
|
+
"$description": "Z-index layering",
|
|
137
|
+
"0": {
|
|
138
|
+
"$type": "number",
|
|
139
|
+
"$value": 0
|
|
140
|
+
},
|
|
141
|
+
"10": {
|
|
142
|
+
"$type": "number",
|
|
143
|
+
"$value": 10
|
|
144
|
+
},
|
|
145
|
+
"20": {
|
|
146
|
+
"$type": "number",
|
|
147
|
+
"$value": 20
|
|
148
|
+
},
|
|
149
|
+
"dropdown": {
|
|
150
|
+
"$type": "number",
|
|
151
|
+
"$value": 1000
|
|
152
|
+
},
|
|
153
|
+
"sticky": {
|
|
154
|
+
"$type": "number",
|
|
155
|
+
"$value": 1100
|
|
156
|
+
},
|
|
157
|
+
"modal": {
|
|
158
|
+
"$type": "number",
|
|
159
|
+
"$value": 1200
|
|
160
|
+
},
|
|
161
|
+
"popover": {
|
|
162
|
+
"$type": "number",
|
|
163
|
+
"$value": 1300
|
|
164
|
+
},
|
|
165
|
+
"tooltip": {
|
|
166
|
+
"$type": "number",
|
|
167
|
+
"$value": 1400
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
package/dist/themes/light.css
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Orange Halo Light Theme
|
|
3
|
-
* Auto-generated - do not edit directly
|
|
4
|
-
* WCAG AA compliant color contrast ratios
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
:root, [data-theme='light'] {
|
|
8
|
-
--oh-color-brand-primary: #c54300;
|
|
9
|
-
--oh-color-brand-primary-hover: #9e3500;
|
|
10
|
-
--oh-color-brand-primary-active: #9e3500;
|
|
11
|
-
--oh-color-brand-primary-subtle: #fff3e0;
|
|
12
|
-
--oh-color-brand-primary-muted: #ffe0b2;
|
|
13
|
-
--oh-color-brand-highlight: #e8a838;
|
|
14
|
-
--oh-color-brand-highlight-subtle: #fdf3d4;
|
|
15
|
-
--oh-color-accent-default: #3d5a80;
|
|
16
|
-
--oh-color-accent-hover: #354f70;
|
|
17
|
-
--oh-color-accent-subtle: #eef4f9;
|
|
18
|
-
--oh-color-accent-muted: #d6e4f0;
|
|
19
|
-
--oh-color-feedback-success: #3d7340;
|
|
20
|
-
--oh-color-feedback-success-subtle: #f0f7f1;
|
|
21
|
-
--oh-color-feedback-error: #b54540;
|
|
22
|
-
--oh-color-feedback-error-subtle: #fdf4f3;
|
|
23
|
-
--oh-color-feedback-warning: #8c5e1c;
|
|
24
|
-
--oh-color-feedback-warning-subtle: #fefaee;
|
|
25
|
-
--oh-color-feedback-info: #3d5a80;
|
|
26
|
-
--oh-color-feedback-info-subtle: #eef4f9;
|
|
27
|
-
--oh-color-surface-base: #faf7f2;
|
|
28
|
-
--oh-color-surface-raised: #f5f0e8;
|
|
29
|
-
--oh-color-surface-sunlit: #faf7f2;
|
|
30
|
-
--oh-color-surface-inset: #ede8df;
|
|
31
|
-
--oh-color-surface-overlay: rgba(61, 50, 41, 0.4);
|
|
32
|
-
--oh-color-surface-disabled: #e2dcd2;
|
|
33
|
-
--oh-color-border-default: #e2dcd2;
|
|
34
|
-
--oh-color-border-subtle: #ede8df;
|
|
35
|
-
--oh-color-border-emphasis: #6b5d4d;
|
|
36
|
-
--oh-color-border-focus: #c54300;
|
|
37
|
-
--oh-color-border-brand: rgba(197, 67, 0, 0.25);
|
|
38
|
-
--oh-color-text-primary: #3d3229;
|
|
39
|
-
--oh-color-text-secondary: #6b5d4d;
|
|
40
|
-
--oh-color-text-disabled: #c9c1b4;
|
|
41
|
-
--oh-color-text-inverse: #faf7f2;
|
|
42
|
-
--oh-color-text-link: #c54300;
|
|
43
|
-
--oh-color-text-link-hover: #9e3500;
|
|
44
|
-
--oh-color-text-link-raised: #9e3500;
|
|
45
|
-
--oh-focus-ring-color: #c54300;
|
|
46
|
-
--oh-focus-glow-color: rgba(197, 67, 0, 0.15);
|
|
47
|
-
}
|