PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/theme/design-tokens.css +257 -259 23.5.2 → trunk View file →
@@ -2,68 +2,28 @@
2 2 /* -------------------------------------------
3 3 * Autogenerated by ⛋ Terrazzo. DO NOT EDIT!
4 4 * ------------------------------------------- */
5 5 :root {
6 - /* Buttons and other elements nested inside controls. */
7 - --wpds-border-radius-xs: 1px;
6 + /* Cards, dialogs, notices, and other larger content containers. */
7 + --wpds-border-radius-lg: 8px;
8 + /* Menus, popovers, and other small portaled overlays. */
9 + --wpds-border-radius-md: 4px;
8 10 /* Standalone buttons, inputs, and compact controls. */
9 11 --wpds-border-radius-sm: 2px;
10 - /* Menus, popovers, and other small portaled overlays. */
11 - --wpds-border-radius-md: 4px;
12 - /* Cards, dialogs, notices, and other larger content containers. */
13 - --wpds-border-radius-lg: 8px;
14 12 /* Page and app shell surfaces. */
15 13 --wpds-border-radius-xl: 12px;
14 + /* Buttons and other elements nested inside controls. */
15 + --wpds-border-radius-xs: 1px;
16 + /* Border width for focus ring */
17 + --wpds-border-width-focus: 2px;
18 + /* Large width */
19 + --wpds-border-width-lg: 8px;
20 + /* Medium width */
21 + --wpds-border-width-md: 4px;
22 + /* Small width */
23 + --wpds-border-width-sm: 2px;
16 24 /* Extra small width */
17 25 --wpds-border-width-xs: 1px;
18 - /* Small width */
19 - --wpds-border-width-sm: 2px;
20 - /* Medium width */
21 - --wpds-border-width-md: 4px;
22 - /* Large width */
23 - --wpds-border-width-lg: 8px;
24 - /* Border width for focus ring */
25 - --wpds-border-width-focus: 2px;
26 - /* Background color for surfaces with normal emphasis. */
27 - --wpds-color-background-surface-neutral: #fcfcfc;
28 - /* Background color for surfaces with strong emphasis. */
29 - --wpds-color-background-surface-neutral-strong: #fff;
30 - /* Background color for surfaces with weak emphasis. */
31 - --wpds-color-background-surface-neutral-weak: #f4f4f4;
32 - /* Background color for surfaces with brand tone and normal emphasis. */
33 - --wpds-color-background-surface-brand: #ecf0fa;
34 - /* Background color for surfaces with success tone and normal emphasis. */
35 - --wpds-color-background-surface-success: #c6f7cd;
36 - /* Background color for surfaces with success tone and weak emphasis. */
37 - --wpds-color-background-surface-success-weak: #ebffed;
38 - /* Background color for surfaces with info tone and normal emphasis. */
39 - --wpds-color-background-surface-info: #deebfa;
40 - /* Background color for surfaces with info tone and weak emphasis. */
41 - --wpds-color-background-surface-info-weak: #f3f9ff;
42 - /* Background color for surfaces with warning tone and normal emphasis. */
43 - --wpds-color-background-surface-warning: #fde6be;
44 - /* Background color for surfaces with warning tone and weak emphasis. */
45 - --wpds-color-background-surface-warning-weak: #fff7e1;
46 - /* Background color for surfaces with caution tone and normal emphasis. */
47 - --wpds-color-background-surface-caution: #fee995;
48 - /* Background color for surfaces with caution tone and weak emphasis. */
49 - --wpds-color-background-surface-caution-weak: #fff9ca;
50 - /* Background color for surfaces with error tone and normal emphasis. */
51 - --wpds-color-background-surface-error: #f6e6e3;
52 - /* Background color for surfaces with error tone and weak emphasis. */
53 - --wpds-color-background-surface-error-weak: #fff6f5;
54 - /* Background color for interactive elements with neutral tone and strong emphasis. */
55 - --wpds-color-background-interactive-neutral-strong: #2d2d2d;
56 - /* Background color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
57 - --wpds-color-background-interactive-neutral-strong-active: #1e1e1e;
58 - /* Background color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
59 - --wpds-color-background-interactive-neutral-strong-disabled: #e6e6e6;
60 - /* Background color for interactive elements with neutral tone and weak emphasis. */
61 - --wpds-color-background-interactive-neutral-weak: #0000;
62 - /* Background color for interactive elements with neutral tone and weak emphasis that are hovered, focused, or active. */
63 - --wpds-color-background-interactive-neutral-weak-active: #ededed;
64 - /* Background color for interactive elements with neutral tone and weak emphasis, in their disabled state. */
65 - --wpds-color-background-interactive-neutral-weak-disabled: #0000;
66 26 /* Background color for interactive elements with brand tone and strong emphasis. */
67 27 --wpds-color-background-interactive-brand-strong: #3858e9;
68 28 /* Background color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
69 29 --wpds-color-background-interactive-brand-strong-active: #2e49d9;
@@ -71,9 +31,9 @@
71 31 --wpds-color-background-interactive-brand-strong-disabled: #e6e6e6;
72 32 /* Background color for interactive elements with brand tone and weak emphasis. */
73 33 --wpds-color-background-interactive-brand-weak: #0000;
74 34 /* Background color for interactive elements with brand tone and weak emphasis that are hovered, focused, or active. */
75 - --wpds-color-background-interactive-brand-weak-active: #e6eaf4;
35 + --wpds-color-background-interactive-brand-weak-active: #e5eaf7;
76 36 /* Background color for interactive elements with brand tone and weak emphasis, in their disabled state. */
77 37 --wpds-color-background-interactive-brand-weak-disabled: #0000;
78 38 /* Background color for interactive elements with error tone and normal emphasis. */
79 39 --wpds-color-background-interactive-error: #0000;
@@ -89,25 +49,85 @@
89 49 --wpds-color-background-interactive-error-strong-disabled: #e6e6e6;
90 50 /* Background color for interactive elements with error tone and weak emphasis. */
91 51 --wpds-color-background-interactive-error-weak: #0000;
92 52 /* Background color for interactive elements with error tone and weak emphasis that are hovered, focused, or active. */
93 - --wpds-color-background-interactive-error-weak-active: #f6e6e3;
53 + --wpds-color-background-interactive-error-weak-active: #fae5e1;
94 54 /* Background color for interactive elements with error tone and weak emphasis, in their disabled state. */
95 55 --wpds-color-background-interactive-error-weak-disabled: #0000;
96 - /* Background color for tracks with a neutral tone and weak emphasis (eg. scrollbar track). */
97 - --wpds-color-background-track-neutral-weak: #f0f0f0;
98 - /* Background color for tracks with a neutral tone and normal emphasis (eg. slider or progressbar track). */
99 - --wpds-color-background-track-neutral: #dbdbdb;
56 + /* Solid background color for neutral interactive controls, such as input fields and unchecked checkboxes. */
57 + --wpds-color-background-interactive-neutral: #fff;
58 + /* Solid background color for neutral interactive controls that are hovered, focused, or active. */
59 + --wpds-color-background-interactive-neutral-active: #fff;
60 + /* Solid background color for neutral interactive controls in their disabled state. */
61 + --wpds-color-background-interactive-neutral-disabled: #fff;
62 + /* Background color for interactive elements with neutral tone and strong emphasis. */
63 + --wpds-color-background-interactive-neutral-strong: #2d2d2d;
64 + /* Background color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
65 + --wpds-color-background-interactive-neutral-strong-active: #1e1e1e;
66 + /* Background color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
67 + --wpds-color-background-interactive-neutral-strong-disabled: #e6e6e6;
68 + /* Background color for interactive elements with neutral tone and weak emphasis. */
69 + --wpds-color-background-interactive-neutral-weak: #0000;
70 + /* Background color for interactive elements with neutral tone and weak emphasis that are hovered, focused, or active. */
71 + --wpds-color-background-interactive-neutral-weak-active: #ededed;
72 + /* Background color for interactive elements with neutral tone and weak emphasis, in their disabled state. */
73 + --wpds-color-background-interactive-neutral-weak-disabled: #0000;
74 + /* Background color for surfaces with brand tone and normal emphasis. */
75 + --wpds-color-background-surface-brand: #ecf0fa;
76 + /* Background color for surfaces with caution tone and normal emphasis. */
77 + --wpds-color-background-surface-caution: #fee995;
78 + /* Background color for surfaces with caution tone and weak emphasis. */
79 + --wpds-color-background-surface-caution-weak: #fff9ca;
80 + /* Background color for surfaces with error tone and normal emphasis. */
81 + --wpds-color-background-surface-error: #fae5e1;
82 + /* Background color for surfaces with error tone and weak emphasis. */
83 + --wpds-color-background-surface-error-weak: #fff6f5;
84 + /* Background color for surfaces with info tone and normal emphasis. */
85 + --wpds-color-background-surface-info: #deebfa;
86 + /* Background color for surfaces with info tone and weak emphasis. */
87 + --wpds-color-background-surface-info-weak: #f3f9ff;
88 + /* Background color for surfaces with normal emphasis. */
89 + --wpds-color-background-surface-neutral: #fcfcfc;
90 + /* Background color for surfaces with strong emphasis. */
91 + --wpds-color-background-surface-neutral-strong: #fff;
92 + /* Background color for surfaces with weak emphasis. */
93 + --wpds-color-background-surface-neutral-weak: #f4f4f4;
94 + /* Background color for surfaces with success tone and normal emphasis. */
95 + --wpds-color-background-surface-success: #c2f8ca;
96 + /* Background color for surfaces with success tone and weak emphasis. */
97 + --wpds-color-background-surface-success-weak: #ebffed;
98 + /* Background color for surfaces with warning tone and normal emphasis. */
99 + --wpds-color-background-surface-warning: #fde6be;
100 + /* Background color for surfaces with warning tone and weak emphasis. */
101 + --wpds-color-background-surface-warning-weak: #fff7e1;
102 + /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track). */
103 + --wpds-color-background-thumb-brand: #3858e9;
104 + /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track) that are hovered, focused, or active. */
105 + --wpds-color-background-thumb-brand-active: #3858e9;
106 + /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track), in their disabled state. */
107 + --wpds-color-background-thumb-brand-disabled: #dbdbdb;
100 108 /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb). */
101 109 --wpds-color-background-thumb-neutral-weak: #8d8d8d;
102 110 /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb) that are hovered, focused, or active. */
103 111 --wpds-color-background-thumb-neutral-weak-active: #6e6e6e;
104 - /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track). */
105 - --wpds-color-background-thumb-brand: #3858e9;
106 - /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track) that are hovered, focused, or active. */
107 - --wpds-color-background-thumb-brand-active: #3858e9;
108 - /* Background color for thumbs with normal emphasis (eg. slider thumb and filled track), in their disabled state, regardless of the tone. */
109 - --wpds-color-background-thumb-neutral-disabled: #dbdbdb;
112 + /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb), in their disabled state. */
113 + --wpds-color-background-thumb-neutral-weak-disabled: #dbdbdb;
114 + /* Background color for tracks with a neutral tone and normal emphasis (eg. slider or progressbar track). */
115 + --wpds-color-background-track-neutral: #dbdbdb;
116 + /* Background color for tracks with a neutral tone and weak emphasis (eg. scrollbar track). */
117 + --wpds-color-background-track-neutral-weak: #f0f0f0;
118 + /* Foreground color for content like text with caution tone and normal emphasis. */
119 + --wpds-color-foreground-content-caution: #281d00;
120 + /* Foreground color for content like text with caution tone and weak emphasis. */
121 + --wpds-color-foreground-content-caution-weak: #836a00;
122 + /* Foreground color for content like text with error tone and normal emphasis. */
123 + --wpds-color-foreground-content-error: #470000;
124 + /* Foreground color for content like text with error tone and weak emphasis. */
125 + --wpds-color-foreground-content-error-weak: #cc1818;
126 + /* Foreground color for content like text with info tone and normal emphasis. */
127 + --wpds-color-foreground-content-info: #001b4f;
128 + /* Foreground color for content like text with info tone and weak emphasis. */
129 + --wpds-color-foreground-content-info-weak: #006bd7;
110 130 /* Foreground color for content like text with normal emphasis. */
111 131 --wpds-color-foreground-content-neutral: #1e1e1e;
112 132 /* Foreground color for content like text with weak emphasis. */
113 133 --wpds-color-foreground-content-neutral-weak: #707070;
@@ -114,40 +134,12 @@
114 134 /* Foreground color for content like text with success tone and normal emphasis. */
115 135 --wpds-color-foreground-content-success: #002900;
116 136 /* Foreground color for content like text with success tone and weak emphasis. */
117 137 --wpds-color-foreground-content-success-weak: #008030;
118 - /* Foreground color for content like text with info tone and normal emphasis. */
119 - --wpds-color-foreground-content-info: #001b4f;
120 - /* Foreground color for content like text with info tone and weak emphasis. */
121 - --wpds-color-foreground-content-info-weak: #006bd7;
122 138 /* Foreground color for content like text with warning tone and normal emphasis. */
123 139 --wpds-color-foreground-content-warning: #2e1900;
124 140 /* Foreground color for content like text with warning tone and weak emphasis. */
125 - --wpds-color-foreground-content-warning-weak: #926300;
126 - /* Foreground color for content like text with caution tone and normal emphasis. */
127 - --wpds-color-foreground-content-caution: #281d00;
128 - /* Foreground color for content like text with caution tone and weak emphasis. */
129 - --wpds-color-foreground-content-caution-weak: #826a00;
130 - /* Foreground color for content like text with error tone and normal emphasis. */
131 - --wpds-color-foreground-content-error: #470000;
132 - /* Foreground color for content like text with error tone and weak emphasis. */
133 - --wpds-color-foreground-content-error-weak: #cc1818;
134 - /* Foreground color for interactive elements with neutral tone and normal emphasis. */
135 - --wpds-color-foreground-interactive-neutral: #1e1e1e;
136 - /* Foreground color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
137 - --wpds-color-foreground-interactive-neutral-active: #1e1e1e;
138 - /* Foreground color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
139 - --wpds-color-foreground-interactive-neutral-disabled: #8d8d8d;
140 - /* Foreground color for interactive elements with neutral tone and strong emphasis. */
141 - --wpds-color-foreground-interactive-neutral-strong: #f0f0f0;
142 - /* Foreground color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
143 - --wpds-color-foreground-interactive-neutral-strong-active: #f0f0f0;
144 - /* Foreground color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
145 - --wpds-color-foreground-interactive-neutral-strong-disabled: #8d8d8d;
146 - /* Foreground color for interactive elements with neutral tone and weak emphasis. */
147 - --wpds-color-foreground-interactive-neutral-weak: #707070;
148 - /* Foreground color for interactive elements with neutral tone and weak emphasis, in their disabled state. */
149 - --wpds-color-foreground-interactive-neutral-weak-disabled: #8d8d8d;
141 + --wpds-color-foreground-content-warning-weak: #936300;
150 142 /* Foreground color for interactive elements with brand tone and normal emphasis. */
151 143 --wpds-color-foreground-interactive-brand: #3858e9;
152 144 /* Foreground color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
153 145 --wpds-color-foreground-interactive-brand-active: #0b0070;
@@ -170,46 +162,28 @@
170 162 /* Foreground color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
171 163 --wpds-color-foreground-interactive-error-strong-active: #f2efef;
172 164 /* Foreground color for interactive elements with error tone and strong emphasis, in their disabled state. */
173 165 --wpds-color-foreground-interactive-error-strong-disabled: #8d8d8d;
174 - /* Decorative stroke color used to define neutrally-toned surface boundaries with normal emphasis. */
175 - --wpds-color-stroke-surface-neutral: #dbdbdb;
176 - /* Decorative stroke color used to define neutrally-toned surface boundaries with weak emphasis. */
177 - --wpds-color-stroke-surface-neutral-weak: #f0f0f0;
178 - /* Decorative stroke color used to define neutrally-toned surface boundaries with strong emphasis. */
179 - --wpds-color-stroke-surface-neutral-strong: #8d8d8d;
180 - /* Decorative stroke color used to define brand-toned surface boundaries with normal emphasis. */
181 - --wpds-color-stroke-surface-brand: #b0bbd6;
182 - /* Decorative stroke color used to define brand-toned surface boundaries with strong emphasis. */
183 - --wpds-color-stroke-surface-brand-strong: #3858e9;
184 - /* Decorative stroke color used to define success-toned surface boundaries with normal emphasis. */
185 - --wpds-color-stroke-surface-success: #94d29e;
186 - /* Decorative stroke color used to define success-toned surface boundaries with strong emphasis. */
187 - --wpds-color-stroke-surface-success-strong: #008030;
188 - /* Decorative stroke color used to define info-toned surface boundaries with normal emphasis. */
189 - --wpds-color-stroke-surface-info: #a9c6e7;
190 - /* Decorative stroke color used to define info-toned surface boundaries with strong emphasis. */
191 - --wpds-color-stroke-surface-info-strong: #006bd7;
192 - /* Decorative stroke color used to define warning-toned surface boundaries with normal emphasis. */
193 - --wpds-color-stroke-surface-warning: #e1bc7c;
194 - /* Decorative stroke color used to define warning-toned surface boundaries with strong emphasis. */
195 - --wpds-color-stroke-surface-warning-strong: #926300;
196 - /* Decorative stroke color used to define caution-toned surface boundaries with normal emphasis. */
197 - --wpds-color-stroke-surface-caution: #cfc28d;
198 - /* Decorative stroke color used to define caution-toned surface boundaries with strong emphasis. */
199 - --wpds-color-stroke-surface-caution-strong: #826a00;
200 - /* Decorative stroke color used to define error-toned surface boundaries with normal emphasis. */
201 - --wpds-color-stroke-surface-error: #dab1aa;
202 - /* Decorative stroke color used to define error-toned surface boundaries with strong emphasis. */
203 - --wpds-color-stroke-surface-error-strong: #cc1818;
204 - /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis. */
205 - --wpds-color-stroke-interactive-neutral: #8d8d8d;
206 - /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis that are hovered, focused, or active. */
207 - --wpds-color-stroke-interactive-neutral-active: #6e6e6e;
208 - /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis, in their disabled state. */
209 - --wpds-color-stroke-interactive-neutral-disabled: #dbdbdb;
210 - /* Accessible stroke color used for interactive neutrally-toned elements with strong emphasis. */
211 - --wpds-color-stroke-interactive-neutral-strong: #6e6e6e;
166 + /* Foreground color for interactive elements with neutral tone and normal emphasis. */
167 + --wpds-color-foreground-interactive-neutral: #1e1e1e;
168 + /* Foreground color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
169 + --wpds-color-foreground-interactive-neutral-active: #1e1e1e;
170 + /* Foreground color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
171 + --wpds-color-foreground-interactive-neutral-disabled: #8d8d8d;
172 + /* Foreground color for interactive elements with neutral tone and strong emphasis. */
173 + --wpds-color-foreground-interactive-neutral-strong: #f0f0f0;
174 + /* Foreground color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
175 + --wpds-color-foreground-interactive-neutral-strong-active: #f0f0f0;
176 + /* Foreground color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
177 + --wpds-color-foreground-interactive-neutral-strong-disabled: #8d8d8d;
178 + /* Foreground color for interactive elements with neutral tone and weak emphasis. */
179 + --wpds-color-foreground-interactive-neutral-weak: #707070;
180 + /* Foreground color for interactive elements with neutral tone and weak emphasis that are hovered, focused, or active. */
181 + --wpds-color-foreground-interactive-neutral-weak-active: #1e1e1e;
182 + /* Foreground color for interactive elements with neutral tone and weak emphasis, in their disabled state. */
183 + --wpds-color-foreground-interactive-neutral-weak-disabled: #8d8d8d;
184 + /* Accessible stroke color applied to focus rings. */
185 + --wpds-color-stroke-focus: #3858e9;
212 186 /* Accessible stroke color used for interactive brand-toned elements with normal emphasis. */
213 187 --wpds-color-stroke-interactive-brand: #3858e9;
214 188 /* Accessible stroke color used for interactive brand-toned elements with normal emphasis that are hovered, focused, or active. */
215 189 --wpds-color-stroke-interactive-brand-active: #2337c8;
@@ -222,134 +196,158 @@
222 196 /* Accessible stroke color used for interactive error-toned elements with normal emphasis, in their disabled state. */
223 197 --wpds-color-stroke-interactive-error-disabled: #dbdbdb;
224 198 /* Accessible stroke color used for interactive error-toned elements with strong emphasis. */
225 199 --wpds-color-stroke-interactive-error-strong: #cc1818;
226 - /* Accessible stroke color applied to focus rings. */
227 - --wpds-color-stroke-focus: #3858e9;
200 + /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis. */
201 + --wpds-color-stroke-interactive-neutral: #8d8d8d;
202 + /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis that are hovered, focused, or active. */
203 + --wpds-color-stroke-interactive-neutral-active: #6e6e6e;
204 + /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis, in their disabled state. */
205 + --wpds-color-stroke-interactive-neutral-disabled: #dbdbdb;
206 + /* Accessible stroke color used for interactive neutrally-toned elements with strong emphasis. */
207 + --wpds-color-stroke-interactive-neutral-strong: #6e6e6e;
208 + /* Decorative stroke color used to define brand-toned surface boundaries with normal emphasis. */
209 + --wpds-color-stroke-surface-brand: #aebbda;
210 + /* Decorative stroke color used to define brand-toned surface boundaries with strong emphasis. */
211 + --wpds-color-stroke-surface-brand-strong: #3858e9;
212 + /* Decorative stroke color used to define caution-toned surface boundaries with normal emphasis. */
213 + --wpds-color-stroke-surface-caution: #d0c28b;
214 + /* Decorative stroke color used to define caution-toned surface boundaries with strong emphasis. */
215 + --wpds-color-stroke-surface-caution-strong: #836a00;
216 + /* Decorative stroke color used to define error-toned surface boundaries with normal emphasis. */
217 + --wpds-color-stroke-surface-error: #e0afa7;
218 + /* Decorative stroke color used to define error-toned surface boundaries with strong emphasis. */
219 + --wpds-color-stroke-surface-error-strong: #cc1818;
220 + /* Decorative stroke color used to define info-toned surface boundaries with normal emphasis. */
221 + --wpds-color-stroke-surface-info: #adc6e2;
222 + /* Decorative stroke color used to define info-toned surface boundaries with strong emphasis. */
223 + --wpds-color-stroke-surface-info-strong: #006bd7;
224 + /* Decorative stroke color used to define neutrally-toned surface boundaries with normal emphasis. */
225 + --wpds-color-stroke-surface-neutral: #dbdbdb;
226 + /* Decorative stroke color used to define neutrally-toned surface boundaries with strong emphasis. */
227 + --wpds-color-stroke-surface-neutral-strong: #8d8d8d;
228 + /* Decorative stroke color used to define neutrally-toned surface boundaries with weak emphasis. */
229 + --wpds-color-stroke-surface-neutral-weak: #f0f0f0;
230 + /* Decorative stroke color used to define success-toned surface boundaries with normal emphasis. */
231 + --wpds-color-stroke-surface-success: #92d39d;
232 + /* Decorative stroke color used to define success-toned surface boundaries with strong emphasis. */
233 + --wpds-color-stroke-surface-success-strong: #008030;
234 + /* Decorative stroke color used to define warning-toned surface boundaries with normal emphasis. */
235 + --wpds-color-stroke-surface-warning: #e1bd7c;
236 + /* Decorative stroke color used to define warning-toned surface boundaries with strong emphasis. */
237 + --wpds-color-stroke-surface-warning-strong: #936300;
228 238 /* Cursor style for interactive controls that are not links (e.g. buttons, checkboxes, and toggles). */
229 239 --wpds-cursor-control: pointer;
230 - /* Extra small padding */
231 - --wpds-dimension-padding-xs: 4px;
240 + /* 2x extra large gap */
241 + --wpds-dimension-gap-2xl: 32px;
242 + /* 3x extra large gap */
243 + --wpds-dimension-gap-3xl: 40px;
244 + /* Large gap */
245 + --wpds-dimension-gap-lg: 16px;
246 + /* Medium gap */
247 + --wpds-dimension-gap-md: 12px;
248 + /* Small gap */
249 + --wpds-dimension-gap-sm: 8px;
250 + /* Extra large gap */
251 + --wpds-dimension-gap-xl: 24px;
252 + /* Extra small gap */
253 + --wpds-dimension-gap-xs: 4px;
254 + /* 2x extra large padding */
255 + --wpds-dimension-padding-2xl: 24px;
256 + /* 3x extra large padding */
257 + --wpds-dimension-padding-3xl: 32px;
258 + /* Large padding */
259 + --wpds-dimension-padding-lg: 16px;
260 + /* Medium padding */
261 + --wpds-dimension-padding-md: 12px;
232 262 /* Small padding */
233 263 --wpds-dimension-padding-sm: 8px;
234 - /* Medium padding */
235 - --wpds-dimension-padding-md: 12px;
236 - /* Large padding */
237 - --wpds-dimension-padding-lg: 16px;
238 264 /* Extra large padding */
239 265 --wpds-dimension-padding-xl: 20px;
240 - /* 2x extra large padding */
241 - --wpds-dimension-padding-2xl: 24px;
242 - /* 3x extra large padding */
243 - --wpds-dimension-padding-3xl: 32px;
244 - /* Extra small gap */
245 - --wpds-dimension-gap-xs: 4px;
246 - /* Small gap */
247 - --wpds-dimension-gap-sm: 8px;
248 - /* Medium gap */
249 - --wpds-dimension-gap-md: 12px;
250 - /* Large gap */
251 - --wpds-dimension-gap-lg: 16px;
252 - /* Extra large gap */
253 - --wpds-dimension-gap-xl: 24px;
254 - /* 2x extra large gap */
255 - --wpds-dimension-gap-2xl: 32px;
256 - /* 3x extra large gap */
257 - --wpds-dimension-gap-3xl: 40px;
266 + /* Extra small padding */
267 + --wpds-dimension-padding-xs: 4px;
268 + /* For small controls like checkboxes and radios, or small decorative icons */
269 + --wpds-dimension-size-2xs: 16px;
270 + /* Small markers */
271 + --wpds-dimension-size-3xs: 12px;
272 + /* Visual size for small interactive elements like resize handles */
273 + --wpds-dimension-size-4xs: 8px;
258 274 /* Notification indicators */
259 275 --wpds-dimension-size-5xs: 4px;
260 - /* Visual size for small interactive elements like resize handles */
261 - --wpds-dimension-size-4xs: 8px;
262 - /* Small markers */
263 - --wpds-dimension-size-3xs: 12px;
264 - /* For small controls like checkboxes and radios, or small decorative icons */
265 - --wpds-dimension-size-2xs: 16px;
276 + /* Default size for buttons and inputs */
277 + --wpds-dimension-size-lg: 40px;
278 + /* For medium-sized buttons and inputs */
279 + --wpds-dimension-size-md: 32px;
280 + /* For icons and small buttons */
281 + --wpds-dimension-size-sm: 24px;
266 282 /* For medium sized icons */
267 283 --wpds-dimension-size-xs: 20px;
268 - /* For icons and small buttons */
269 - --wpds-dimension-size-sm: 24px;
270 - /* For medium-sized buttons and inputs */
271 - --wpds-dimension-size-md: 32px;
272 - /* Default size for buttons and inputs */
273 - --wpds-dimension-size-lg: 40px;
274 - /* Extra small surface width */
275 - --wpds-dimension-surface-width-xs: 240px;
284 + /* 2x extra large surface width */
285 + --wpds-dimension-surface-width-2xl: 960px;
286 + /* Large surface width */
287 + --wpds-dimension-surface-width-lg: 560px;
288 + /* Medium surface width */
289 + --wpds-dimension-surface-width-md: 400px;
276 290 /* Small surface width */
277 291 --wpds-dimension-surface-width-sm: 320px;
278 - /* Medium surface width */
279 - --wpds-dimension-surface-width-md: 400px;
280 - /* Large surface width */
281 - --wpds-dimension-surface-width-lg: 560px;
282 292 /* Extra large surface width */
283 293 --wpds-dimension-surface-width-xl: 720px;
284 - /* 2x extra large surface width */
285 - --wpds-dimension-surface-width-2xl: 960px;
286 - /* For sections and containers that group related content and controls, which may overlap other content. Example: Preview Frame. */
287 - --wpds-elevation-xs: 0 1px 1px 0 #00000008, 0 1px 2px 0 #00000005,
288 - 0 3px 3px 0 #00000005, 0 4px 4px 0 #00000003;
289 - /* For components that provide contextual feedback without being intrusive. Generally non-interruptive. Example: Tooltips, Snackbar. */
290 - --wpds-elevation-sm: 0 1px 2px 0 #0000000d, 0 2px 3px 0 #0000000a,
291 - 0 6px 6px 0 #00000008, 0 8px 8px 0 #00000005;
292 - /* For components that offer additional actions. Example: Menus, Command Palette */
293 - --wpds-elevation-md: 0 2px 3px 0 #0000000d, 0 4px 5px 0 #0000000a,
294 - 0 12px 12px 0 #00000008, 0 16px 16px 0 #00000005;
295 - /* For components that confirm decisions or handle necessary interruptions. Example: Modals. */
296 - --wpds-elevation-lg: 0 5px 15px 0 #00000014, 0 15px 27px 0 #00000012,
297 - 0 30px 36px 0 #0000000a, 0 50px 43px 0 #00000005;
298 - /* Micro-delays and transition offsets */
299 - --wpds-motion-duration-xs: 50ms;
294 + /* Extra small surface width */
295 + --wpds-dimension-surface-width-xs: 240px;
296 + /* Deliberate animations like slides and reveals */
297 + --wpds-motion-duration-lg: 300ms;
298 + /* Standard transitions like menus and popovers */
299 + --wpds-motion-duration-md: 200ms;
300 300 /* Micro-interactions like focus rings and state changes */
301 301 --wpds-motion-duration-sm: 100ms;
302 - /* Standard transitions like menus and popovers */
303 - --wpds-motion-duration-md: 200ms;
304 - /* Deliberate animations like slides and reveals */
305 - --wpds-motion-duration-lg: 300ms;
306 302 /* Extended animations like complex or multi-step transitions */
307 303 --wpds-motion-duration-xl: 400ms;
308 - /* Nearly imperceptible easing for hover, color, and background transitions */
309 - --wpds-motion-easing-subtle: cubic-bezier( 0.15, 0, 0.15, 1 );
304 + /* Micro-delays and transition offsets */
305 + --wpds-motion-duration-xs: 50ms;
310 306 /* General-purpose easing for on-screen movement like resizing, morphing, and layout shifts */
311 - --wpds-motion-easing-balanced: cubic-bezier( 0.4, 0, 0.2, 1 );
307 + --wpds-motion-easing-balanced: cubic-bezier(0.4, 0, 0.2, 1);
312 308 /* Noticeable easing for enter/exit and spatial transitions like menus, popovers, dialogs, and drawers */
313 - --wpds-motion-easing-expressive: cubic-bezier( 0.25, 0, 0, 1 );
309 + --wpds-motion-easing-expressive: cubic-bezier(0.25, 0, 0, 1);
310 + /* Nearly imperceptible easing for hover, color, and background transitions */
311 + --wpds-motion-easing-subtle: cubic-bezier(0.15, 0, 0.15, 1);
312 + /* Body font family */
313 + --wpds-typography-font-family-body:
314 + -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu",
315 + "Cantarell", "Helvetica Neue", sans-serif;
314 316 /* Headings font family */
315 - --wpds-typography-font-family-heading: -apple-system, system-ui, 'Segoe UI',
316 - 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue',
317 - sans-serif;
318 - /* Body font family */
319 - --wpds-typography-font-family-body: -apple-system, system-ui, 'Segoe UI',
320 - 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue',
321 - sans-serif;
317 + --wpds-typography-font-family-heading:
318 + -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu",
319 + "Cantarell", "Helvetica Neue", sans-serif;
322 320 /* Monospace font family */
323 - --wpds-typography-font-family-mono: 'Menlo', 'Consolas', monaco, monospace;
324 - /* Extra small font size */
325 - --wpds-typography-font-size-xs: 11px;
321 + --wpds-typography-font-family-mono: "Menlo", "Consolas", monaco, monospace;
322 + /* 2X large font size */
323 + --wpds-typography-font-size-2xl: 32px;
324 + /* Large font size */
325 + --wpds-typography-font-size-lg: 15px;
326 + /* Medium font size */
327 + --wpds-typography-font-size-md: 13px;
326 328 /* Small font size */
327 329 --wpds-typography-font-size-sm: 12px;
328 - /* Medium font size */
329 - --wpds-typography-font-size-md: 13px;
330 - /* Large font size */
331 - --wpds-typography-font-size-lg: 15px;
332 330 /* Extra large font size */
333 331 --wpds-typography-font-size-xl: 20px;
334 - /* 2X large font size */
335 - --wpds-typography-font-size-2xl: 32px;
336 - /* Extra small line height */
337 - --wpds-typography-line-height-xs: 16px;
332 + /* Extra small font size */
333 + --wpds-typography-font-size-xs: 11px;
334 + /* Baseline text weight for body copy and UI text */
335 + --wpds-typography-font-weight-default: 400;
336 + /* Elevated text weight for labels, controls, and headings */
337 + --wpds-typography-font-weight-emphasis: 600;
338 + /* 2X large line height */
339 + --wpds-typography-line-height-2xl: 40px;
340 + /* Large line height */
341 + --wpds-typography-line-height-lg: 28px;
342 + /* Medium line height */
343 + --wpds-typography-line-height-md: 24px;
338 344 /* Small line height */
339 345 --wpds-typography-line-height-sm: 20px;
340 - /* Medium line height */
341 - --wpds-typography-line-height-md: 24px;
342 - /* Large line height */
343 - --wpds-typography-line-height-lg: 28px;
344 346 /* Extra large line height */
345 347 --wpds-typography-line-height-xl: 32px;
346 - /* 2X large line height */
347 - --wpds-typography-line-height-2xl: 40px;
348 - /* Regular font weight for body text */
349 - --wpds-typography-font-weight-regular: 400;
350 - /* Medium font weight for emphasis and headings */
351 - --wpds-typography-font-weight-medium: 499;
348 + /* Extra small line height */
349 + --wpds-typography-line-height-xs: 16px;
352 350 }
353 351
354 352 @media (min-resolution: 192dpi) {
355 353 :root {
@@ -357,58 +355,58 @@
357 355 --wpds-border-width-focus: 1.5px;
358 356 }
359 357 }
360 358 [data-wpds-corner-radius=none],
361 -:root:has([data-wpds-root-provider=true][data-wpds-corner-radius=none]) {
362 - /* Buttons and other elements nested inside controls. */
363 - --wpds-border-radius-xs: 0;
359 +:root[data-wpds-root-provider=true][data-wpds-corner-radius=none] {
360 + /* Cards, dialogs, notices, and other larger content containers. */
361 + --wpds-border-radius-lg: 0px;
362 + /* Menus, popovers, and other small portaled overlays. */
363 + --wpds-border-radius-md: 0px;
364 364 /* Standalone buttons, inputs, and compact controls. */
365 - --wpds-border-radius-sm: 0;
366 - /* Menus, popovers, and other small portaled overlays. */
367 - --wpds-border-radius-md: 0;
368 - /* Cards, dialogs, notices, and other larger content containers. */
369 - --wpds-border-radius-lg: 0;
365 + --wpds-border-radius-sm: 0px;
370 366 /* Page and app shell surfaces. */
371 - --wpds-border-radius-xl: 0;
367 + --wpds-border-radius-xl: 0px;
368 + /* Buttons and other elements nested inside controls. */
369 + --wpds-border-radius-xs: 0px;
372 370 }
373 371
374 372 [data-wpds-corner-radius=subtle],
375 -:root:has([data-wpds-root-provider=true][data-wpds-corner-radius=subtle]) {
376 - /* Buttons and other elements nested inside controls. */
377 - --wpds-border-radius-xs: 1px;
373 +:root[data-wpds-root-provider=true][data-wpds-corner-radius=subtle] {
374 + /* Cards, dialogs, notices, and other larger content containers. */
375 + --wpds-border-radius-lg: 8px;
376 + /* Menus, popovers, and other small portaled overlays. */
377 + --wpds-border-radius-md: 4px;
378 378 /* Standalone buttons, inputs, and compact controls. */
379 379 --wpds-border-radius-sm: 2px;
380 - /* Menus, popovers, and other small portaled overlays. */
381 - --wpds-border-radius-md: 4px;
382 - /* Cards, dialogs, notices, and other larger content containers. */
383 - --wpds-border-radius-lg: 8px;
384 380 /* Page and app shell surfaces. */
385 381 --wpds-border-radius-xl: 12px;
382 + /* Buttons and other elements nested inside controls. */
383 + --wpds-border-radius-xs: 1px;
386 384 }
387 385
388 386 [data-wpds-corner-radius=moderate],
389 -:root:has([data-wpds-root-provider=true][data-wpds-corner-radius=moderate]) {
390 - /* Buttons and other elements nested inside controls. */
391 - --wpds-border-radius-xs: 6px;
387 +:root[data-wpds-root-provider=true][data-wpds-corner-radius=moderate] {
388 + /* Cards, dialogs, notices, and other larger content containers. */
389 + --wpds-border-radius-lg: 16px;
390 + /* Menus, popovers, and other small portaled overlays. */
391 + --wpds-border-radius-md: 12px;
392 392 /* Standalone buttons, inputs, and compact controls. */
393 393 --wpds-border-radius-sm: 8px;
394 - /* Menus, popovers, and other small portaled overlays. */
395 - --wpds-border-radius-md: 12px;
396 - /* Cards, dialogs, notices, and other larger content containers. */
397 - --wpds-border-radius-lg: 16px;
398 394 /* Page and app shell surfaces. */
399 395 --wpds-border-radius-xl: 20px;
396 + /* Buttons and other elements nested inside controls. */
397 + --wpds-border-radius-xs: 6px;
400 398 }
401 399
402 400 [data-wpds-corner-radius=pronounced],
403 -:root:has([data-wpds-root-provider=true][data-wpds-corner-radius=pronounced]) {
404 - /* Buttons and other elements nested inside controls. */
405 - --wpds-border-radius-xs: 18px;
401 +:root[data-wpds-root-provider=true][data-wpds-corner-radius=pronounced] {
402 + /* Cards, dialogs, notices, and other larger content containers. */
403 + --wpds-border-radius-lg: 24px;
404 + /* Menus, popovers, and other small portaled overlays. */
405 + --wpds-border-radius-md: 22px;
406 406 /* Standalone buttons, inputs, and compact controls. */
407 407 --wpds-border-radius-sm: 20px;
408 - /* Menus, popovers, and other small portaled overlays. */
409 - --wpds-border-radius-md: 22px;
410 - /* Cards, dialogs, notices, and other larger content containers. */
411 - --wpds-border-radius-lg: 24px;
412 408 /* Page and app shell surfaces. */
413 409 --wpds-border-radius-xl: 26px;
410 + /* Buttons and other elements nested inside controls. */
411 + --wpds-border-radius-xs: 18px;
414 412 }