@orange-halo/tokens 2.0.0 → 2.2.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 +187 -30
- package/contrast.js +11 -2
- package/dist/brands/hood-dark.css +74 -0
- package/dist/brands/hood-dark.json +723 -0
- package/dist/brands/hood.css +434 -0
- package/dist/brands/hood.json +723 -0
- package/dist/brands/orange-halo-dark.css +78 -0
- package/dist/brands/orange-halo-dark.json +857 -0
- package/dist/brands/orange-halo.css +512 -0
- package/dist/brands/orange-halo.json +857 -0
- package/dist/themes/dark.css +11 -0
- package/dist/themes/dark.json +146 -72
- package/dist/tokens.css +113 -62
- package/dist/tokens.js +131 -64
- package/dist/tokens.json +146 -72
- package/package.json +3 -4
- package/tokens/brands/hood/brand.json +7 -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 +187 -0
- package/tokens/brands/orange-halo/brand.json +7 -0
- package/tokens/{themes → brands/orange-halo}/dark.tokens.json +57 -7
- package/tokens/{semantic.tokens.json → brands/orange-halo/light.tokens.json} +128 -3
- package/tokens/{global.tokens.json → brands/orange-halo/palette.tokens.json} +83 -205
- package/tokens/{component.tokens.json → core/component.tokens.json} +205 -51
- package/tokens/core/scales.tokens.json +170 -0
- package/dist/themes/light.css +0 -47
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Hood brand palette (tier 1): Fraser Hood's personal site. Greyscale and type-led, after fraser-hood.co.uk/gig-history: flat, no shadows, small corners, one quiet blue for links that need a colour and for info.",
|
|
3
|
+
"grid": {
|
|
4
|
+
"$description": "The brand's layout grid. Spacing is multiples of half a unit; type sizes and line heights sit on it (see style-dictionary.config.js)",
|
|
5
|
+
"unit": {
|
|
6
|
+
"$type": "dimension",
|
|
7
|
+
"$value": "8px",
|
|
8
|
+
"$description": "8px grid with 4px half-steps"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"color": {
|
|
12
|
+
"grey": {
|
|
13
|
+
"$description": "Neutral greys. 850, 800, 750 and 100 are the gig-history site's page, surface, line and text colours; 500 is its muted grey, a touch lighter",
|
|
14
|
+
"50": { "$type": "color", "$value": "#F7F7F7" },
|
|
15
|
+
"100": { "$type": "color", "$value": "#EDEDED" },
|
|
16
|
+
"200": { "$type": "color", "$value": "#DEDEDE" },
|
|
17
|
+
"300": { "$type": "color", "$value": "#C4C4C4" },
|
|
18
|
+
"400": { "$type": "color", "$value": "#A8A8A8" },
|
|
19
|
+
"500": {
|
|
20
|
+
"$type": "color",
|
|
21
|
+
"$value": "#929292",
|
|
22
|
+
"$description": "The site's muted grey (#8F8F8F) lifted just enough for 4.5:1 on surface.raised"
|
|
23
|
+
},
|
|
24
|
+
"600": { "$type": "color", "$value": "#6B6B6B" },
|
|
25
|
+
"650": { "$type": "color", "$value": "#575757" },
|
|
26
|
+
"700": { "$type": "color", "$value": "#454545" },
|
|
27
|
+
"750": { "$type": "color", "$value": "#363636" },
|
|
28
|
+
"800": { "$type": "color", "$value": "#292929" },
|
|
29
|
+
"850": { "$type": "color", "$value": "#1F1F1F" },
|
|
30
|
+
"900": { "$type": "color", "$value": "#171717" },
|
|
31
|
+
"950": { "$type": "color", "$value": "#0D0D0D" }
|
|
32
|
+
},
|
|
33
|
+
"white": { "$type": "color", "$value": "#FFFFFF" },
|
|
34
|
+
"black": { "$type": "color", "$value": "#000000" },
|
|
35
|
+
"blue": {
|
|
36
|
+
"$description": "The one colour: accent and info",
|
|
37
|
+
"50": { "$type": "color", "$value": "#EDF3FC" },
|
|
38
|
+
"200": { "$type": "color", "$value": "#B3CDF2" },
|
|
39
|
+
"300": { "$type": "color", "$value": "#93B8EC" },
|
|
40
|
+
"700": { "$type": "color", "$value": "#1F5CB3" },
|
|
41
|
+
"800": { "$type": "color", "$value": "#184A91" },
|
|
42
|
+
"900": { "$type": "color", "$value": "#16263D" }
|
|
43
|
+
},
|
|
44
|
+
"green": {
|
|
45
|
+
"$description": "Success",
|
|
46
|
+
"50": { "$type": "color", "$value": "#EBF6EE" },
|
|
47
|
+
"300": { "$type": "color", "$value": "#82CF9C" },
|
|
48
|
+
"700": { "$type": "color", "$value": "#1D7238" },
|
|
49
|
+
"900": { "$type": "color", "$value": "#142B1C" }
|
|
50
|
+
},
|
|
51
|
+
"red": {
|
|
52
|
+
"$description": "Error",
|
|
53
|
+
"50": { "$type": "color", "$value": "#FCEEEE" },
|
|
54
|
+
"100": { "$type": "color", "$value": "#FAD4D4" },
|
|
55
|
+
"300": { "$type": "color", "$value": "#F59A9A" },
|
|
56
|
+
"700": { "$type": "color", "$value": "#B02525" },
|
|
57
|
+
"800": { "$type": "color", "$value": "#8C1D1D" },
|
|
58
|
+
"900": { "$type": "color", "$value": "#3A1717" }
|
|
59
|
+
},
|
|
60
|
+
"amber": {
|
|
61
|
+
"$description": "Warning",
|
|
62
|
+
"50": { "$type": "color", "$value": "#FCF4E3" },
|
|
63
|
+
"300": { "$type": "color", "$value": "#EBC271" },
|
|
64
|
+
"700": { "$type": "color", "$value": "#835600" },
|
|
65
|
+
"900": { "$type": "color", "$value": "#33260E" }
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"font": {
|
|
69
|
+
"family": {
|
|
70
|
+
"$description": "Plus Jakarta Sans for everything, as on the site",
|
|
71
|
+
"sans": {
|
|
72
|
+
"$type": "fontFamily",
|
|
73
|
+
"$value": "'Plus Jakarta Sans', Arial, Helvetica, sans-serif"
|
|
74
|
+
},
|
|
75
|
+
"display": {
|
|
76
|
+
"$type": "fontFamily",
|
|
77
|
+
"$value": "'Plus Jakarta Sans', Arial, Helvetica, sans-serif"
|
|
78
|
+
},
|
|
79
|
+
"mono": {
|
|
80
|
+
"$type": "fontFamily",
|
|
81
|
+
"$value": "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"size": {
|
|
85
|
+
"$description": "Type scale on the brand's grid (grid.unit): every size is a multiple of half a unit. Strict: no size between xs and base",
|
|
86
|
+
"xs": {
|
|
87
|
+
"$type": "dimension",
|
|
88
|
+
"$value": "0.75rem",
|
|
89
|
+
"$description": "12px"
|
|
90
|
+
},
|
|
91
|
+
"sm": {
|
|
92
|
+
"$type": "dimension",
|
|
93
|
+
"$value": "{font.size.xs}",
|
|
94
|
+
"$description": "Kept so existing references don't break. On the grid, small text is xs; use xs or a tier 2 role"
|
|
95
|
+
},
|
|
96
|
+
"base": {
|
|
97
|
+
"$type": "dimension",
|
|
98
|
+
"$value": "1rem",
|
|
99
|
+
"$description": "16px"
|
|
100
|
+
},
|
|
101
|
+
"lg": {
|
|
102
|
+
"$type": "dimension",
|
|
103
|
+
"$value": "1.25rem",
|
|
104
|
+
"$description": "20px"
|
|
105
|
+
},
|
|
106
|
+
"xl": {
|
|
107
|
+
"$type": "dimension",
|
|
108
|
+
"$value": "1.5rem",
|
|
109
|
+
"$description": "24px"
|
|
110
|
+
},
|
|
111
|
+
"2xl": { "$type": "dimension", "$value": "2rem", "$description": "32px" },
|
|
112
|
+
"3xl": {
|
|
113
|
+
"$type": "dimension",
|
|
114
|
+
"$value": "2.5rem",
|
|
115
|
+
"$description": "40px"
|
|
116
|
+
},
|
|
117
|
+
"4xl": {
|
|
118
|
+
"$type": "dimension",
|
|
119
|
+
"$value": "3.5rem",
|
|
120
|
+
"$description": "56px"
|
|
121
|
+
},
|
|
122
|
+
"5xl": { "$type": "dimension", "$value": "4rem", "$description": "64px" }
|
|
123
|
+
},
|
|
124
|
+
"weight": {
|
|
125
|
+
"normal": { "$type": "fontWeight", "$value": "400" },
|
|
126
|
+
"medium": { "$type": "fontWeight", "$value": "500" },
|
|
127
|
+
"semibold": { "$type": "fontWeight", "$value": "600" },
|
|
128
|
+
"bold": { "$type": "fontWeight", "$value": "700" },
|
|
129
|
+
"extrabold": { "$type": "fontWeight", "$value": "800" }
|
|
130
|
+
},
|
|
131
|
+
"lineHeight": {
|
|
132
|
+
"none": { "$type": "number", "$value": 1 },
|
|
133
|
+
"tight": { "$type": "number", "$value": 1.1 },
|
|
134
|
+
"snug": { "$type": "number", "$value": 1.3 },
|
|
135
|
+
"normal": { "$type": "number", "$value": 1.5 },
|
|
136
|
+
"relaxed": { "$type": "number", "$value": 1.6 }
|
|
137
|
+
},
|
|
138
|
+
"letterSpacing": {
|
|
139
|
+
"tighter": { "$type": "dimension", "$value": "-0.02em" },
|
|
140
|
+
"tight": { "$type": "dimension", "$value": "-0.01em" },
|
|
141
|
+
"normal": { "$type": "dimension", "$value": "0" },
|
|
142
|
+
"wide": { "$type": "dimension", "$value": "0.02em" },
|
|
143
|
+
"widest": {
|
|
144
|
+
"$type": "dimension",
|
|
145
|
+
"$value": "0.08em",
|
|
146
|
+
"$description": "Small uppercase labels, as on the site"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"radius": {
|
|
151
|
+
"$description": "Small, square-ish corners: 2px badges, 4px controls",
|
|
152
|
+
"none": { "$type": "dimension", "$value": "0" },
|
|
153
|
+
"xs": { "$type": "dimension", "$value": "2px" },
|
|
154
|
+
"sm": { "$type": "dimension", "$value": "4px" },
|
|
155
|
+
"md": { "$type": "dimension", "$value": "6px" },
|
|
156
|
+
"full": { "$type": "dimension", "$value": "9999px" }
|
|
157
|
+
},
|
|
158
|
+
"border": {
|
|
159
|
+
"width": {
|
|
160
|
+
"1": { "$type": "dimension", "$value": "1px" },
|
|
161
|
+
"2": { "$type": "dimension", "$value": "2px" }
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"shadow": {
|
|
165
|
+
"$description": "Flat: no shadows, except under dialogs",
|
|
166
|
+
"none": { "$type": "shadow", "$value": "none" },
|
|
167
|
+
"overlay": {
|
|
168
|
+
"$type": "shadow",
|
|
169
|
+
"$value": "0 12px 32px rgba(0, 0, 0, 0.35)",
|
|
170
|
+
"$description": "Modals and drawers only, to lift them off the backdrop"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"motion": {
|
|
174
|
+
"duration": {
|
|
175
|
+
"quick": { "$type": "duration", "$value": "100ms" },
|
|
176
|
+
"snappy": { "$type": "duration", "$value": "150ms" },
|
|
177
|
+
"gentle": { "$type": "duration", "$value": "200ms" },
|
|
178
|
+
"relaxed": { "$type": "duration", "$value": "250ms" },
|
|
179
|
+
"slow": { "$type": "duration", "$value": "350ms" }
|
|
180
|
+
},
|
|
181
|
+
"easing": {
|
|
182
|
+
"$description": "Plain ease-out: no overshoot",
|
|
183
|
+
"standard": { "$type": "cubicBezier", "$value": [0.4, 0, 0.2, 1] },
|
|
184
|
+
"out": { "$type": "cubicBezier", "$value": [0, 0, 0.2, 1] }
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "About the brand, for tools that show it (Storybook's Brand control): its name, and the stylesheets that load its fonts.",
|
|
3
|
+
"name": "Orange Halo",
|
|
4
|
+
"fonts": [
|
|
5
|
+
"https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap"
|
|
6
|
+
]
|
|
7
|
+
}
|
|
@@ -35,20 +35,43 @@
|
|
|
35
35
|
"raised": { "$type": "color", "$value": "{color.warm.walnut}" },
|
|
36
36
|
"sunlit": { "$type": "color", "$value": "{color.warm.chestnut}" },
|
|
37
37
|
"inset": { "$type": "color", "$value": "{color.warm.espresso}" },
|
|
38
|
-
"highlight": {
|
|
38
|
+
"highlight": {
|
|
39
|
+
"$type": "color",
|
|
40
|
+
"$value": "{color.warm.hickory}",
|
|
41
|
+
"$description": "Lighter than raised; text.primary stays readable on it"
|
|
42
|
+
},
|
|
39
43
|
"overlay": { "$type": "color", "$value": "rgba(15, 12, 10, 0.7)" },
|
|
40
44
|
"disabled": { "$type": "color", "$value": "{color.warm.mocha}" },
|
|
41
45
|
"hover": { "$type": "color", "$value": "{color.warm.hickory}" },
|
|
42
|
-
"activePressed": { "$type": "color", "$value": "{color.warm.mocha}" }
|
|
46
|
+
"activePressed": { "$type": "color", "$value": "{color.warm.mocha}" },
|
|
47
|
+
"featuredStart": {
|
|
48
|
+
"$type": "color",
|
|
49
|
+
"$value": "{color.warm.dawn}",
|
|
50
|
+
"$description": "Same as light for now: the dark theme hasn't been designed"
|
|
51
|
+
},
|
|
52
|
+
"featuredMid": { "$type": "color", "$value": "{color.warm.shell}" },
|
|
53
|
+
"featuredEnd": { "$type": "color", "$value": "{color.warm.biscuit}" },
|
|
54
|
+
"sheen": { "$type": "color", "$value": "rgba(255, 255, 255, 0.5)" },
|
|
55
|
+
"backdrop": { "$type": "color", "$value": "rgba(61, 50, 41, 0.6)" }
|
|
43
56
|
},
|
|
44
57
|
"border": {
|
|
45
58
|
"default": { "$type": "color", "$value": "{color.warm.taupe}" },
|
|
46
|
-
"subtle": {
|
|
59
|
+
"subtle": {
|
|
60
|
+
"$type": "color",
|
|
61
|
+
"$value": "{color.warm.driftwood}",
|
|
62
|
+
"$description": "Decorative dividers only — below 3:1"
|
|
63
|
+
},
|
|
47
64
|
"emphasis": { "$type": "color", "$value": "{color.warm.stone}" },
|
|
48
65
|
"strong": { "$type": "color", "$value": "{color.warm.stone}" },
|
|
49
66
|
"hover": { "$type": "color", "$value": "{color.warm.dune}" },
|
|
50
67
|
"disabled": { "$type": "color", "$value": "{color.warm.hickory}" },
|
|
51
|
-
"brand": { "$type": "color", "$value": "rgba(232, 168, 56, 0.3)" }
|
|
68
|
+
"brand": { "$type": "color", "$value": "rgba(232, 168, 56, 0.3)" },
|
|
69
|
+
"brandHover": {
|
|
70
|
+
"$type": "color",
|
|
71
|
+
"$value": "rgba(197, 67, 0, 0.35)",
|
|
72
|
+
"$description": "Same as light for now: the dark theme hasn't been designed"
|
|
73
|
+
},
|
|
74
|
+
"divider": { "$type": "color", "$value": "rgba(226, 213, 200, 0.6)" }
|
|
52
75
|
},
|
|
53
76
|
"text": {
|
|
54
77
|
"primary": { "$type": "color", "$value": "{color.warm.linen}" },
|
|
@@ -72,17 +95,44 @@
|
|
|
72
95
|
"primary": { "$type": "color", "$value": "{color.honey.800}" },
|
|
73
96
|
"secondary": { "$type": "color", "$value": "{color.warm.espresso}" },
|
|
74
97
|
"accent": { "$type": "color", "$value": "{color.blue.800}" },
|
|
75
|
-
"error": { "$type": "color", "$value": "{color.red.900}" }
|
|
98
|
+
"error": { "$type": "color", "$value": "{color.red.900}" },
|
|
99
|
+
"neutral": {
|
|
100
|
+
"$type": "color",
|
|
101
|
+
"$value": "{shadow.chunky.driftwood}",
|
|
102
|
+
"$description": "As in light, which is what dark showed before these were tokens. Faint on cocoa: review with the dark design"
|
|
103
|
+
},
|
|
104
|
+
"neutralHover": {
|
|
105
|
+
"$type": "color",
|
|
106
|
+
"$value": "{shadow.chunky.driftwoodHover}",
|
|
107
|
+
"$description": "As in light; review with the dark design"
|
|
108
|
+
},
|
|
109
|
+
"overlay": {
|
|
110
|
+
"$type": "color",
|
|
111
|
+
"$value": "{shadow.chunky.driftwoodDeep}",
|
|
112
|
+
"$description": "As in light; review with the dark design"
|
|
113
|
+
},
|
|
114
|
+
"field": {
|
|
115
|
+
"$type": "color",
|
|
116
|
+
"$value": "{shadow.chunky.walnut}",
|
|
117
|
+
"$description": "As in light; review with the dark design"
|
|
118
|
+
}
|
|
76
119
|
},
|
|
77
120
|
"elevation": {
|
|
78
121
|
"$description": "Black-based shadows — warm-brown shadows vanish on cocoa",
|
|
79
122
|
"soft": { "$type": "shadow", "$value": "0 2px 8px rgba(0, 0, 0, 0.25)" },
|
|
80
123
|
"medium": { "$type": "shadow", "$value": "0 4px 16px rgba(0, 0, 0, 0.3)" },
|
|
81
124
|
"strong": { "$type": "shadow", "$value": "0 8px 24px rgba(0, 0, 0, 0.4)" },
|
|
82
|
-
"inset": {
|
|
125
|
+
"inset": {
|
|
126
|
+
"$type": "shadow",
|
|
127
|
+
"$value": "inset 0 1px 3px rgba(0, 0, 0, 0.3)"
|
|
128
|
+
}
|
|
83
129
|
},
|
|
84
130
|
"focus": {
|
|
85
|
-
"ringColor": {
|
|
131
|
+
"ringColor": {
|
|
132
|
+
"$type": "color",
|
|
133
|
+
"$value": "{color.honey.400}",
|
|
134
|
+
"$description": "Opaque, as in light"
|
|
135
|
+
},
|
|
86
136
|
"glowColor": { "$type": "color", "$value": "rgba(232, 168, 56, 0.2)" }
|
|
87
137
|
}
|
|
88
138
|
}
|
|
@@ -150,6 +150,31 @@
|
|
|
150
150
|
"$type": "color",
|
|
151
151
|
"$value": "#F0EBE3",
|
|
152
152
|
"$description": "Active/pressed surface"
|
|
153
|
+
},
|
|
154
|
+
"featuredStart": {
|
|
155
|
+
"$type": "color",
|
|
156
|
+
"$value": "{color.warm.dawn}",
|
|
157
|
+
"$description": "Featured (sunlit) card gradient: top"
|
|
158
|
+
},
|
|
159
|
+
"featuredMid": {
|
|
160
|
+
"$type": "color",
|
|
161
|
+
"$value": "{color.warm.shell}",
|
|
162
|
+
"$description": "Featured (sunlit) card gradient: 30%"
|
|
163
|
+
},
|
|
164
|
+
"featuredEnd": {
|
|
165
|
+
"$type": "color",
|
|
166
|
+
"$value": "{color.warm.biscuit}",
|
|
167
|
+
"$description": "Featured (sunlit) card gradient: bottom"
|
|
168
|
+
},
|
|
169
|
+
"sheen": {
|
|
170
|
+
"$type": "color",
|
|
171
|
+
"$value": "rgba(255, 255, 255, 0.5)",
|
|
172
|
+
"$description": "Light glaze at the top of card headers, fading to transparent"
|
|
173
|
+
},
|
|
174
|
+
"backdrop": {
|
|
175
|
+
"$type": "color",
|
|
176
|
+
"$value": "rgba(61, 50, 41, 0.6)",
|
|
177
|
+
"$description": "Modal backdrop — darker than surface.overlay so the dialog stands out"
|
|
153
178
|
}
|
|
154
179
|
},
|
|
155
180
|
"border": {
|
|
@@ -187,6 +212,16 @@
|
|
|
187
212
|
"$type": "color",
|
|
188
213
|
"$value": "rgba(197, 67, 0, 0.25)",
|
|
189
214
|
"$description": "Brand-tinted border"
|
|
215
|
+
},
|
|
216
|
+
"brandHover": {
|
|
217
|
+
"$type": "color",
|
|
218
|
+
"$value": "rgba(197, 67, 0, 0.35)",
|
|
219
|
+
"$description": "Brand-tinted border on hover. Decorative container edge — not a focus or control border"
|
|
220
|
+
},
|
|
221
|
+
"divider": {
|
|
222
|
+
"$type": "color",
|
|
223
|
+
"$value": "rgba(226, 213, 200, 0.6)",
|
|
224
|
+
"$description": "Decorative divider inside a container, such as a card's header and footer"
|
|
190
225
|
}
|
|
191
226
|
},
|
|
192
227
|
"text": {
|
|
@@ -421,7 +456,7 @@
|
|
|
421
456
|
"sm": {
|
|
422
457
|
"fontSize": {
|
|
423
458
|
"$type": "dimension",
|
|
424
|
-
"$value": "{font.size.
|
|
459
|
+
"$value": "{font.size.xs}"
|
|
425
460
|
},
|
|
426
461
|
"fontWeight": {
|
|
427
462
|
"$type": "fontWeight",
|
|
@@ -463,7 +498,7 @@
|
|
|
463
498
|
"base": {
|
|
464
499
|
"fontSize": {
|
|
465
500
|
"$type": "dimension",
|
|
466
|
-
"$value": "{font.size.
|
|
501
|
+
"$value": "{font.size.base}"
|
|
467
502
|
},
|
|
468
503
|
"fontWeight": {
|
|
469
504
|
"$type": "fontWeight",
|
|
@@ -564,7 +599,7 @@
|
|
|
564
599
|
},
|
|
565
600
|
"fontSize": {
|
|
566
601
|
"$type": "dimension",
|
|
567
|
-
"$value": "{font.size.
|
|
602
|
+
"$value": "{font.size.base}"
|
|
568
603
|
},
|
|
569
604
|
"lineHeight": {
|
|
570
605
|
"$type": "number",
|
|
@@ -701,8 +736,78 @@
|
|
|
701
736
|
"$type": "shadow",
|
|
702
737
|
"$value": "{shadow.inset}",
|
|
703
738
|
"$description": "Inputs, wells"
|
|
739
|
+
},
|
|
740
|
+
"surface": {
|
|
741
|
+
"$description": "Card surfaces, by state. Featured is the sunlit card",
|
|
742
|
+
"flat": { "$type": "shadow", "$value": "{shadow.layered.flat}" },
|
|
743
|
+
"raised": { "$type": "shadow", "$value": "{shadow.layered.raised}" },
|
|
744
|
+
"lifted": {
|
|
745
|
+
"$type": "shadow",
|
|
746
|
+
"$value": "{shadow.layered.lifted}",
|
|
747
|
+
"$description": "Hovered"
|
|
748
|
+
},
|
|
749
|
+
"pressed": { "$type": "shadow", "$value": "{shadow.layered.pressed}" },
|
|
750
|
+
"focused": {
|
|
751
|
+
"$type": "shadow",
|
|
752
|
+
"$value": "{shadow.layered.focused}",
|
|
753
|
+
"$description": "Sits under the focus glow"
|
|
754
|
+
},
|
|
755
|
+
"featured": { "$type": "shadow", "$value": "{shadow.layered.sunlit}" },
|
|
756
|
+
"featuredLifted": {
|
|
757
|
+
"$type": "shadow",
|
|
758
|
+
"$value": "{shadow.layered.sunlitLifted}"
|
|
759
|
+
},
|
|
760
|
+
"featuredFocused": {
|
|
761
|
+
"$type": "shadow",
|
|
762
|
+
"$value": "{shadow.layered.sunlitFocused}"
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
"offset": {
|
|
766
|
+
"$description": "How far solid offset shadows sit from the element, from pressed (xs) to dialogs (2xl). The colour comes from shadow.*. A flat brand sets every step to 0",
|
|
767
|
+
"xs": { "$type": "dimension", "$value": "1px" },
|
|
768
|
+
"sm": { "$type": "dimension", "$value": "2px" },
|
|
769
|
+
"md": { "$type": "dimension", "$value": "3px" },
|
|
770
|
+
"lg": { "$type": "dimension", "$value": "4px" },
|
|
771
|
+
"xl": { "$type": "dimension", "$value": "5px" },
|
|
772
|
+
"2xl": { "$type": "dimension", "$value": "6px" }
|
|
704
773
|
}
|
|
705
774
|
},
|
|
775
|
+
"lift": {
|
|
776
|
+
"$description": "How far elements move on hover (negative: up and left, towards the viewer) and when pressed (positive: into the page). A still brand sets every step to 0",
|
|
777
|
+
"hoverSm": { "$type": "dimension", "$value": "-1px" },
|
|
778
|
+
"hoverMd": { "$type": "dimension", "$value": "-2px" },
|
|
779
|
+
"pressSm": { "$type": "dimension", "$value": "1px" },
|
|
780
|
+
"pressMd": { "$type": "dimension", "$value": "2px" }
|
|
781
|
+
},
|
|
782
|
+
"stroke": {
|
|
783
|
+
"$description": "Border widths by role",
|
|
784
|
+
"control": {
|
|
785
|
+
"$type": "dimension",
|
|
786
|
+
"$value": "{border.width.chunky}",
|
|
787
|
+
"$description": "Controls and framed containers: buttons, fields, checkboxes, alerts, dialogs"
|
|
788
|
+
},
|
|
789
|
+
"surface": {
|
|
790
|
+
"$type": "dimension",
|
|
791
|
+
"$value": "{border.width.1}",
|
|
792
|
+
"$description": "Card edges"
|
|
793
|
+
},
|
|
794
|
+
"divider": {
|
|
795
|
+
"$type": "dimension",
|
|
796
|
+
"$value": "{border.width.1}",
|
|
797
|
+
"$description": "Lines between sections"
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
"decoration": {
|
|
801
|
+
"$description": "Link underlines. Orange Halo's are dashed: a dash, then a gap, repeating every period. A solid underline sets dash and period to the same value",
|
|
802
|
+
"underlineThickness": { "$type": "dimension", "$value": "2px" },
|
|
803
|
+
"underlineFocusThickness": {
|
|
804
|
+
"$type": "dimension",
|
|
805
|
+
"$value": "3px",
|
|
806
|
+
"$description": "The solid underline that shows keyboard focus on inline links"
|
|
807
|
+
},
|
|
808
|
+
"underlineDash": { "$type": "dimension", "$value": "4px" },
|
|
809
|
+
"underlinePeriod": { "$type": "dimension", "$value": "8px" }
|
|
810
|
+
},
|
|
706
811
|
"motion": {
|
|
707
812
|
"$description": "Relaxed, playful motion",
|
|
708
813
|
"quick": {
|
|
@@ -759,6 +864,26 @@
|
|
|
759
864
|
"$type": "color",
|
|
760
865
|
"$value": "{shadow.chunky.error}",
|
|
761
866
|
"$description": "Error state"
|
|
867
|
+
},
|
|
868
|
+
"neutral": {
|
|
869
|
+
"$type": "color",
|
|
870
|
+
"$value": "{shadow.chunky.driftwood}",
|
|
871
|
+
"$description": "Containers and the skip link"
|
|
872
|
+
},
|
|
873
|
+
"neutralHover": {
|
|
874
|
+
"$type": "color",
|
|
875
|
+
"$value": "{shadow.chunky.driftwoodHover}",
|
|
876
|
+
"$description": "Lifted containers"
|
|
877
|
+
},
|
|
878
|
+
"overlay": {
|
|
879
|
+
"$type": "color",
|
|
880
|
+
"$value": "{shadow.chunky.driftwoodDeep}",
|
|
881
|
+
"$description": "Dialogs"
|
|
882
|
+
},
|
|
883
|
+
"field": {
|
|
884
|
+
"$type": "color",
|
|
885
|
+
"$value": "{shadow.chunky.walnut}",
|
|
886
|
+
"$description": "The inset shadow inside text fields"
|
|
762
887
|
}
|
|
763
888
|
},
|
|
764
889
|
"focus": {
|