@spectrum-web-components/styles 0.22.3-react.75 → 0.23.1
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/package.json +3 -3
- package/tokens/express/custom-dark-vars.css +17 -0
- package/tokens/express/custom-darkest-vars.css +17 -0
- package/tokens/express/custom-large-vars.css +4 -2
- package/tokens/express/custom-light-vars.css +16 -0
- package/tokens/express/custom-medium-vars.css +4 -2
- package/tokens/express/global-vars.css +8 -9
- package/tokens/express/large-vars.css +2 -0
- package/tokens/express/medium-vars.css +0 -2
- package/tokens/global-vars.css +24 -0
- package/tokens/large-vars.css +4 -1
- package/tokens/medium-vars.css +4 -1
- package/tokens/spectrum/custom-dark-vars.css +31 -0
- package/tokens/spectrum/custom-darkest-vars.css +31 -0
- package/tokens/spectrum/custom-large-vars.css +22 -0
- package/tokens/spectrum/custom-light-vars.css +30 -0
- package/tokens/spectrum/custom-medium-vars.css +22 -0
- package/tokens/spectrum/global-vars.css +4 -1
- package/tokens/spectrum/medium-vars.css +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/styles",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"lit-html"
|
|
106
106
|
],
|
|
107
107
|
"dependencies": {
|
|
108
|
-
"@spectrum-web-components/base": "^0.7.
|
|
108
|
+
"@spectrum-web-components/base": "^0.7.4"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
111
|
"@spectrum-css/commons": "^4.0.2",
|
|
@@ -119,5 +119,5 @@
|
|
|
119
119
|
"./**/*.css"
|
|
120
120
|
],
|
|
121
121
|
"style": "all-medium-lightest.css",
|
|
122
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "5e11d828243bb3ff572c25b33a8d58844a89f524"
|
|
123
123
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2023 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
7
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
8
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
9
|
+
governing permissions and limitations under the License.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/* This file contains overrides and additions to core tokens */
|
|
13
|
+
|
|
14
|
+
.spectrum--express:host,
|
|
15
|
+
:root {
|
|
16
|
+
/* */
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2023 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
7
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
8
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
9
|
+
governing permissions and limitations under the License.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/* This file contains overrides and additions to core tokens */
|
|
13
|
+
|
|
14
|
+
.spectrum--express:host,
|
|
15
|
+
:root {
|
|
16
|
+
/* */
|
|
17
|
+
}
|
|
@@ -12,6 +12,8 @@ governing permissions and limitations under the License.
|
|
|
12
12
|
|
|
13
13
|
/* This file contains overrides and additions to core tokens */
|
|
14
14
|
|
|
15
|
-
:host,
|
|
16
|
-
|
|
15
|
+
:host,
|
|
16
|
+
:root {
|
|
17
|
+
--spectrum-colorwheel-path: 'M 118 118 m -118 0 a 118 118 0 1 0 236 0 a 118 118 0 1 0 -236 0.2 M 118 118 m -92 0 a 92 92 0 1 0 184 0 a 92 92 0 1 0 -184 0';
|
|
18
|
+
--spectrum-colorwheel-path-borders: 'M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0';
|
|
17
19
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2023 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
7
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
8
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
9
|
+
governing permissions and limitations under the License.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/* This file contains overrides and additions to core tokens */
|
|
13
|
+
|
|
14
|
+
.spectrum--express.spectrum--light {
|
|
15
|
+
/* */
|
|
16
|
+
}
|
|
@@ -12,6 +12,8 @@ governing permissions and limitations under the License.
|
|
|
12
12
|
|
|
13
13
|
/* This file contains overrides and additions to core tokens */
|
|
14
14
|
|
|
15
|
-
:host,
|
|
16
|
-
|
|
15
|
+
:host,
|
|
16
|
+
:root {
|
|
17
|
+
--spectrum-colorwheel-path: 'M 94 94 m -94 0 a 94 94 0 1 0 188 0 a 94 94 0 1 0 -188 0.2 M 94 94 m -74 0 a 74 74 0 1 0 148 0 a 74 74 0 1 0 -148 0';
|
|
18
|
+
--spectrum-colorwheel-path-borders: 'M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0';
|
|
17
19
|
}
|
|
@@ -24,6 +24,8 @@ governing permissions and limitations under the License.
|
|
|
24
24
|
);
|
|
25
25
|
--spectrum-slider-track-thickness: 4px;
|
|
26
26
|
--spectrum-slider-handle-gap: 0px;
|
|
27
|
+
--spectrum-color-loupe-bottom-to-color-handle: 6px;
|
|
28
|
+
--spectrum-color-loupe-inner-border-width: 3px;
|
|
27
29
|
--spectrum-border-width-100: 2px;
|
|
28
30
|
--spectrum-accent-color-100: var(--spectrum-indigo-100);
|
|
29
31
|
--spectrum-accent-color-200: var(--spectrum-indigo-200);
|
|
@@ -1250,7 +1252,6 @@ governing permissions and limitations under the License.
|
|
|
1250
1252
|
|
|
1251
1253
|
:host,
|
|
1252
1254
|
:root {
|
|
1253
|
-
--system-spectrum-picker-border-size: none;
|
|
1254
1255
|
--system-spectrum-picker-background-color-default: var(--spectrum-gray-200);
|
|
1255
1256
|
--system-spectrum-picker-background-color-default-open: var(
|
|
1256
1257
|
--spectrum-gray-300
|
|
@@ -1263,12 +1264,10 @@ governing permissions and limitations under the License.
|
|
|
1263
1264
|
--system-spectrum-picker-background-color-key-focus: var(
|
|
1264
1265
|
--spectrum-gray-300
|
|
1265
1266
|
);
|
|
1266
|
-
--system-spectrum-picker-border-color-default:
|
|
1267
|
-
--system-spectrum-picker-border-color-default-open:
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
--system-spectrum-picker-border-color-
|
|
1271
|
-
--system-spectrum-picker-border-color-
|
|
1272
|
-
--system-spectrum-picker-border-color-active: var(--spectrum-gray-600);
|
|
1273
|
-
--system-spectrum-picker-border-color-key-focus: var(--spectrum-gray-500);
|
|
1267
|
+
--system-spectrum-picker-border-color-default: transparent;
|
|
1268
|
+
--system-spectrum-picker-border-color-default-open: transparent;
|
|
1269
|
+
--system-spectrum-picker-border-color-hover: transparent;
|
|
1270
|
+
--system-spectrum-picker-border-color-hover-open: transparent;
|
|
1271
|
+
--system-spectrum-picker-border-color-active: transparent;
|
|
1272
|
+
--system-spectrum-picker-border-color-key-focus: transparent;
|
|
1274
1273
|
}
|
|
@@ -64,6 +64,8 @@ governing permissions and limitations under the License.
|
|
|
64
64
|
--spectrum-slider-bottom-to-handle-medium: 8px;
|
|
65
65
|
--spectrum-slider-bottom-to-handle-large: 12px;
|
|
66
66
|
--spectrum-slider-bottom-to-handle-extra-large: 15px;
|
|
67
|
+
--spectrum-color-loupe-height: 50px;
|
|
68
|
+
--spectrum-color-loupe-width: 40px;
|
|
67
69
|
--spectrum-corner-radius-75: 4px;
|
|
68
70
|
--spectrum-corner-radius-100: 8px;
|
|
69
71
|
--spectrum-corner-radius-200: 16px;
|
|
@@ -66,8 +66,6 @@ governing permissions and limitations under the License.
|
|
|
66
66
|
--spectrum-slider-bottom-to-handle-extra-large: 12px;
|
|
67
67
|
--spectrum-color-loupe-height: 40px;
|
|
68
68
|
--spectrum-color-loupe-width: 32px;
|
|
69
|
-
--spectrum-color-loupe-bottom-to-color-handle: 6px;
|
|
70
|
-
--spectrum-color-loupe-inner-border-width: 3px;
|
|
71
69
|
--spectrum-corner-radius-75: 3px;
|
|
72
70
|
--spectrum-corner-radius-100: 6px;
|
|
73
71
|
--spectrum-corner-radius-200: 12px;
|
package/tokens/global-vars.css
CHANGED
|
@@ -108,6 +108,9 @@ governing permissions and limitations under the License.
|
|
|
108
108
|
--spectrum-color-loupe-outer-border: var(--spectrum-white);
|
|
109
109
|
--spectrum-card-selection-background-color: var(--spectrum-gray-100);
|
|
110
110
|
--spectrum-card-selection-background-color-opacity: 0.95;
|
|
111
|
+
--spectrum-drop-zone-background-color: var(--spectrum-accent-visual-color);
|
|
112
|
+
--spectrum-drop-zone-background-color-opacity: 0.1;
|
|
113
|
+
--spectrum-drop-zone-background-color-opacity-filled: 0.3;
|
|
111
114
|
--spectrum-white: rgb(255, 255, 255);
|
|
112
115
|
--spectrum-transparent-white-100: rgba(255, 255, 255, 0);
|
|
113
116
|
--spectrum-transparent-white-200: rgba(255, 255, 255, 0.1);
|
|
@@ -175,6 +178,21 @@ governing permissions and limitations under the License.
|
|
|
175
178
|
--spectrum-card-minimum-width: 100px;
|
|
176
179
|
--spectrum-card-preview-minimum-height: 130px;
|
|
177
180
|
--spectrum-card-selection-background-size: 40px;
|
|
181
|
+
--spectrum-drop-zone-width: 428px;
|
|
182
|
+
--spectrum-drop-zone-content-maximum-width: var(
|
|
183
|
+
--spectrum-illustrated-message-maximum-width
|
|
184
|
+
);
|
|
185
|
+
--spectrum-drop-zone-border-dash-length: 8px;
|
|
186
|
+
--spectrum-drop-zone-border-dash-gap: 4px;
|
|
187
|
+
--spectrum-drop-zone-title-size: var(
|
|
188
|
+
--spectrum-illustrated-message-title-size
|
|
189
|
+
);
|
|
190
|
+
--spectrum-drop-zone-cjk-title-size: var(
|
|
191
|
+
--spectrum-illustrated-message-cjk-title-size
|
|
192
|
+
);
|
|
193
|
+
--spectrum-drop-zone-body-size: var(
|
|
194
|
+
--spectrum-illustrated-message-body-size
|
|
195
|
+
);
|
|
178
196
|
--spectrum-android-elevation: 2dp;
|
|
179
197
|
--spectrum-spacing-50: 2px;
|
|
180
198
|
--spectrum-spacing-75: 4px;
|
|
@@ -486,6 +504,7 @@ governing permissions and limitations under the License.
|
|
|
486
504
|
--spectrum-heading-cjk-line-height: var(--spectrum-cjk-line-height-100);
|
|
487
505
|
--spectrum-heading-margin-top-multiplier: 0.88888889;
|
|
488
506
|
--spectrum-heading-margin-bottom-multiplier: 0.25;
|
|
507
|
+
--spectrum-heading-color: var(--spectrum-gray-900);
|
|
489
508
|
--spectrum-body-sans-serif-font-family: var(
|
|
490
509
|
--spectrum-sans-serif-font-family
|
|
491
510
|
);
|
|
@@ -553,6 +572,7 @@ governing permissions and limitations under the License.
|
|
|
553
572
|
--spectrum-body-line-height: var(--spectrum-line-height-200);
|
|
554
573
|
--spectrum-body-cjk-line-height: var(--spectrum-cjk-line-height-200);
|
|
555
574
|
--spectrum-body-margin-multiplier: 0.75;
|
|
575
|
+
--spectrum-body-color: var(--spectrum-gray-800);
|
|
556
576
|
--spectrum-detail-sans-serif-font-family: var(
|
|
557
577
|
--spectrum-sans-serif-font-family
|
|
558
578
|
);
|
|
@@ -691,6 +711,9 @@ governing permissions and limitations under the License.
|
|
|
691
711
|
--spectrum-detail-margin-top-multiplier: 0.88888889;
|
|
692
712
|
--spectrum-detail-margin-bottom-multiplier: 0.25;
|
|
693
713
|
--spectrum-detail-letter-spacing: 0.06em;
|
|
714
|
+
--spectrum-detail-sans-serif-text-transform: uppercase;
|
|
715
|
+
--spectrum-detail-serif-text-transform: uppercase;
|
|
716
|
+
--spectrum-detail-color: var(--spectrum-gray-900);
|
|
694
717
|
--spectrum-code-font-family: Source Code Pro;
|
|
695
718
|
--spectrum-code-cjk-font-family: var(--spectrum-code-font-family);
|
|
696
719
|
--spectrum-code-font-weight: var(--spectrum-regular-font-weight);
|
|
@@ -728,4 +751,5 @@ governing permissions and limitations under the License.
|
|
|
728
751
|
--spectrum-code-size-xs: var(--spectrum-font-size-75);
|
|
729
752
|
--spectrum-code-line-height: var(--spectrum-line-height-200);
|
|
730
753
|
--spectrum-code-cjk-line-height: var(--spectrum-cjk-line-height-200);
|
|
754
|
+
--spectrum-code-color: var(--spectrum-gray-800);
|
|
731
755
|
}
|
package/tokens/large-vars.css
CHANGED
|
@@ -109,6 +109,8 @@ governing permissions and limitations under the License.
|
|
|
109
109
|
--spectrum-thumbnail-size-800: 55px;
|
|
110
110
|
--spectrum-thumbnail-size-900: 62px;
|
|
111
111
|
--spectrum-thumbnail-size-1000: 70px;
|
|
112
|
+
--spectrum-alert-dialog-title-size: var(--spectrum-heading-size-xs);
|
|
113
|
+
--spectrum-alert-dialog-description-size: var(--spectrum-body-size-xs);
|
|
112
114
|
--spectrum-opacity-checkerboard-square-size: 10px;
|
|
113
115
|
--spectrum-breadcrumbs-height-multiline: 84px;
|
|
114
116
|
--spectrum-breadcrumbs-top-to-text: 17px;
|
|
@@ -145,7 +147,8 @@ governing permissions and limitations under the License.
|
|
|
145
147
|
--spectrum-color-area-minimum-width: 80px;
|
|
146
148
|
--spectrum-color-area-height: 240px;
|
|
147
149
|
--spectrum-color-area-minimum-height: 80px;
|
|
148
|
-
--spectrum-color-wheel-
|
|
150
|
+
--spectrum-color-wheel-width: 240px;
|
|
151
|
+
--spectrum-color-wheel-minimum-width: 219px;
|
|
149
152
|
--spectrum-color-slider-length: 240px;
|
|
150
153
|
--spectrum-illustrated-message-title-size: var(--spectrum-heading-size-s);
|
|
151
154
|
--spectrum-illustrated-message-cjk-title-size: var(
|
package/tokens/medium-vars.css
CHANGED
|
@@ -109,6 +109,8 @@ governing permissions and limitations under the License.
|
|
|
109
109
|
--spectrum-thumbnail-size-800: 44px;
|
|
110
110
|
--spectrum-thumbnail-size-900: 50px;
|
|
111
111
|
--spectrum-thumbnail-size-1000: 56px;
|
|
112
|
+
--spectrum-alert-dialog-title-size: var(--spectrum-heading-size-s);
|
|
113
|
+
--spectrum-alert-dialog-description-size: var(--spectrum-body-size-s);
|
|
112
114
|
--spectrum-opacity-checkerboard-square-size: 8px;
|
|
113
115
|
--spectrum-breadcrumbs-height-multiline: 72px;
|
|
114
116
|
--spectrum-breadcrumbs-top-to-text: 13px;
|
|
@@ -145,7 +147,8 @@ governing permissions and limitations under the License.
|
|
|
145
147
|
--spectrum-color-area-minimum-width: 64px;
|
|
146
148
|
--spectrum-color-area-height: 192px;
|
|
147
149
|
--spectrum-color-area-minimum-height: 64px;
|
|
148
|
-
--spectrum-color-wheel-
|
|
150
|
+
--spectrum-color-wheel-width: 192px;
|
|
151
|
+
--spectrum-color-wheel-minimum-width: 175px;
|
|
149
152
|
--spectrum-color-slider-length: 192px;
|
|
150
153
|
--spectrum-illustrated-message-title-size: var(--spectrum-heading-size-m);
|
|
151
154
|
--spectrum-illustrated-message-cjk-title-size: var(
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2023 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
7
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
8
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
9
|
+
governing permissions and limitations under the License.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/* This file contains overrides and additions to core tokens */
|
|
13
|
+
|
|
14
|
+
:host,
|
|
15
|
+
:root {
|
|
16
|
+
--spectrum-menu-item-background-color-default: rgba(
|
|
17
|
+
255,
|
|
18
|
+
255,
|
|
19
|
+
255,
|
|
20
|
+
0
|
|
21
|
+
); /* --spectrum-gray-900 */
|
|
22
|
+
--spectrum-menu-item-background-color-hover: var(
|
|
23
|
+
--spectrum-transparent-white-200
|
|
24
|
+
);
|
|
25
|
+
--spectrum-menu-item-background-color-down: var(
|
|
26
|
+
--spectrum-transparent-white-200
|
|
27
|
+
);
|
|
28
|
+
--spectrum-menu-item-background-color-key-focus: var(
|
|
29
|
+
--spectrum-transparent-white-200
|
|
30
|
+
);
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2023 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
7
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
8
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
9
|
+
governing permissions and limitations under the License.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/* This file contains overrides and additions to core tokens */
|
|
13
|
+
|
|
14
|
+
:host,
|
|
15
|
+
:root {
|
|
16
|
+
--spectrum-menu-item-background-color-default: rgba(
|
|
17
|
+
255,
|
|
18
|
+
255,
|
|
19
|
+
255,
|
|
20
|
+
0
|
|
21
|
+
); /* --spectrum-gray-900 */
|
|
22
|
+
--spectrum-menu-item-background-color-hover: var(
|
|
23
|
+
--spectrum-transparent-white-200
|
|
24
|
+
);
|
|
25
|
+
--spectrum-menu-item-background-color-down: var(
|
|
26
|
+
--spectrum-transparent-white-200
|
|
27
|
+
);
|
|
28
|
+
--spectrum-menu-item-background-color-key-focus: var(
|
|
29
|
+
--spectrum-transparent-white-200
|
|
30
|
+
);
|
|
31
|
+
}
|
|
@@ -22,4 +22,26 @@ governing permissions and limitations under the License.
|
|
|
22
22
|
|
|
23
23
|
--spectrum-slider-tick-mark-height: 13px;
|
|
24
24
|
--spectrum-slider-ramp-track-height: 20px;
|
|
25
|
+
|
|
26
|
+
--spectrum-colorwheel-path: 'M 119 119 m -119 0 a 119 119 0 1 0 238 0 a 119 119 0 1 0 -238 0.2 M 119 119 m -91 0 a 91 91 0 1 0 182 0 a 91 91 0 1 0 -182 0';
|
|
27
|
+
--spectrum-colorwheel-path-borders: 'M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0';
|
|
28
|
+
--spectrum-colorwheel-colorarea-container-size: 182px;
|
|
29
|
+
|
|
30
|
+
/* TODO: --spectrum-color-handle-size will need to be removed here once it's defined in @adobe/spectrum-tokens */
|
|
31
|
+
--spectrum-color-handle-size: 20px;
|
|
32
|
+
|
|
33
|
+
--spectrum-menu-item-selectable-edge-to-text-not-selected-small: 34px;
|
|
34
|
+
--spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 42px;
|
|
35
|
+
--spectrum-menu-item-selectable-edge-to-text-not-selected-large: 47px;
|
|
36
|
+
--spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 54px;
|
|
37
|
+
|
|
38
|
+
--spectrum-menu-item-checkmark-height-small: 12px;
|
|
39
|
+
--spectrum-menu-item-checkmark-height-medium: 14px;
|
|
40
|
+
--spectrum-menu-item-checkmark-height-large: 16px;
|
|
41
|
+
--spectrum-menu-item-checkmark-height-extra-large: 16px;
|
|
42
|
+
|
|
43
|
+
--spectrum-menu-item-checkmark-width-small: 12px;
|
|
44
|
+
--spectrum-menu-item-checkmark-width-medium: 14px;
|
|
45
|
+
--spectrum-menu-item-checkmark-width-large: 16px;
|
|
46
|
+
--spectrum-menu-item-checkmark-width-extra-large: 16px;
|
|
25
47
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2023 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
7
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
8
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
9
|
+
governing permissions and limitations under the License.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/* This file contains overrides and additions to core tokens */
|
|
13
|
+
|
|
14
|
+
.spectrum--light {
|
|
15
|
+
--spectrum-menu-item-background-color-default: rgba(
|
|
16
|
+
0,
|
|
17
|
+
0,
|
|
18
|
+
0,
|
|
19
|
+
0
|
|
20
|
+
); /* --spectrum-gray-900 */
|
|
21
|
+
--spectrum-menu-item-background-color-hover: var(
|
|
22
|
+
--spectrum-transparent-black-200
|
|
23
|
+
);
|
|
24
|
+
--spectrum-menu-item-background-color-down: var(
|
|
25
|
+
--spectrum-transparent-black-200
|
|
26
|
+
);
|
|
27
|
+
--spectrum-menu-item-background-color-key-focus: var(
|
|
28
|
+
--spectrum-transparent-black-200
|
|
29
|
+
);
|
|
30
|
+
}
|
|
@@ -22,4 +22,26 @@ governing permissions and limitations under the License.
|
|
|
22
22
|
|
|
23
23
|
--spectrum-slider-tick-mark-height: 10px;
|
|
24
24
|
--spectrum-slider-ramp-track-height: 16px;
|
|
25
|
+
|
|
26
|
+
--spectrum-colorwheel-path: 'M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0';
|
|
27
|
+
--spectrum-colorwheel-path-borders: 'M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0';
|
|
28
|
+
--spectrum-colorwheel-colorarea-container-size: 144px;
|
|
29
|
+
|
|
30
|
+
/* TODO: --spectrum-color-handle-size will need to be removed here once it's defined in @adobe/spectrum-tokens */
|
|
31
|
+
--spectrum-color-handle-size: 16px;
|
|
32
|
+
|
|
33
|
+
--spectrum-menu-item-selectable-edge-to-text-not-selected-small: 28px;
|
|
34
|
+
--spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 32px;
|
|
35
|
+
--spectrum-menu-item-selectable-edge-to-text-not-selected-large: 38px;
|
|
36
|
+
--spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 45px;
|
|
37
|
+
|
|
38
|
+
--spectrum-menu-item-checkmark-height-small: 10px;
|
|
39
|
+
--spectrum-menu-item-checkmark-height-medium: 10px;
|
|
40
|
+
--spectrum-menu-item-checkmark-height-large: 12px;
|
|
41
|
+
--spectrum-menu-item-checkmark-height-extra-large: 14px;
|
|
42
|
+
|
|
43
|
+
--spectrum-menu-item-checkmark-width-small: 10px;
|
|
44
|
+
--spectrum-menu-item-checkmark-width-medium: 10px;
|
|
45
|
+
--spectrum-menu-item-checkmark-width-large: 12px;
|
|
46
|
+
--spectrum-menu-item-checkmark-width-extra-large: 14px;
|
|
25
47
|
}
|
|
@@ -24,6 +24,10 @@ governing permissions and limitations under the License.
|
|
|
24
24
|
);
|
|
25
25
|
--spectrum-slider-track-thickness: 2px;
|
|
26
26
|
--spectrum-slider-handle-gap: 4px;
|
|
27
|
+
--spectrum-color-loupe-height: 64px;
|
|
28
|
+
--spectrum-color-loupe-width: 48px;
|
|
29
|
+
--spectrum-color-loupe-bottom-to-color-handle: 12px;
|
|
30
|
+
--spectrum-color-loupe-inner-border-width: var(--spectrum-border-width-200);
|
|
27
31
|
--spectrum-border-width-100: 1px;
|
|
28
32
|
--spectrum-accent-color-100: var(--spectrum-blue-100);
|
|
29
33
|
--spectrum-accent-color-200: var(--spectrum-blue-200);
|
|
@@ -1258,7 +1262,6 @@ governing permissions and limitations under the License.
|
|
|
1258
1262
|
|
|
1259
1263
|
:host,
|
|
1260
1264
|
:root {
|
|
1261
|
-
--system-spectrum-picker-border-size: var(--spectrum-border-width-100);
|
|
1262
1265
|
--system-spectrum-picker-background-color-default: var(--spectrum-gray-75);
|
|
1263
1266
|
--system-spectrum-picker-background-color-default-open: var(
|
|
1264
1267
|
--spectrum-gray-200
|
|
@@ -56,10 +56,6 @@ governing permissions and limitations under the License.
|
|
|
56
56
|
--spectrum-slider-bottom-to-handle-medium: 8px;
|
|
57
57
|
--spectrum-slider-bottom-to-handle-large: 11px;
|
|
58
58
|
--spectrum-slider-bottom-to-handle-extra-large: 14px;
|
|
59
|
-
--spectrum-color-loupe-height: 64px;
|
|
60
|
-
--spectrum-color-loupe-width: 48px;
|
|
61
|
-
--spectrum-color-loupe-bottom-to-color-handle: 12px;
|
|
62
|
-
--spectrum-color-loupe-inner-border-width: var(--spectrum-border-width-200);
|
|
63
59
|
--spectrum-corner-radius-75: 2px;
|
|
64
60
|
--spectrum-corner-radius-100: 4px;
|
|
65
61
|
--spectrum-corner-radius-200: 8px;
|