|
2 | 2 | "sourceFile": "index.css",
|
3 | 3 | "selectors": [
|
4 | 4 | ".spectrum-Switch",
|
5 |
| - ".spectrum-Switch + .spectrum-Switch-switch:after", |
6 |
| - ".spectrum-Switch + .spectrum-Switch-switch:before", |
| 5 | + ".spectrum-Switch .spectrum-Switch-input:disabled + .spectrum-Switch-switch", |
| 6 | + ".spectrum-Switch .spectrum-Switch-input:disabled + .spectrum-Switch-switch:before", |
7 | 7 | ".spectrum-Switch .spectrum-Switch-input:disabled ~ .spectrum-Switch-label",
|
8 | 8 | ".spectrum-Switch .spectrum-Switch-input:disabled:checked + .spectrum-Switch-switch",
|
9 | 9 | ".spectrum-Switch .spectrum-Switch-input:disabled:checked + .spectrum-Switch-switch:before",
|
10 |
| - ".spectrum-Switch .spectrum-Switch-input:disabled:not(:checked) + .spectrum-Switch-switch", |
11 |
| - ".spectrum-Switch .spectrum-Switch-input:disabled:not(:checked) + .spectrum-Switch-switch:before", |
12 |
| - ".spectrum-Switch .spectrum-Switch-input:not(:checked) + .spectrum-Switch-switch", |
| 10 | + ".spectrum-Switch .spectrum-Switch-input[disabled] + .spectrum-Switch-switch", |
| 11 | + ".spectrum-Switch .spectrum-Switch-input[disabled] + .spectrum-Switch-switch:before", |
13 | 12 | ".spectrum-Switch .spectrum-Switch-input[disabled] ~ .spectrum-Switch-label",
|
14 | 13 | ".spectrum-Switch .spectrum-Switch-input[disabled]:checked + .spectrum-Switch-switch",
|
15 | 14 | ".spectrum-Switch .spectrum-Switch-input[disabled]:checked + .spectrum-Switch-switch:before",
|
16 |
| - ".spectrum-Switch .spectrum-Switch-input[disabled]:not(:checked) + .spectrum-Switch-switch", |
17 |
| - ".spectrum-Switch .spectrum-Switch-input[disabled]:not(:checked) + .spectrum-Switch-switch:before", |
18 |
| - ".spectrum-Switch .spectrum-Switch-switch", |
19 |
| - ".spectrum-Switch .spectrum-Switch-switch:before", |
20 |
| - ".spectrum-Switch ~ .spectrum-Switch-label", |
21 | 15 | ".spectrum-Switch--disabled",
|
22 | 16 | ".spectrum-Switch--emphasized",
|
23 | 17 | ".spectrum-Switch--sizeL",
|
|
26 | 20 | ".spectrum-Switch-input",
|
27 | 21 | ".spectrum-Switch-input:checked + .spectrum-Switch-switch",
|
28 | 22 | ".spectrum-Switch-input:checked + .spectrum-Switch-switch:before",
|
29 |
| - ".spectrum-Switch-input:checked + .spectrum-Switch-switch:dir(rtl):before", |
| 23 | + ".spectrum-Switch-input:checked + .spectrum-Switch-switch:before:dir(rtl)", |
| 24 | + ".spectrum-Switch-input:checked:focus-visible + .spectrum-Switch-switch", |
30 | 25 | ".spectrum-Switch-input:disabled",
|
31 |
| - ".spectrum-Switch-input:disabled + .spectrum-Switch-switch", |
32 |
| - ".spectrum-Switch-input:disabled + .spectrum-Switch-switch:before", |
33 |
| - ".spectrum-Switch-input:disabled ~ .spectrum-Switch-label", |
34 |
| - ".spectrum-Switch-input:disabled:checked + .spectrum-Switch-switch", |
35 |
| - ".spectrum-Switch-input:disabled:checked + .spectrum-Switch-switch:before", |
| 26 | + ".spectrum-Switch-input:focus-visible + .spectrum-Switch-switch", |
36 | 27 | ".spectrum-Switch-input:focus-visible + .spectrum-Switch-switch:after",
|
| 28 | + ".spectrum-Switch-input:focus-visible + .spectrum-Switch-switch:before", |
| 29 | + ".spectrum-Switch-input:focus-visible ~ .spectrum-Switch-label", |
37 | 30 | ".spectrum-Switch-input[disabled]",
|
38 |
| - ".spectrum-Switch-input[disabled] + .spectrum-Switch-switch", |
39 |
| - ".spectrum-Switch-input[disabled] + .spectrum-Switch-switch:before", |
40 |
| - ".spectrum-Switch-input[disabled] ~ .spectrum-Switch-label", |
41 |
| - ".spectrum-Switch-input[disabled]:checked + .spectrum-Switch-switch", |
42 |
| - ".spectrum-Switch-input[disabled]:checked + .spectrum-Switch-switch:before", |
43 | 31 | ".spectrum-Switch-label",
|
| 32 | + ".spectrum-Switch-label:lang(ja)", |
| 33 | + ".spectrum-Switch-label:lang(ko)", |
| 34 | + ".spectrum-Switch-label:lang(zh)", |
44 | 35 | ".spectrum-Switch-switch",
|
45 | 36 | ".spectrum-Switch-switch:after",
|
46 | 37 | ".spectrum-Switch-switch:before",
|
47 |
| - ".spectrum-Switch:active .spectrum-Switch-input + .spectrum-Switch-switch:before", |
48 |
| - ".spectrum-Switch:active .spectrum-Switch-input ~ .spectrum-Switch-label", |
49 |
| - ".spectrum-Switch:active .spectrum-Switch-input:checked:enabled + .spectrum-Switch-switch", |
50 |
| - ".spectrum-Switch:active .spectrum-Switch-input:checked:enabled + .spectrum-Switch-switch:before", |
51 |
| - ".spectrum-Switch:checked + .spectrum-Switch-switch", |
52 |
| - ".spectrum-Switch:checked + .spectrum-Switch-switch:before", |
53 |
| - ".spectrum-Switch:hover .spectrum-Switch-input + .spectrum-Switch-switch:before", |
54 |
| - ".spectrum-Switch:hover .spectrum-Switch-input ~ .spectrum-Switch-label", |
55 |
| - ".spectrum-Switch:hover .spectrum-Switch-input:checked:enabled + .spectrum-Switch-switch", |
56 |
| - ".spectrum-Switch:hover .spectrum-Switch-input:checked:enabled + .spectrum-Switch-switch:before", |
| 38 | + ".spectrum-Switch:active .spectrum-Switch-input:checked + .spectrum-Switch-switch", |
| 39 | + ".spectrum-Switch:active .spectrum-Switch-input:not(:disabled) + .spectrum-Switch-switch:before", |
| 40 | + ".spectrum-Switch:active .spectrum-Switch-input:not(:disabled):checked + .spectrum-Switch-switch:before", |
| 41 | + ".spectrum-Switch:active .spectrum-Switch-input:not(:disabled):checked + .spectrum-Switch-switch:before:dir(rtl)", |
| 42 | + ".spectrum-Switch:active .spectrum-Switch-switch", |
| 43 | + ".spectrum-Switch:active .spectrum-Switch-switch:before", |
| 44 | + ".spectrum-Switch:active ~ .spectrum-Switch-label", |
| 45 | + ".spectrum-Switch:hover .spectrum-Switch-input:checked + .spectrum-Switch-switch", |
| 46 | + ".spectrum-Switch:hover .spectrum-Switch-input:checked + .spectrum-Switch-switch:before", |
57 | 47 | ".spectrum-Switch:hover .spectrum-Switch-input:disabled + .spectrum-Switch-switch",
|
58 | 48 | ".spectrum-Switch:hover .spectrum-Switch-input:disabled + .spectrum-Switch-switch:before",
|
59 | 49 | ".spectrum-Switch:hover .spectrum-Switch-input:disabled ~ .spectrum-Switch-label",
|
60 | 50 | ".spectrum-Switch:hover .spectrum-Switch-input:disabled:checked + .spectrum-Switch-switch",
|
61 | 51 | ".spectrum-Switch:hover .spectrum-Switch-input:disabled:checked + .spectrum-Switch-switch:before",
|
62 |
| - ".spectrum-Switch:hover .spectrum-Switch-input:disabled:checked ~ .spectrum-Switch-label", |
63 |
| - ".spectrum-Switch:hover .spectrum-Switch-input:focus-visible + .spectrum-Switch-switch:after", |
64 |
| - ".spectrum-Switch:hover .spectrum-Switch-input:focus-visible + .spectrum-Switch-switch:before", |
65 |
| - ".spectrum-Switch:hover .spectrum-Switch-input:focus-visible ~ .spectrum-Switch-label", |
66 |
| - ".spectrum-Switch:hover .spectrum-Switch-input:focus-visible:checked + .spectrum-Switch-switch", |
67 |
| - ".spectrum-Switch:hover .spectrum-Switch-input:focus-visible:checked + .spectrum-Switch-switch:before", |
68 |
| - ".spectrum-Switch:hover .spectrum-Switch-input:not(:checked) + .spectrum-Switch-switch", |
69 | 52 | ".spectrum-Switch:hover .spectrum-Switch-input[disabled] + .spectrum-Switch-switch",
|
70 | 53 | ".spectrum-Switch:hover .spectrum-Switch-input[disabled] + .spectrum-Switch-switch:before",
|
71 | 54 | ".spectrum-Switch:hover .spectrum-Switch-input[disabled] ~ .spectrum-Switch-label",
|
72 | 55 | ".spectrum-Switch:hover .spectrum-Switch-input[disabled]:checked + .spectrum-Switch-switch",
|
73 | 56 | ".spectrum-Switch:hover .spectrum-Switch-input[disabled]:checked + .spectrum-Switch-switch:before",
|
74 |
| - ".spectrum-Switch:hover .spectrum-Switch-input[disabled]:checked ~ .spectrum-Switch-label", |
75 |
| - "[dir=\"rtl\"] .spectrum-Switch-input:checked + .spectrum-Switch-switch:before" |
| 57 | + ".spectrum-Switch:hover .spectrum-Switch-switch", |
| 58 | + ".spectrum-Switch:hover .spectrum-Switch-switch:before", |
| 59 | + ".spectrum-Switch:hover ~ .spectrum-Switch-label", |
| 60 | + "[dir=\"rtl\"] .spectrum-Switch-input:checked + .spectrum-Switch-switch:before", |
| 61 | + "[dir=\"rtl\"] .spectrum-Switch:active .spectrum-Switch-input:not(:disabled):checked + .spectrum-Switch-switch:before" |
76 | 62 | ],
|
77 | 63 | "modifiers": [
|
78 | 64 | "--mod-animation-duration-100",
|
79 |
| - "--mod-animation-duration-200", |
80 |
| - "--mod-border-width-200", |
81 |
| - "--mod-focus-indicator-gap", |
82 |
| - "--mod-focus-indicator-thickness", |
83 |
| - "--mod-line-height-100", |
84 | 65 | "--mod-switch-background-color",
|
85 | 66 | "--mod-switch-background-color-disabled",
|
86 | 67 | "--mod-switch-background-color-selected-default",
|
87 | 68 | "--mod-switch-background-color-selected-disabled",
|
88 | 69 | "--mod-switch-background-color-selected-down",
|
89 | 70 | "--mod-switch-background-color-selected-focus",
|
90 | 71 | "--mod-switch-background-color-selected-hover",
|
| 72 | + "--mod-switch-border-color-default", |
| 73 | + "--mod-switch-border-color-disabled", |
| 74 | + "--mod-switch-border-color-down", |
| 75 | + "--mod-switch-border-color-focus", |
| 76 | + "--mod-switch-border-color-hover", |
| 77 | + "--mod-switch-border-color-selected-default", |
| 78 | + "--mod-switch-border-color-selected-down", |
| 79 | + "--mod-switch-border-color-selected-focus", |
| 80 | + "--mod-switch-border-color-selected-hover", |
| 81 | + "--mod-switch-border-radius", |
| 82 | + "--mod-switch-border-width", |
| 83 | + "--mod-switch-cjk-line-height", |
91 | 84 | "--mod-switch-control-height",
|
92 | 85 | "--mod-switch-control-label-spacing",
|
93 | 86 | "--mod-switch-control-width",
|
94 | 87 | "--mod-switch-focus-indicator-color",
|
| 88 | + "--mod-switch-focus-indicator-gap", |
95 | 89 | "--mod-switch-focus-indicator-thickness",
|
96 | 90 | "--mod-switch-font-size",
|
97 |
| - "--mod-switch-handle-background-color", |
98 |
| - "--mod-switch-handle-border-color-default", |
99 |
| - "--mod-switch-handle-border-color-disabled", |
100 |
| - "--mod-switch-handle-border-color-down", |
101 |
| - "--mod-switch-handle-border-color-focus", |
102 |
| - "--mod-switch-handle-border-color-hover", |
103 |
| - "--mod-switch-handle-border-color-selected-default", |
104 |
| - "--mod-switch-handle-border-color-selected-down", |
105 |
| - "--mod-switch-handle-border-color-selected-focus", |
106 |
| - "--mod-switch-handle-border-color-selected-hover", |
| 91 | + "--mod-switch-handle-background-color-default", |
| 92 | + "--mod-switch-handle-background-color-disabled", |
| 93 | + "--mod-switch-handle-background-color-down", |
| 94 | + "--mod-switch-handle-background-color-focus", |
| 95 | + "--mod-switch-handle-background-color-hover", |
| 96 | + "--mod-switch-handle-background-color-selected", |
| 97 | + "--mod-switch-handle-background-color-selected-disabled", |
| 98 | + "--mod-switch-handle-selected-size", |
| 99 | + "--mod-switch-handle-size", |
107 | 100 | "--mod-switch-height",
|
108 |
| - "--mod-switch-label-color-default", |
| 101 | + "--mod-switch-label-color", |
109 | 102 | "--mod-switch-label-color-disabled",
|
110 | 103 | "--mod-switch-label-color-down",
|
111 | 104 | "--mod-switch-label-color-focus",
|
112 | 105 | "--mod-switch-label-color-hover",
|
| 106 | + "--mod-switch-line-height", |
| 107 | + "--mod-switch-spacing-bottom-to-label", |
113 | 108 | "--mod-switch-spacing-top-to-control",
|
114 | 109 | "--mod-switch-spacing-top-to-label"
|
115 | 110 | ],
|
|
121 | 116 | "--spectrum-switch-background-color-selected-down",
|
122 | 117 | "--spectrum-switch-background-color-selected-focus",
|
123 | 118 | "--spectrum-switch-background-color-selected-hover",
|
| 119 | + "--spectrum-switch-border-color-default", |
| 120 | + "--spectrum-switch-border-color-disabled", |
| 121 | + "--spectrum-switch-border-color-down", |
| 122 | + "--spectrum-switch-border-color-focus", |
| 123 | + "--spectrum-switch-border-color-hover", |
| 124 | + "--spectrum-switch-border-color-selected-default", |
| 125 | + "--spectrum-switch-border-color-selected-down", |
| 126 | + "--spectrum-switch-border-color-selected-focus", |
| 127 | + "--spectrum-switch-border-color-selected-hover", |
| 128 | + "--spectrum-switch-border-radius", |
| 129 | + "--spectrum-switch-border-width", |
| 130 | + "--spectrum-switch-cjk-line-height", |
124 | 131 | "--spectrum-switch-control-height",
|
125 | 132 | "--spectrum-switch-control-height-extra-large",
|
126 | 133 | "--spectrum-switch-control-height-large",
|
|
133 | 140 | "--spectrum-switch-control-width-medium",
|
134 | 141 | "--spectrum-switch-control-width-small",
|
135 | 142 | "--spectrum-switch-focus-indicator-color",
|
| 143 | + "--spectrum-switch-focus-indicator-gap", |
136 | 144 | "--spectrum-switch-focus-indicator-thickness",
|
137 | 145 | "--spectrum-switch-font-size",
|
138 |
| - "--spectrum-switch-handle-background-color", |
139 |
| - "--spectrum-switch-handle-border-color-default", |
140 |
| - "--spectrum-switch-handle-border-color-disabled", |
141 |
| - "--spectrum-switch-handle-border-color-down", |
142 |
| - "--spectrum-switch-handle-border-color-focus", |
143 |
| - "--spectrum-switch-handle-border-color-hover", |
144 |
| - "--spectrum-switch-handle-border-color-selected-default", |
145 |
| - "--spectrum-switch-handle-border-color-selected-down", |
146 |
| - "--spectrum-switch-handle-border-color-selected-focus", |
147 |
| - "--spectrum-switch-handle-border-color-selected-hover", |
| 146 | + "--spectrum-switch-handle-background-color-default", |
| 147 | + "--spectrum-switch-handle-background-color-disabled", |
| 148 | + "--spectrum-switch-handle-background-color-down", |
| 149 | + "--spectrum-switch-handle-background-color-focus", |
| 150 | + "--spectrum-switch-handle-background-color-hover", |
| 151 | + "--spectrum-switch-handle-background-color-selected", |
| 152 | + "--spectrum-switch-handle-background-color-selected-disabled", |
| 153 | + "--spectrum-switch-handle-selected-size", |
| 154 | + "--spectrum-switch-handle-selected-size-extra-large", |
| 155 | + "--spectrum-switch-handle-selected-size-large", |
| 156 | + "--spectrum-switch-handle-selected-size-medium", |
| 157 | + "--spectrum-switch-handle-selected-size-small", |
| 158 | + "--spectrum-switch-handle-size", |
| 159 | + "--spectrum-switch-handle-size-extra-large", |
| 160 | + "--spectrum-switch-handle-size-large", |
| 161 | + "--spectrum-switch-handle-size-medium", |
| 162 | + "--spectrum-switch-handle-size-small", |
148 | 163 | "--spectrum-switch-label-color-default",
|
149 | 164 | "--spectrum-switch-label-color-disabled",
|
150 | 165 | "--spectrum-switch-label-color-down",
|
151 | 166 | "--spectrum-switch-label-color-focus",
|
152 | 167 | "--spectrum-switch-label-color-hover",
|
| 168 | + "--spectrum-switch-line-height", |
153 | 169 | "--spectrum-switch-min-height",
|
| 170 | + "--spectrum-switch-spacing-bottom-to-label", |
154 | 171 | "--spectrum-switch-spacing-top-to-control",
|
155 | 172 | "--spectrum-switch-spacing-top-to-label",
|
156 | 173 | "--spectrum-switch-top-to-control-extra-large",
|
|
159 | 176 | "--spectrum-switch-top-to-control-small"
|
160 | 177 | ],
|
161 | 178 | "global": [
|
162 |
| - "--spectrum-accent-color-1000", |
163 |
| - "--spectrum-accent-color-1100", |
164 |
| - "--spectrum-accent-color-900", |
| 179 | + "--spectrum-accent-background-color-default", |
| 180 | + "--spectrum-accent-background-color-down", |
| 181 | + "--spectrum-accent-background-color-hover", |
| 182 | + "--spectrum-accent-background-color-key-focus", |
165 | 183 | "--spectrum-animation-duration-100",
|
166 | 184 | "--spectrum-animation-duration-200",
|
167 | 185 | "--spectrum-border-width-200",
|
| 186 | + "--spectrum-cjk-line-height-100", |
| 187 | + "--spectrum-component-bottom-to-text-100", |
| 188 | + "--spectrum-component-bottom-to-text-200", |
| 189 | + "--spectrum-component-bottom-to-text-300", |
| 190 | + "--spectrum-component-bottom-to-text-75", |
168 | 191 | "--spectrum-component-height-100",
|
169 | 192 | "--spectrum-component-height-200",
|
170 | 193 | "--spectrum-component-height-300",
|
171 | 194 | "--spectrum-component-height-75",
|
| 195 | + "--spectrum-component-size-difference-down", |
| 196 | + "--spectrum-component-size-minimum-perspective-down", |
172 | 197 | "--spectrum-component-top-to-text-100",
|
173 | 198 | "--spectrum-component-top-to-text-200",
|
174 | 199 | "--spectrum-component-top-to-text-300",
|
175 | 200 | "--spectrum-component-top-to-text-75",
|
| 201 | + "--spectrum-corner-radius-full", |
176 | 202 | "--spectrum-disabled-content-color",
|
177 | 203 | "--spectrum-focus-indicator-color",
|
178 | 204 | "--spectrum-focus-indicator-gap",
|
|
181 | 207 | "--spectrum-font-size-200",
|
182 | 208 | "--spectrum-font-size-300",
|
183 | 209 | "--spectrum-font-size-75",
|
184 |
| - "--spectrum-gray-200", |
185 |
| - "--spectrum-gray-50", |
| 210 | + "--spectrum-gray-25", |
186 | 211 | "--spectrum-line-height-100",
|
187 |
| - "--spectrum-neutral-background-color-selected-default", |
188 |
| - "--spectrum-neutral-background-color-selected-down", |
189 |
| - "--spectrum-neutral-background-color-selected-hover", |
190 |
| - "--spectrum-neutral-background-color-selected-key-focus", |
| 212 | + "--spectrum-neutral-background-color-default", |
| 213 | + "--spectrum-neutral-background-color-down", |
| 214 | + "--spectrum-neutral-background-color-hover", |
| 215 | + "--spectrum-neutral-background-color-key-focus", |
191 | 216 | "--spectrum-neutral-content-color-default",
|
192 | 217 | "--spectrum-neutral-content-color-down",
|
193 | 218 | "--spectrum-neutral-content-color-hover",
|
|
201 | 226 | "passthroughs": [],
|
202 | 227 | "high-contrast": [
|
203 | 228 | "--highcontrast-switch-background-color",
|
| 229 | + "--highcontrast-switch-background-color-disabled", |
204 | 230 | "--highcontrast-switch-background-color-selected-default",
|
205 | 231 | "--highcontrast-switch-background-color-selected-disabled",
|
206 | 232 | "--highcontrast-switch-background-color-selected-down",
|
207 | 233 | "--highcontrast-switch-background-color-selected-focus",
|
208 | 234 | "--highcontrast-switch-background-color-selected-hover",
|
| 235 | + "--highcontrast-switch-border-color-default", |
| 236 | + "--highcontrast-switch-border-color-disabled", |
| 237 | + "--highcontrast-switch-border-color-down", |
| 238 | + "--highcontrast-switch-border-color-focus", |
| 239 | + "--highcontrast-switch-border-color-hover", |
| 240 | + "--highcontrast-switch-border-color-selected-default", |
| 241 | + "--highcontrast-switch-border-color-selected-down", |
| 242 | + "--highcontrast-switch-border-color-selected-focus", |
| 243 | + "--highcontrast-switch-border-color-selected-hover", |
209 | 244 | "--highcontrast-switch-focus-indicator-color",
|
210 | 245 | "--highcontrast-switch-handle-background-color",
|
211 |
| - "--highcontrast-switch-handle-border-color-default", |
212 |
| - "--highcontrast-switch-handle-border-color-disabled", |
213 |
| - "--highcontrast-switch-handle-border-color-down", |
214 |
| - "--highcontrast-switch-handle-border-color-focus", |
215 |
| - "--highcontrast-switch-handle-border-color-hover", |
216 |
| - "--highcontrast-switch-handle-border-color-selected-default", |
217 |
| - "--highcontrast-switch-handle-border-color-selected-down", |
218 |
| - "--highcontrast-switch-handle-border-color-selected-focus", |
219 |
| - "--highcontrast-switch-handle-border-color-selected-hover", |
| 246 | + "--highcontrast-switch-handle-background-color-default", |
| 247 | + "--highcontrast-switch-handle-background-color-disabled", |
| 248 | + "--highcontrast-switch-handle-background-color-down", |
| 249 | + "--highcontrast-switch-handle-background-color-focus", |
| 250 | + "--highcontrast-switch-handle-background-color-hover", |
| 251 | + "--highcontrast-switch-handle-background-color-selected", |
| 252 | + "--highcontrast-switch-handle-background-color-selected-disabled", |
220 | 253 | "--highcontrast-switch-label-color-default",
|
221 | 254 | "--highcontrast-switch-label-color-disabled",
|
222 | 255 | "--highcontrast-switch-label-color-down",
|
|
0 commit comments