@wordpress/boot 0.15.1 → 0.16.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/CHANGELOG.md +6 -0
- package/README.md +78 -0
- package/build-module/components/app/index.mjs +10 -5
- package/build-module/components/app/index.mjs.map +2 -2
- package/build-module/components/app/use-route-title.mjs +1 -1
- package/build-module/components/app/use-route-title.mjs.map +2 -2
- package/build-module/components/canvas/back-button.mjs +3 -3
- package/build-module/components/canvas/back-button.mjs.map +2 -2
- package/build-module/components/navigation/navigation-item/index.mjs +3 -3
- package/build-module/components/navigation/navigation-item/index.mjs.map +2 -2
- package/build-module/components/navigation/navigation-screen/index.mjs +3 -3
- package/build-module/components/navigation/navigation-screen/index.mjs.map +2 -2
- package/build-module/components/root/index.mjs +4 -5
- package/build-module/components/root/index.mjs.map +2 -2
- package/build-module/components/root/single-page.mjs +4 -5
- package/build-module/components/root/single-page.mjs.map +2 -2
- package/build-module/components/save-button/index.mjs +2 -2
- package/build-module/components/save-button/index.mjs.map +2 -2
- package/build-module/components/site-hub/index.mjs +3 -3
- package/build-module/components/site-hub/index.mjs.map +2 -2
- package/build-module/components/site-icon/index.mjs +3 -3
- package/build-module/components/site-icon/index.mjs.map +2 -2
- package/build-module/components/site-icon-link/index.mjs +3 -3
- package/build-module/components/site-icon-link/index.mjs.map +2 -2
- package/build-module/index.mjs +6 -6
- package/build-module/index.mjs.map +2 -2
- package/build-style/style-rtl.css +159 -77
- package/build-style/style.css +159 -77
- package/build-style/view-transitions-rtl.css +1 -1
- package/build-style/view-transitions.css +1 -1
- package/build-types/components/app/index.d.ts +8 -4
- package/build-types/components/app/index.d.ts.map +1 -1
- package/build-types/components/root/index.d.ts.map +1 -1
- package/build-types/components/root/single-page.d.ts.map +1 -1
- package/build-types/components/save-button/index.d.ts.map +1 -1
- package/build-types/components/site-icon-link/index.d.ts.map +1 -1
- package/package.json +31 -26
- package/src/components/app/index.tsx +37 -16
- package/src/components/canvas/back-button.scss +2 -2
- package/src/components/navigation/navigation-item/style.scss +3 -3
- package/src/components/navigation/navigation-screen/style.scss +2 -2
- package/src/components/root/index.tsx +1 -3
- package/src/components/root/single-page.tsx +1 -2
- package/src/components/root/style.scss +10 -10
- package/src/components/save-button/index.tsx +0 -1
- package/src/components/site-hub/style.scss +4 -4
- package/src/components/site-icon/style.scss +1 -1
- package/src/components/site-icon-link/index.tsx +0 -1
- package/src/components/site-icon-link/style.scss +2 -2
- package/src/{experimental-admin-bar-in-editor.scss → experimental-omnibar.scss} +1 -1
- package/src/style.scss +1 -1
- package/src/view-transitions.scss +1 -1
- package/build-types/components/user-theme-provider/index.d.ts +0 -6
- package/build-types/components/user-theme-provider/index.d.ts.map +0 -1
- /package/build-style/{experimental-admin-bar-in-editor-rtl.css → experimental-omnibar-rtl.css} +0 -0
- /package/build-style/{experimental-admin-bar-in-editor.css → experimental-omnibar.css} +0 -0
|
@@ -3,14 +3,16 @@
|
|
|
3
3
|
* Autogenerated by ⛋ Terrazzo. DO NOT EDIT!
|
|
4
4
|
* ------------------------------------------- */
|
|
5
5
|
:root {
|
|
6
|
-
/*
|
|
6
|
+
/* Buttons and other elements nested inside controls. */
|
|
7
7
|
--wpds-border-radius-xs: 1px;
|
|
8
|
-
/*
|
|
8
|
+
/* Standalone buttons, inputs, and compact controls. */
|
|
9
9
|
--wpds-border-radius-sm: 2px;
|
|
10
|
-
/*
|
|
10
|
+
/* Menus, popovers, and other small portaled overlays. */
|
|
11
11
|
--wpds-border-radius-md: 4px;
|
|
12
|
-
/*
|
|
12
|
+
/* Cards, dialogs, notices, and other larger content containers. */
|
|
13
13
|
--wpds-border-radius-lg: 8px;
|
|
14
|
+
/* Page and app shell surfaces. */
|
|
15
|
+
--wpds-border-radius-xl: 12px;
|
|
14
16
|
/* Extra small width */
|
|
15
17
|
--wpds-border-width-xs: 1px;
|
|
16
18
|
/* Small width */
|
|
@@ -22,135 +24,153 @@
|
|
|
22
24
|
/* Border width for focus ring */
|
|
23
25
|
--wpds-border-width-focus: 2px;
|
|
24
26
|
/* Background color for surfaces with normal emphasis. */
|
|
25
|
-
--wpds-color-
|
|
27
|
+
--wpds-color-background-surface-neutral: #fcfcfc;
|
|
26
28
|
/* Background color for surfaces with strong emphasis. */
|
|
27
|
-
--wpds-color-
|
|
29
|
+
--wpds-color-background-surface-neutral-strong: #fff;
|
|
28
30
|
/* Background color for surfaces with weak emphasis. */
|
|
29
|
-
--wpds-color-
|
|
31
|
+
--wpds-color-background-surface-neutral-weak: #f4f4f4;
|
|
30
32
|
/* Background color for surfaces with brand tone and normal emphasis. */
|
|
31
|
-
--wpds-color-
|
|
33
|
+
--wpds-color-background-surface-brand: #ecf0fa;
|
|
32
34
|
/* Background color for surfaces with success tone and normal emphasis. */
|
|
33
|
-
--wpds-color-
|
|
35
|
+
--wpds-color-background-surface-success: #c6f7cd;
|
|
34
36
|
/* Background color for surfaces with success tone and weak emphasis. */
|
|
35
|
-
--wpds-color-
|
|
37
|
+
--wpds-color-background-surface-success-weak: #ebffed;
|
|
36
38
|
/* Background color for surfaces with info tone and normal emphasis. */
|
|
37
|
-
--wpds-color-
|
|
39
|
+
--wpds-color-background-surface-info: #deebfa;
|
|
38
40
|
/* Background color for surfaces with info tone and weak emphasis. */
|
|
39
|
-
--wpds-color-
|
|
41
|
+
--wpds-color-background-surface-info-weak: #f3f9ff;
|
|
40
42
|
/* Background color for surfaces with warning tone and normal emphasis. */
|
|
41
|
-
--wpds-color-
|
|
43
|
+
--wpds-color-background-surface-warning: #fde6be;
|
|
42
44
|
/* Background color for surfaces with warning tone and weak emphasis. */
|
|
43
|
-
--wpds-color-
|
|
45
|
+
--wpds-color-background-surface-warning-weak: #fff7e1;
|
|
44
46
|
/* Background color for surfaces with caution tone and normal emphasis. */
|
|
45
|
-
--wpds-color-
|
|
47
|
+
--wpds-color-background-surface-caution: #fee995;
|
|
46
48
|
/* Background color for surfaces with caution tone and weak emphasis. */
|
|
47
|
-
--wpds-color-
|
|
49
|
+
--wpds-color-background-surface-caution-weak: #fff9ca;
|
|
48
50
|
/* Background color for surfaces with error tone and normal emphasis. */
|
|
49
|
-
--wpds-color-
|
|
51
|
+
--wpds-color-background-surface-error: #f6e6e3;
|
|
50
52
|
/* Background color for surfaces with error tone and weak emphasis. */
|
|
51
|
-
--wpds-color-
|
|
53
|
+
--wpds-color-background-surface-error-weak: #fff6f5;
|
|
52
54
|
/* Background color for interactive elements with neutral tone and strong emphasis. */
|
|
53
|
-
--wpds-color-
|
|
55
|
+
--wpds-color-background-interactive-neutral-strong: #2d2d2d;
|
|
54
56
|
/* Background color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
|
|
55
|
-
--wpds-color-
|
|
57
|
+
--wpds-color-background-interactive-neutral-strong-active: #1e1e1e;
|
|
56
58
|
/* Background color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
|
|
57
|
-
--wpds-color-
|
|
59
|
+
--wpds-color-background-interactive-neutral-strong-disabled: #e6e6e6;
|
|
58
60
|
/* Background color for interactive elements with neutral tone and weak emphasis. */
|
|
59
|
-
--wpds-color-
|
|
61
|
+
--wpds-color-background-interactive-neutral-weak: #0000;
|
|
60
62
|
/* Background color for interactive elements with neutral tone and weak emphasis that are hovered, focused, or active. */
|
|
61
|
-
--wpds-color-
|
|
62
|
-
/* Background color for interactive elements with weak emphasis, in their disabled state
|
|
63
|
-
--wpds-color-
|
|
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;
|
|
64
66
|
/* Background color for interactive elements with brand tone and strong emphasis. */
|
|
65
|
-
--wpds-color-
|
|
67
|
+
--wpds-color-background-interactive-brand-strong: #3858e9;
|
|
66
68
|
/* Background color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
67
|
-
--wpds-color-
|
|
69
|
+
--wpds-color-background-interactive-brand-strong-active: #2e49d9;
|
|
70
|
+
/* Background color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
71
|
+
--wpds-color-background-interactive-brand-strong-disabled: #e6e6e6;
|
|
68
72
|
/* Background color for interactive elements with brand tone and weak emphasis. */
|
|
69
|
-
--wpds-color-
|
|
73
|
+
--wpds-color-background-interactive-brand-weak: #0000;
|
|
70
74
|
/* Background color for interactive elements with brand tone and weak emphasis that are hovered, focused, or active. */
|
|
71
|
-
--wpds-color-
|
|
75
|
+
--wpds-color-background-interactive-brand-weak-active: #e6eaf4;
|
|
76
|
+
/* Background color for interactive elements with brand tone and weak emphasis, in their disabled state. */
|
|
77
|
+
--wpds-color-background-interactive-brand-weak-disabled: #0000;
|
|
72
78
|
/* Background color for interactive elements with error tone and normal emphasis. */
|
|
73
|
-
--wpds-color-
|
|
79
|
+
--wpds-color-background-interactive-error: #0000;
|
|
74
80
|
/* Background color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
75
|
-
--wpds-color-
|
|
81
|
+
--wpds-color-background-interactive-error-active: #fff6f5;
|
|
82
|
+
/* Background color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
83
|
+
--wpds-color-background-interactive-error-disabled: #0000;
|
|
76
84
|
/* Background color for interactive elements with error tone and strong emphasis. */
|
|
77
|
-
--wpds-color-
|
|
85
|
+
--wpds-color-background-interactive-error-strong: #cc1818;
|
|
78
86
|
/* Background color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
79
|
-
--wpds-color-
|
|
87
|
+
--wpds-color-background-interactive-error-strong-active: #b90000;
|
|
88
|
+
/* Background color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
89
|
+
--wpds-color-background-interactive-error-strong-disabled: #e6e6e6;
|
|
80
90
|
/* Background color for interactive elements with error tone and weak emphasis. */
|
|
81
|
-
--wpds-color-
|
|
91
|
+
--wpds-color-background-interactive-error-weak: #0000;
|
|
82
92
|
/* Background color for interactive elements with error tone and weak emphasis that are hovered, focused, or active. */
|
|
83
|
-
--wpds-color-
|
|
93
|
+
--wpds-color-background-interactive-error-weak-active: #f6e6e3;
|
|
94
|
+
/* Background color for interactive elements with error tone and weak emphasis, in their disabled state. */
|
|
95
|
+
--wpds-color-background-interactive-error-weak-disabled: #0000;
|
|
84
96
|
/* Background color for tracks with a neutral tone and weak emphasis (eg. scrollbar track). */
|
|
85
|
-
--wpds-color-
|
|
97
|
+
--wpds-color-background-track-neutral-weak: #f0f0f0;
|
|
86
98
|
/* Background color for tracks with a neutral tone and normal emphasis (eg. slider or progressbar track). */
|
|
87
|
-
--wpds-color-
|
|
99
|
+
--wpds-color-background-track-neutral: #dbdbdb;
|
|
88
100
|
/* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb). */
|
|
89
|
-
--wpds-color-
|
|
101
|
+
--wpds-color-background-thumb-neutral-weak: #8d8d8d;
|
|
90
102
|
/* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb) that are hovered, focused, or active. */
|
|
91
|
-
--wpds-color-
|
|
103
|
+
--wpds-color-background-thumb-neutral-weak-active: #6e6e6e;
|
|
92
104
|
/* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track). */
|
|
93
|
-
--wpds-color-
|
|
105
|
+
--wpds-color-background-thumb-brand: #3858e9;
|
|
94
106
|
/* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track) that are hovered, focused, or active. */
|
|
95
|
-
--wpds-color-
|
|
107
|
+
--wpds-color-background-thumb-brand-active: #3858e9;
|
|
96
108
|
/* Background color for thumbs with normal emphasis (eg. slider thumb and filled track), in their disabled state, regardless of the tone. */
|
|
97
|
-
--wpds-color-
|
|
109
|
+
--wpds-color-background-thumb-neutral-disabled: #dbdbdb;
|
|
98
110
|
/* Foreground color for content like text with normal emphasis. */
|
|
99
|
-
--wpds-color-
|
|
111
|
+
--wpds-color-foreground-content-neutral: #1e1e1e;
|
|
100
112
|
/* Foreground color for content like text with weak emphasis. */
|
|
101
|
-
--wpds-color-
|
|
113
|
+
--wpds-color-foreground-content-neutral-weak: #707070;
|
|
102
114
|
/* Foreground color for content like text with success tone and normal emphasis. */
|
|
103
|
-
--wpds-color-
|
|
115
|
+
--wpds-color-foreground-content-success: #002900;
|
|
104
116
|
/* Foreground color for content like text with success tone and weak emphasis. */
|
|
105
|
-
--wpds-color-
|
|
117
|
+
--wpds-color-foreground-content-success-weak: #008030;
|
|
106
118
|
/* Foreground color for content like text with info tone and normal emphasis. */
|
|
107
|
-
--wpds-color-
|
|
119
|
+
--wpds-color-foreground-content-info: #001b4f;
|
|
108
120
|
/* Foreground color for content like text with info tone and weak emphasis. */
|
|
109
|
-
--wpds-color-
|
|
121
|
+
--wpds-color-foreground-content-info-weak: #006bd7;
|
|
110
122
|
/* Foreground color for content like text with warning tone and normal emphasis. */
|
|
111
|
-
--wpds-color-
|
|
123
|
+
--wpds-color-foreground-content-warning: #2e1900;
|
|
112
124
|
/* Foreground color for content like text with warning tone and weak emphasis. */
|
|
113
|
-
--wpds-color-
|
|
125
|
+
--wpds-color-foreground-content-warning-weak: #926300;
|
|
114
126
|
/* Foreground color for content like text with caution tone and normal emphasis. */
|
|
115
|
-
--wpds-color-
|
|
127
|
+
--wpds-color-foreground-content-caution: #281d00;
|
|
116
128
|
/* Foreground color for content like text with caution tone and weak emphasis. */
|
|
117
|
-
--wpds-color-
|
|
129
|
+
--wpds-color-foreground-content-caution-weak: #826a00;
|
|
118
130
|
/* Foreground color for content like text with error tone and normal emphasis. */
|
|
119
|
-
--wpds-color-
|
|
131
|
+
--wpds-color-foreground-content-error: #470000;
|
|
120
132
|
/* Foreground color for content like text with error tone and weak emphasis. */
|
|
121
|
-
--wpds-color-
|
|
133
|
+
--wpds-color-foreground-content-error-weak: #cc1818;
|
|
122
134
|
/* Foreground color for interactive elements with neutral tone and normal emphasis. */
|
|
123
|
-
--wpds-color-
|
|
135
|
+
--wpds-color-foreground-interactive-neutral: #1e1e1e;
|
|
124
136
|
/* Foreground color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
|
|
125
|
-
--wpds-color-
|
|
126
|
-
/* Foreground color for interactive elements with normal emphasis, in their disabled state
|
|
127
|
-
--wpds-color-
|
|
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;
|
|
128
140
|
/* Foreground color for interactive elements with neutral tone and strong emphasis. */
|
|
129
|
-
--wpds-color-
|
|
141
|
+
--wpds-color-foreground-interactive-neutral-strong: #f0f0f0;
|
|
130
142
|
/* Foreground color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
|
|
131
|
-
--wpds-color-
|
|
132
|
-
/* Foreground color for interactive elements with strong emphasis, in their disabled state
|
|
133
|
-
--wpds-color-
|
|
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;
|
|
134
146
|
/* Foreground color for interactive elements with neutral tone and weak emphasis. */
|
|
135
|
-
--wpds-color-
|
|
136
|
-
/* Foreground color for interactive elements with weak emphasis, in their disabled state
|
|
137
|
-
--wpds-color-
|
|
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;
|
|
138
150
|
/* Foreground color for interactive elements with brand tone and normal emphasis. */
|
|
139
|
-
--wpds-color-
|
|
151
|
+
--wpds-color-foreground-interactive-brand: #3858e9;
|
|
140
152
|
/* Foreground color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
|
|
141
|
-
--wpds-color-
|
|
153
|
+
--wpds-color-foreground-interactive-brand-active: #0b0070;
|
|
154
|
+
/* Foreground color for interactive elements with brand tone and normal emphasis, in their disabled state. */
|
|
155
|
+
--wpds-color-foreground-interactive-brand-disabled: #8d8d8d;
|
|
142
156
|
/* Foreground color for interactive elements with brand tone and strong emphasis. */
|
|
143
|
-
--wpds-color-
|
|
157
|
+
--wpds-color-foreground-interactive-brand-strong: #eff0f2;
|
|
144
158
|
/* Foreground color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
145
|
-
--wpds-color-
|
|
159
|
+
--wpds-color-foreground-interactive-brand-strong-active: #eff0f2;
|
|
160
|
+
/* Foreground color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
161
|
+
--wpds-color-foreground-interactive-brand-strong-disabled: #8d8d8d;
|
|
146
162
|
/* Foreground color for interactive elements with error tone and normal emphasis. */
|
|
147
|
-
--wpds-color-
|
|
163
|
+
--wpds-color-foreground-interactive-error: #cc1818;
|
|
148
164
|
/* Foreground color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
149
|
-
--wpds-color-
|
|
165
|
+
--wpds-color-foreground-interactive-error-active: #470000;
|
|
166
|
+
/* Foreground color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
167
|
+
--wpds-color-foreground-interactive-error-disabled: #8d8d8d;
|
|
150
168
|
/* Foreground color for interactive elements with error tone and strong emphasis. */
|
|
151
|
-
--wpds-color-
|
|
169
|
+
--wpds-color-foreground-interactive-error-strong: #f2efef;
|
|
152
170
|
/* Foreground color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
153
|
-
--wpds-color-
|
|
171
|
+
--wpds-color-foreground-interactive-error-strong-active: #f2efef;
|
|
172
|
+
/* Foreground color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
173
|
+
--wpds-color-foreground-interactive-error-strong-disabled: #8d8d8d;
|
|
154
174
|
/* Decorative stroke color used to define neutrally-toned surface boundaries with normal emphasis. */
|
|
155
175
|
--wpds-color-stroke-surface-neutral: #dbdbdb;
|
|
156
176
|
/* Decorative stroke color used to define neutrally-toned surface boundaries with weak emphasis. */
|
|
@@ -173,6 +193,10 @@
|
|
|
173
193
|
--wpds-color-stroke-surface-warning: #e1bc7c;
|
|
174
194
|
/* Decorative stroke color used to define warning-toned surface boundaries with strong emphasis. */
|
|
175
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;
|
|
176
200
|
/* Decorative stroke color used to define error-toned surface boundaries with normal emphasis. */
|
|
177
201
|
--wpds-color-stroke-surface-error: #dab1aa;
|
|
178
202
|
/* Decorative stroke color used to define error-toned surface boundaries with strong emphasis. */
|
|
@@ -181,7 +205,7 @@
|
|
|
181
205
|
--wpds-color-stroke-interactive-neutral: #8d8d8d;
|
|
182
206
|
/* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
183
207
|
--wpds-color-stroke-interactive-neutral-active: #6e6e6e;
|
|
184
|
-
/* Accessible stroke color used for interactive elements with normal emphasis, in their disabled state
|
|
208
|
+
/* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis, in their disabled state. */
|
|
185
209
|
--wpds-color-stroke-interactive-neutral-disabled: #dbdbdb;
|
|
186
210
|
/* Accessible stroke color used for interactive neutrally-toned elements with strong emphasis. */
|
|
187
211
|
--wpds-color-stroke-interactive-neutral-strong: #6e6e6e;
|
|
@@ -189,18 +213,20 @@
|
|
|
189
213
|
--wpds-color-stroke-interactive-brand: #3858e9;
|
|
190
214
|
/* Accessible stroke color used for interactive brand-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
191
215
|
--wpds-color-stroke-interactive-brand-active: #2337c8;
|
|
216
|
+
/* Accessible stroke color used for interactive brand-toned elements with normal emphasis, in their disabled state. */
|
|
217
|
+
--wpds-color-stroke-interactive-brand-disabled: #dbdbdb;
|
|
192
218
|
/* Accessible stroke color used for interactive error-toned elements with normal emphasis. */
|
|
193
219
|
--wpds-color-stroke-interactive-error: #cc1818;
|
|
194
220
|
/* Accessible stroke color used for interactive error-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
195
221
|
--wpds-color-stroke-interactive-error-active: #9d0000;
|
|
222
|
+
/* Accessible stroke color used for interactive error-toned elements with normal emphasis, in their disabled state. */
|
|
223
|
+
--wpds-color-stroke-interactive-error-disabled: #dbdbdb;
|
|
196
224
|
/* Accessible stroke color used for interactive error-toned elements with strong emphasis. */
|
|
197
225
|
--wpds-color-stroke-interactive-error-strong: #cc1818;
|
|
198
226
|
/* Accessible stroke color applied to focus rings. */
|
|
199
|
-
--wpds-color-stroke-focus
|
|
227
|
+
--wpds-color-stroke-focus: #3858e9;
|
|
200
228
|
/* Cursor style for interactive controls that are not links (e.g. buttons, checkboxes, and toggles). */
|
|
201
229
|
--wpds-cursor-control: pointer;
|
|
202
|
-
/* Base dimension unit */
|
|
203
|
-
--wpds-dimension-base: 4px;
|
|
204
230
|
/* Extra small padding */
|
|
205
231
|
--wpds-dimension-padding-xs: 4px;
|
|
206
232
|
/* Small padding */
|
|
@@ -331,6 +357,62 @@
|
|
|
331
357
|
--wpds-border-width-focus: 1.5px;
|
|
332
358
|
}
|
|
333
359
|
}
|
|
360
|
+
[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;
|
|
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;
|
|
370
|
+
/* Page and app shell surfaces. */
|
|
371
|
+
--wpds-border-radius-xl: 0;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
[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;
|
|
378
|
+
/* Standalone buttons, inputs, and compact controls. */
|
|
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
|
+
/* Page and app shell surfaces. */
|
|
385
|
+
--wpds-border-radius-xl: 12px;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
[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;
|
|
392
|
+
/* Standalone buttons, inputs, and compact controls. */
|
|
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
|
+
/* Page and app shell surfaces. */
|
|
399
|
+
--wpds-border-radius-xl: 20px;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
[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;
|
|
406
|
+
/* Standalone buttons, inputs, and compact controls. */
|
|
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
|
+
/* Page and app shell surfaces. */
|
|
413
|
+
--wpds-border-radius-xl: 26px;
|
|
414
|
+
}
|
|
415
|
+
|
|
334
416
|
/**
|
|
335
417
|
* Typography
|
|
336
418
|
*/
|