@spectrum-web-components/styles 0.20.0 → 0.21.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/README.md +15 -15
- package/core-global.css +3 -3263
- package/express/core-global.css +3 -3283
- package/express/spectrum-core-global.css +3267 -0
- package/express/spectrum-scale-large.css +0 -6
- package/express/spectrum-scale-medium.css +0 -6
- package/fonts.css +2 -34
- package/package.json +4 -4
- package/spectrum-core-global.css +3247 -0
- package/spectrum-scale-large.css +0 -6
- package/spectrum-scale-medium.css +0 -6
- package/src/spectrum-base.css +1 -0
- package/src/spectrum-body.css +25 -0
- package/src/spectrum-code.css +18 -0
- package/src/spectrum-detail.css +33 -0
- package/src/spectrum-heading.css +46 -0
- package/src/spectrum-lang.css +121 -0
- package/src/spectrum-typography.css +14 -0
- package/tokens/express/custom-large-vars.css +2 -3
- package/tokens/express/custom-medium-vars.css +2 -3
- package/tokens/express/custom-vars.css +2 -3
- package/tokens/express/global-vars.css +6 -4
- package/tokens/express/large-vars.css +24 -0
- package/tokens/express/medium-vars.css +24 -0
- package/tokens/global-vars.css +39 -7
- package/tokens/large-vars.css +71 -6
- package/tokens/light-vars.css +2 -2
- package/tokens/medium-vars.css +71 -6
- package/tokens/spectrum/custom-large-vars.css +6 -7
- package/tokens/spectrum/custom-medium-vars.css +6 -7
- package/tokens/spectrum/custom-vars.css +23 -28
- package/tokens/spectrum/global-vars.css +6 -4
- package/tokens/spectrum/large-vars.css +24 -0
- package/tokens/spectrum/medium-vars.css +24 -0
|
@@ -21,6 +21,7 @@ governing permissions and limitations under the License.
|
|
|
21
21
|
var(--spectrum-alias-heading-xxxl-margin-top)
|
|
22
22
|
); /* .spectrum-Typography .spectrum-Heading--sizeXXXL */
|
|
23
23
|
}
|
|
24
|
+
|
|
24
25
|
.spectrum-Typography .spectrum-Heading--sizeXXL {
|
|
25
26
|
margin-bottom: var(
|
|
26
27
|
--spectrum-heading-xxl-margin-bottom,
|
|
@@ -31,6 +32,7 @@ governing permissions and limitations under the License.
|
|
|
31
32
|
var(--spectrum-alias-heading-xxl-margin-top)
|
|
32
33
|
); /* .spectrum-Typography .spectrum-Heading--sizeXXL */
|
|
33
34
|
}
|
|
35
|
+
|
|
34
36
|
.spectrum-Typography .spectrum-Heading--sizeXL {
|
|
35
37
|
margin-bottom: var(
|
|
36
38
|
--spectrum-heading-xl-margin-bottom,
|
|
@@ -41,6 +43,7 @@ governing permissions and limitations under the License.
|
|
|
41
43
|
var(--spectrum-alias-heading-xl-margin-top)
|
|
42
44
|
); /* .spectrum-Typography .spectrum-Heading--sizeXL */
|
|
43
45
|
}
|
|
46
|
+
|
|
44
47
|
.spectrum-Typography .spectrum-Heading--sizeL {
|
|
45
48
|
margin-bottom: var(
|
|
46
49
|
--spectrum-heading-l-margin-bottom,
|
|
@@ -51,6 +54,7 @@ governing permissions and limitations under the License.
|
|
|
51
54
|
var(--spectrum-alias-heading-l-margin-top)
|
|
52
55
|
); /* .spectrum-Typography .spectrum-Heading--sizeL */
|
|
53
56
|
}
|
|
57
|
+
|
|
54
58
|
.spectrum-Typography .spectrum-Heading--sizeM {
|
|
55
59
|
margin-bottom: var(
|
|
56
60
|
--spectrum-heading-m-margin-bottom,
|
|
@@ -61,6 +65,7 @@ governing permissions and limitations under the License.
|
|
|
61
65
|
var(--spectrum-alias-heading-m-margin-top)
|
|
62
66
|
); /* .spectrum-Typography .spectrum-Heading--sizeM */
|
|
63
67
|
}
|
|
68
|
+
|
|
64
69
|
.spectrum-Typography .spectrum-Heading--sizeS {
|
|
65
70
|
margin-bottom: var(
|
|
66
71
|
--spectrum-heading-s-margin-bottom,
|
|
@@ -71,6 +76,7 @@ governing permissions and limitations under the License.
|
|
|
71
76
|
var(--spectrum-alias-heading-s-margin-top)
|
|
72
77
|
); /* .spectrum-Typography .spectrum-Heading--sizeS */
|
|
73
78
|
}
|
|
79
|
+
|
|
74
80
|
.spectrum-Typography .spectrum-Heading--sizeXS {
|
|
75
81
|
margin-bottom: var(
|
|
76
82
|
--spectrum-heading-xs-margin-bottom,
|
|
@@ -81,6 +87,7 @@ governing permissions and limitations under the License.
|
|
|
81
87
|
var(--spectrum-alias-heading-xs-margin-top)
|
|
82
88
|
); /* .spectrum-Typography .spectrum-Heading--sizeXS */
|
|
83
89
|
}
|
|
90
|
+
|
|
84
91
|
.spectrum-Typography .spectrum-Heading--sizeXXS {
|
|
85
92
|
margin-bottom: var(
|
|
86
93
|
--spectrum-heading-xxs-margin-bottom,
|
|
@@ -91,6 +98,7 @@ governing permissions and limitations under the License.
|
|
|
91
98
|
var(--spectrum-alias-heading-xxs-margin-top)
|
|
92
99
|
); /* .spectrum-Typography .spectrum-Heading--sizeXXS */
|
|
93
100
|
}
|
|
101
|
+
|
|
94
102
|
.spectrum-Typography .spectrum-Body--sizeXXXL {
|
|
95
103
|
margin-bottom: var(
|
|
96
104
|
--spectrum-body-xxxl-margin-bottom,
|
|
@@ -101,6 +109,7 @@ governing permissions and limitations under the License.
|
|
|
101
109
|
0
|
|
102
110
|
); /* .spectrum-Typography .spectrum-Body--sizeXXXL */
|
|
103
111
|
}
|
|
112
|
+
|
|
104
113
|
.spectrum-Typography .spectrum-Body--sizeXXL {
|
|
105
114
|
margin-bottom: var(
|
|
106
115
|
--spectrum-body-xxl-margin-bottom,
|
|
@@ -111,6 +120,7 @@ governing permissions and limitations under the License.
|
|
|
111
120
|
0
|
|
112
121
|
); /* .spectrum-Typography .spectrum-Body--sizeXXL */
|
|
113
122
|
}
|
|
123
|
+
|
|
114
124
|
.spectrum-Typography .spectrum-Body--sizeXL {
|
|
115
125
|
margin-bottom: var(
|
|
116
126
|
--spectrum-body-xl-margin-bottom,
|
|
@@ -121,6 +131,7 @@ governing permissions and limitations under the License.
|
|
|
121
131
|
0
|
|
122
132
|
); /* .spectrum-Typography .spectrum-Body--sizeXL */
|
|
123
133
|
}
|
|
134
|
+
|
|
124
135
|
.spectrum-Typography .spectrum-Body--sizeL {
|
|
125
136
|
margin-bottom: var(
|
|
126
137
|
--spectrum-body-l-margin-bottom,
|
|
@@ -131,6 +142,7 @@ governing permissions and limitations under the License.
|
|
|
131
142
|
0
|
|
132
143
|
); /* .spectrum-Typography .spectrum-Body--sizeL */
|
|
133
144
|
}
|
|
145
|
+
|
|
134
146
|
.spectrum-Typography .spectrum-Body--sizeM {
|
|
135
147
|
margin-bottom: var(
|
|
136
148
|
--spectrum-body-m-margin-bottom,
|
|
@@ -141,6 +153,7 @@ governing permissions and limitations under the License.
|
|
|
141
153
|
0
|
|
142
154
|
); /* .spectrum-Typography .spectrum-Body--sizeM */
|
|
143
155
|
}
|
|
156
|
+
|
|
144
157
|
.spectrum-Typography .spectrum-Body--sizeS {
|
|
145
158
|
margin-bottom: var(
|
|
146
159
|
--spectrum-body-s-margin-bottom,
|
|
@@ -151,6 +164,7 @@ governing permissions and limitations under the License.
|
|
|
151
164
|
0
|
|
152
165
|
); /* .spectrum-Typography .spectrum-Body--sizeS */
|
|
153
166
|
}
|
|
167
|
+
|
|
154
168
|
.spectrum-Typography .spectrum-Body--sizeXS {
|
|
155
169
|
margin-bottom: var(
|
|
156
170
|
--spectrum-body-xs-margin-bottom,
|
|
@@ -29,6 +29,8 @@ governing permissions and limitations under the License.
|
|
|
29
29
|
--spectrum-heading: var(--spectrum-font-black-default);
|
|
30
30
|
--spectrum-heading-emphasized: var(--spectrum-font-black-italic-default);
|
|
31
31
|
--spectrum-cjk-heading: var(--spectrum-font-black-cjk);
|
|
32
|
+
--spectrum-slider-track-thickness: 4px;
|
|
33
|
+
--spectrum-slider-handle-gap: 0px;
|
|
32
34
|
--spectrum-border-width-100: 2px;
|
|
33
35
|
}
|
|
34
36
|
:host,
|
|
@@ -166,8 +168,8 @@ governing permissions and limitations under the License.
|
|
|
166
168
|
--system-spectrum-actionbutton-staticblack-content-color-focus: var(
|
|
167
169
|
--spectrum-black
|
|
168
170
|
);
|
|
169
|
-
--system-spectrum-actionbutton-staticblack-focus-
|
|
170
|
-
--spectrum-static-black-focus-
|
|
171
|
+
--system-spectrum-actionbutton-staticblack-focus-indicator-color: var(
|
|
172
|
+
--spectrum-static-black-focus-indicator-color
|
|
171
173
|
);
|
|
172
174
|
--system-spectrum-actionbutton-staticblack-background-color-disabled: transparent;
|
|
173
175
|
--system-spectrum-actionbutton-staticblack-border-color-disabled: var(
|
|
@@ -232,8 +234,8 @@ governing permissions and limitations under the License.
|
|
|
232
234
|
--system-spectrum-actionbutton-staticwhite-content-color-focus: var(
|
|
233
235
|
--spectrum-white
|
|
234
236
|
);
|
|
235
|
-
--system-spectrum-actionbutton-staticwhite-focus-
|
|
236
|
-
--spectrum-static-white-focus-
|
|
237
|
+
--system-spectrum-actionbutton-staticwhite-focus-indicator-color: var(
|
|
238
|
+
--spectrum-static-white-focus-indicator-color
|
|
237
239
|
);
|
|
238
240
|
--system-spectrum-actionbutton-staticwhite-background-color-disabled: transparent;
|
|
239
241
|
--system-spectrum-actionbutton-staticwhite-border-color-disabled: var(
|
|
@@ -40,6 +40,30 @@ governing permissions and limitations under the License.
|
|
|
40
40
|
--spectrum-switch-top-to-control-medium: 10px;
|
|
41
41
|
--spectrum-switch-top-to-control-large: 14px;
|
|
42
42
|
--spectrum-switch-top-to-control-extra-large: 17px;
|
|
43
|
+
--spectrum-slider-control-height-small: 22px;
|
|
44
|
+
--spectrum-slider-control-height-medium: 24px;
|
|
45
|
+
--spectrum-slider-control-height-large: 28px;
|
|
46
|
+
--spectrum-slider-control-height-extra-large: 30px;
|
|
47
|
+
--spectrum-slider-handle-size-small: 22px;
|
|
48
|
+
--spectrum-slider-handle-size-medium: 24px;
|
|
49
|
+
--spectrum-slider-handle-size-large: 28px;
|
|
50
|
+
--spectrum-slider-handle-size-extra-large: 30px;
|
|
51
|
+
--spectrum-slider-handle-border-width-down-small: var(
|
|
52
|
+
--spectrum-border-width-200
|
|
53
|
+
);
|
|
54
|
+
--spectrum-slider-handle-border-width-down-medium: var(
|
|
55
|
+
--spectrum-border-width-200
|
|
56
|
+
);
|
|
57
|
+
--spectrum-slider-handle-border-width-down-large: var(
|
|
58
|
+
--spectrum-border-width-200
|
|
59
|
+
);
|
|
60
|
+
--spectrum-slider-handle-border-width-down-extra-large: var(
|
|
61
|
+
--spectrum-border-width-200
|
|
62
|
+
);
|
|
63
|
+
--spectrum-slider-bottom-to-handle-small: 4px;
|
|
64
|
+
--spectrum-slider-bottom-to-handle-medium: 8px;
|
|
65
|
+
--spectrum-slider-bottom-to-handle-large: 12px;
|
|
66
|
+
--spectrum-slider-bottom-to-handle-extra-large: 15px;
|
|
43
67
|
--spectrum-corner-radius-75: 4px;
|
|
44
68
|
--spectrum-corner-radius-100: 8px;
|
|
45
69
|
--spectrum-corner-radius-200: 16px;
|
|
@@ -40,6 +40,30 @@ governing permissions and limitations under the License.
|
|
|
40
40
|
--spectrum-switch-top-to-control-medium: 8px;
|
|
41
41
|
--spectrum-switch-top-to-control-large: 11px;
|
|
42
42
|
--spectrum-switch-top-to-control-extra-large: 14px;
|
|
43
|
+
--spectrum-slider-control-height-small: 18px;
|
|
44
|
+
--spectrum-slider-control-height-medium: 20px;
|
|
45
|
+
--spectrum-slider-control-height-large: 22px;
|
|
46
|
+
--spectrum-slider-control-height-extra-large: 24px;
|
|
47
|
+
--spectrum-slider-handle-size-small: 18px;
|
|
48
|
+
--spectrum-slider-handle-size-medium: 20px;
|
|
49
|
+
--spectrum-slider-handle-size-large: 22px;
|
|
50
|
+
--spectrum-slider-handle-size-extra-large: 24px;
|
|
51
|
+
--spectrum-slider-handle-border-width-down-small: var(
|
|
52
|
+
--spectrum-border-width-200
|
|
53
|
+
);
|
|
54
|
+
--spectrum-slider-handle-border-width-down-medium: var(
|
|
55
|
+
--spectrum-border-width-200
|
|
56
|
+
);
|
|
57
|
+
--spectrum-slider-handle-border-width-down-large: var(
|
|
58
|
+
--spectrum-border-width-200
|
|
59
|
+
);
|
|
60
|
+
--spectrum-slider-handle-border-width-down-extra-large: var(
|
|
61
|
+
--spectrum-border-width-200
|
|
62
|
+
);
|
|
63
|
+
--spectrum-slider-bottom-to-handle-small: 3px;
|
|
64
|
+
--spectrum-slider-bottom-to-handle-medium: 6px;
|
|
65
|
+
--spectrum-slider-bottom-to-handle-large: 9px;
|
|
66
|
+
--spectrum-slider-bottom-to-handle-extra-large: 12px;
|
|
43
67
|
--spectrum-corner-radius-75: 3px;
|
|
44
68
|
--spectrum-corner-radius-100: 6px;
|
|
45
69
|
--spectrum-corner-radius-200: 12px;
|
package/tokens/global-vars.css
CHANGED
|
@@ -12,6 +12,7 @@ governing permissions and limitations under the License.
|
|
|
12
12
|
|
|
13
13
|
:host,
|
|
14
14
|
:root {
|
|
15
|
+
--spectrum-transparent-white-100: rgba(255, 255, 255, 0);
|
|
15
16
|
--spectrum-transparent-white-200: rgba(255, 255, 255, 0.1);
|
|
16
17
|
--spectrum-transparent-white-300: rgba(255, 255, 255, 0.25);
|
|
17
18
|
--spectrum-transparent-white-400: rgba(255, 255, 255, 0.4);
|
|
@@ -20,6 +21,7 @@ governing permissions and limitations under the License.
|
|
|
20
21
|
--spectrum-transparent-white-700: rgba(255, 255, 255, 0.8);
|
|
21
22
|
--spectrum-transparent-white-800: rgba(255, 255, 255, 0.9);
|
|
22
23
|
--spectrum-transparent-white-900: rgb(255, 255, 255);
|
|
24
|
+
--spectrum-transparent-black-100: rgba(0, 0, 0, 0);
|
|
23
25
|
--spectrum-transparent-black-200: rgba(0, 0, 0, 0.1);
|
|
24
26
|
--spectrum-transparent-black-300: rgba(0, 0, 0, 0.25);
|
|
25
27
|
--spectrum-transparent-black-400: rgba(0, 0, 0, 0.4);
|
|
@@ -29,9 +31,8 @@ governing permissions and limitations under the License.
|
|
|
29
31
|
--spectrum-transparent-black-800: rgba(0, 0, 0, 0.9);
|
|
30
32
|
--spectrum-transparent-black-900: rgb(0, 0, 0);
|
|
31
33
|
--spectrum-focus-indicator-color: var(--spectrum-blue-800);
|
|
32
|
-
--spectrum-focus-
|
|
33
|
-
--spectrum-static-
|
|
34
|
-
--spectrum-static-black-focus-ring-color: var(--spectrum-black);
|
|
34
|
+
--spectrum-static-white-focus-indicator-color: var(--spectrum-white);
|
|
35
|
+
--spectrum-static-black-focus-indicator-color: var(--spectrum-black);
|
|
35
36
|
--spectrum-overlay-color: var(--spectrum-black);
|
|
36
37
|
--spectrum-neutral-content-color-default: var(--spectrum-gray-800);
|
|
37
38
|
--spectrum-neutral-content-color-hover: var(--spectrum-gray-900);
|
|
@@ -43,13 +44,15 @@ governing permissions and limitations under the License.
|
|
|
43
44
|
--spectrum-neutral-subdued-content-color-key-focus: var(
|
|
44
45
|
--spectrum-gray-800
|
|
45
46
|
);
|
|
46
|
-
--spectrum-accent-content-color: var(--spectrum-accent-color-900);
|
|
47
|
+
--spectrum-accent-content-color-default: var(--spectrum-accent-color-900);
|
|
47
48
|
--spectrum-accent-content-color-hover: var(--spectrum-accent-color-1000);
|
|
48
49
|
--spectrum-accent-content-color-down: var(--spectrum-accent-color-1100);
|
|
49
50
|
--spectrum-accent-content-color-key-focus: var(
|
|
50
51
|
--spectrum-accent-color-1000
|
|
51
52
|
);
|
|
52
|
-
--spectrum-negative-content-color: var(
|
|
53
|
+
--spectrum-negative-content-color-default: var(
|
|
54
|
+
--spectrum-negative-color-900
|
|
55
|
+
);
|
|
53
56
|
--spectrum-negative-content-color-hover: var(
|
|
54
57
|
--spectrum-negative-color-1000
|
|
55
58
|
);
|
|
@@ -78,10 +81,19 @@ governing permissions and limitations under the License.
|
|
|
78
81
|
--spectrum-disabled-static-black-border-color: var(
|
|
79
82
|
--spectrum-transparent-black-300
|
|
80
83
|
);
|
|
84
|
+
--spectrum-opacity-disabled: 0.3;
|
|
81
85
|
--spectrum-background-opacity-default: 0;
|
|
82
86
|
--spectrum-background-opacity-hover: 0.1;
|
|
83
87
|
--spectrum-background-opacity-down: 0.1;
|
|
84
88
|
--spectrum-background-opacity-key-focus: 0.1;
|
|
89
|
+
--spectrum-negative-border-color-default: var(
|
|
90
|
+
--spectrum-negative-color-900
|
|
91
|
+
);
|
|
92
|
+
--spectrum-negative-border-color-hover: var(--spectrum-negative-color-1000);
|
|
93
|
+
--spectrum-negative-border-color-down: var(--spectrum-negative-color-1100);
|
|
94
|
+
--spectrum-negative-border-color-key-focus: var(
|
|
95
|
+
--spectrum-negative-color-1000
|
|
96
|
+
);
|
|
85
97
|
--spectrum-informative-color-100: var(--spectrum-blue-100);
|
|
86
98
|
--spectrum-informative-color-200: var(--spectrum-blue-200);
|
|
87
99
|
--spectrum-informative-color-300: var(--spectrum-blue-300);
|
|
@@ -140,10 +152,17 @@ governing permissions and limitations under the License.
|
|
|
140
152
|
--spectrum-positive-color-1400: var(--spectrum-green-1400);
|
|
141
153
|
--spectrum-black: rgb(0, 0, 0);
|
|
142
154
|
--spectrum-white: rgb(255, 255, 255);
|
|
155
|
+
--spectrum-swatch-border-color: var(--spectrum-gray-900);
|
|
156
|
+
--spectrum-swatch-border-opacity: 0.51;
|
|
157
|
+
--spectrum-swatch-disabled-icon-border-color: var(--spectrum-black);
|
|
158
|
+
--spectrum-swatch-disabled-icon-border-opacity: 0.51;
|
|
159
|
+
--spectrum-alert-dialog-minimum-width: 288px;
|
|
160
|
+
--spectrum-alert-dialog-maximum-width: 480px;
|
|
143
161
|
--spectrum-button-minimum-width-multiplier: 2.25;
|
|
144
162
|
--spectrum-divider-thickness-small: 1px;
|
|
145
163
|
--spectrum-divider-thickness-medium: 2px;
|
|
146
164
|
--spectrum-divider-thickness-large: 4px;
|
|
165
|
+
--spectrum-field-label-to-component: 0px;
|
|
147
166
|
--spectrum-menu-item-label-to-description: 1px;
|
|
148
167
|
--spectrum-meter-minimum-width: 48px;
|
|
149
168
|
--spectrum-meter-maximum-width: 768px;
|
|
@@ -152,7 +171,10 @@ governing permissions and limitations under the License.
|
|
|
152
171
|
--spectrum-swatch-slash-thickness-small: 3px;
|
|
153
172
|
--spectrum-swatch-slash-thickness-medium: 4px;
|
|
154
173
|
--spectrum-swatch-slash-thickness-large: 5px;
|
|
174
|
+
--spectrum-progress-bar-minimum-width: 48px;
|
|
175
|
+
--spectrum-progress-bar-maximum-width: 768px;
|
|
155
176
|
--spectrum-radio-button-selection-indicator: 4px;
|
|
177
|
+
--spectrum-help-text-to-component: 0px;
|
|
156
178
|
--spectrum-popover-tip-width: 16px;
|
|
157
179
|
--spectrum-popover-tip-height: 8px;
|
|
158
180
|
--spectrum-sans-serif-heading-light: var(--spectrum-font-light-default);
|
|
@@ -270,6 +292,11 @@ governing permissions and limitations under the License.
|
|
|
270
292
|
--spectrum-code-size-xs: var(--spectrum-font-size-75);
|
|
271
293
|
--spectrum-code-line-height: var(--spectrum-line-height-200);
|
|
272
294
|
--spectrum-cjk-code-line-height: var(--spectrum-cjk-line-height-200);
|
|
295
|
+
--spectrum-picker-minimum-width-multiplier: 2;
|
|
296
|
+
--spectrum-text-field-minimum-width-multiplier: 1.5;
|
|
297
|
+
--spectrum-combo-box-minimum-width-multiplier: 2.5;
|
|
298
|
+
--spectrum-combo-box-quiet-minimum-width-multiplier: 2;
|
|
299
|
+
--spectrum-combo-box-visual-to-field-button-quiet: 0;
|
|
273
300
|
--spectrum-android-elevation: 2dp;
|
|
274
301
|
--spectrum-spacing-50: 2px;
|
|
275
302
|
--spectrum-spacing-75: 4px;
|
|
@@ -283,9 +310,10 @@ governing permissions and limitations under the License.
|
|
|
283
310
|
--spectrum-spacing-800: 64px;
|
|
284
311
|
--spectrum-spacing-900: 80px;
|
|
285
312
|
--spectrum-spacing-1000: 96px;
|
|
286
|
-
--spectrum-focus-
|
|
287
|
-
--spectrum-focus-
|
|
313
|
+
--spectrum-focus-indicator-thickness: 2px;
|
|
314
|
+
--spectrum-focus-indicator-gap: 2px;
|
|
288
315
|
--spectrum-border-width-200: 2px;
|
|
316
|
+
--spectrum-border-width-400: 4px;
|
|
289
317
|
--spectrum-line-height-100: 1.3;
|
|
290
318
|
--spectrum-line-height-200: 1.5;
|
|
291
319
|
--spectrum-font-family-default: var(--spectrum-font-family-sans-serif);
|
|
@@ -326,4 +354,8 @@ governing permissions and limitations under the License.
|
|
|
326
354
|
--spectrum-cjk-letter-spacing: 0.05em;
|
|
327
355
|
--spectrum-cjk-line-height-100: 1.5;
|
|
328
356
|
--spectrum-cjk-line-height-200: 1.7;
|
|
357
|
+
--spectrum-field-edge-to-text-quiet: 0px;
|
|
358
|
+
--spectrum-field-edge-to-border-quiet: 0px;
|
|
359
|
+
--spectrum-field-edge-to-alert-icon-quiet: 0px;
|
|
360
|
+
--spectrum-field-edge-to-validation-icon-quiet: 0px;
|
|
329
361
|
}
|
package/tokens/large-vars.css
CHANGED
|
@@ -59,6 +59,10 @@ governing permissions and limitations under the License.
|
|
|
59
59
|
--spectrum-component-bottom-to-text-100: 11px;
|
|
60
60
|
--spectrum-component-bottom-to-text-200: 14px;
|
|
61
61
|
--spectrum-component-bottom-to-text-300: 18px;
|
|
62
|
+
--spectrum-component-to-menu-small: 7px;
|
|
63
|
+
--spectrum-component-to-menu-medium: 8px;
|
|
64
|
+
--spectrum-component-to-menu-large: 9px;
|
|
65
|
+
--spectrum-component-to-menu-extra-large: 10px;
|
|
62
66
|
--spectrum-action-bar-height: 56px;
|
|
63
67
|
--spectrum-action-bar-top-to-item-counter: 16px;
|
|
64
68
|
--spectrum-action-button-edge-to-hold-icon-extra-small: 3px;
|
|
@@ -78,6 +82,10 @@ governing permissions and limitations under the License.
|
|
|
78
82
|
--spectrum-field-label-top-margin-medium: 5px;
|
|
79
83
|
--spectrum-field-label-top-margin-large: 5px;
|
|
80
84
|
--spectrum-field-label-top-margin-extra-large: 5px;
|
|
85
|
+
--spectrum-field-label-to-component-quiet-small: -10px;
|
|
86
|
+
--spectrum-field-label-to-component-quiet-medium: -10px;
|
|
87
|
+
--spectrum-field-label-to-component-quiet-large: -15px;
|
|
88
|
+
--spectrum-field-label-to-component-quiet-extra-large: -19px;
|
|
81
89
|
--spectrum-help-text-top-to-workflow-icon-small: 5px;
|
|
82
90
|
--spectrum-help-text-top-to-workflow-icon-medium: 4px;
|
|
83
91
|
--spectrum-help-text-top-to-workflow-icon-large: 8px;
|
|
@@ -87,10 +95,10 @@ governing permissions and limitations under the License.
|
|
|
87
95
|
--spectrum-menu-item-edge-to-content-not-selected-medium: 42px;
|
|
88
96
|
--spectrum-menu-item-edge-to-content-not-selected-large: 47px;
|
|
89
97
|
--spectrum-menu-item-edge-to-content-not-selected-extra-large: 54px;
|
|
90
|
-
--spectrum-menu-item-top-to-
|
|
91
|
-
--spectrum-menu-item-top-to-
|
|
92
|
-
--spectrum-menu-item-top-to-
|
|
93
|
-
--spectrum-menu-item-top-to-
|
|
98
|
+
--spectrum-menu-item-top-to-disclosure-icon-small: 9px;
|
|
99
|
+
--spectrum-menu-item-top-to-disclosure-icon-medium: 13px;
|
|
100
|
+
--spectrum-menu-item-top-to-disclosure-icon-large: 17px;
|
|
101
|
+
--spectrum-menu-item-top-to-disclosure-icon-extra-large: 22px;
|
|
94
102
|
--spectrum-meter-default-width: 240px;
|
|
95
103
|
--spectrum-meter-thickness-small: 5px;
|
|
96
104
|
--spectrum-meter-thickness-medium: 8px;
|
|
@@ -98,8 +106,6 @@ governing permissions and limitations under the License.
|
|
|
98
106
|
--spectrum-swatch-size-small: 30px;
|
|
99
107
|
--spectrum-swatch-size-medium: 40px;
|
|
100
108
|
--spectrum-swatch-size-large: 50px;
|
|
101
|
-
--spectrum-progress-bar-minimum-width: 48px;
|
|
102
|
-
--spectrum-progress-bar-maximum-width: 768px;
|
|
103
109
|
--spectrum-progress-bar-thickness-small: 5px;
|
|
104
110
|
--spectrum-progress-bar-thickness-medium: 8px;
|
|
105
111
|
--spectrum-progress-bar-thickness-large: 10px;
|
|
@@ -131,7 +137,21 @@ governing permissions and limitations under the License.
|
|
|
131
137
|
--spectrum-tag-top-to-cross-icon-small: 10px;
|
|
132
138
|
--spectrum-tag-top-to-cross-icon-medium: 15px;
|
|
133
139
|
--spectrum-tag-top-to-cross-icon-large: 19px;
|
|
140
|
+
--spectrum-thumbnail-size-50: 20px;
|
|
141
|
+
--spectrum-thumbnail-size-75: 22px;
|
|
142
|
+
--spectrum-thumbnail-size-100: 26px;
|
|
143
|
+
--spectrum-thumbnail-size-200: 28px;
|
|
144
|
+
--spectrum-thumbnail-size-300: 32px;
|
|
145
|
+
--spectrum-thumbnail-size-400: 36px;
|
|
146
|
+
--spectrum-thumbnail-size-500: 40px;
|
|
147
|
+
--spectrum-thumbnail-size-600: 46px;
|
|
148
|
+
--spectrum-thumbnail-size-700: 50px;
|
|
149
|
+
--spectrum-thumbnail-size-800: 55px;
|
|
150
|
+
--spectrum-thumbnail-size-900: 62px;
|
|
151
|
+
--spectrum-thumbnail-size-1000: 70px;
|
|
134
152
|
--spectrum-popover-top-to-content-area: 5px;
|
|
153
|
+
--spectrum-text-area-minimum-width: 140px;
|
|
154
|
+
--spectrum-text-area-minimum-height: 70px;
|
|
135
155
|
--spectrum-font-size-50: 13px;
|
|
136
156
|
--spectrum-font-size-75: 15px;
|
|
137
157
|
--spectrum-font-size-100: 17px;
|
|
@@ -161,4 +181,49 @@ governing permissions and limitations under the License.
|
|
|
161
181
|
--spectrum-text-to-control-100: 13px;
|
|
162
182
|
--spectrum-text-to-control-200: 14px;
|
|
163
183
|
--spectrum-text-to-control-300: 16px;
|
|
184
|
+
--spectrum-field-edge-to-disclosure-icon-75: 9px;
|
|
185
|
+
--spectrum-field-edge-to-disclosure-icon-100: 13px;
|
|
186
|
+
--spectrum-field-edge-to-disclosure-icon-200: 17px;
|
|
187
|
+
--spectrum-field-edge-to-disclosure-icon-300: 22px;
|
|
188
|
+
--spectrum-field-top-to-alert-icon-small: 5px;
|
|
189
|
+
--spectrum-field-top-to-alert-icon-medium: 9px;
|
|
190
|
+
--spectrum-field-top-to-alert-icon-large: 13px;
|
|
191
|
+
--spectrum-field-top-to-alert-icon-extra-large: 16px;
|
|
192
|
+
--spectrum-field-top-to-validation-icon-small: 9px;
|
|
193
|
+
--spectrum-field-top-to-validation-icon-medium: 13px;
|
|
194
|
+
--spectrum-field-top-to-validation-icon-large: 17px;
|
|
195
|
+
--spectrum-field-top-to-validation-icon-extra-large: 22px;
|
|
196
|
+
--spectrum-field-top-to-progress-circle-small: 7px;
|
|
197
|
+
--spectrum-field-top-to-progress-circle-medium: 12px;
|
|
198
|
+
--spectrum-field-top-to-progress-circle-large: 17px;
|
|
199
|
+
--spectrum-field-top-to-progress-circle-extra-large: 22px;
|
|
200
|
+
--spectrum-field-edge-to-alert-icon-small: 11px;
|
|
201
|
+
--spectrum-field-edge-to-alert-icon-medium: 15px;
|
|
202
|
+
--spectrum-field-edge-to-alert-icon-large: 19px;
|
|
203
|
+
--spectrum-field-edge-to-alert-icon-extra-large: 22px;
|
|
204
|
+
--spectrum-field-edge-to-validation-icon-small: 11px;
|
|
205
|
+
--spectrum-field-edge-to-validation-icon-medium: 15px;
|
|
206
|
+
--spectrum-field-edge-to-validation-icon-large: 19px;
|
|
207
|
+
--spectrum-field-edge-to-validation-icon-extra-large: 22px;
|
|
208
|
+
--spectrum-field-text-to-alert-icon-small: 10px;
|
|
209
|
+
--spectrum-field-text-to-alert-icon-medium: 15px;
|
|
210
|
+
--spectrum-field-text-to-alert-icon-large: 19px;
|
|
211
|
+
--spectrum-field-text-to-alert-icon-extra-large: 22px;
|
|
212
|
+
--spectrum-field-text-to-validation-icon-small: 10px;
|
|
213
|
+
--spectrum-field-text-to-validation-icon-medium: 15px;
|
|
214
|
+
--spectrum-field-text-to-validation-icon-large: 19px;
|
|
215
|
+
--spectrum-field-text-to-validation-icon-extra-large: 22px;
|
|
216
|
+
--spectrum-character-count-to-field-quiet-small: -4px;
|
|
217
|
+
--spectrum-character-count-to-field-quiet-medium: -4px;
|
|
218
|
+
--spectrum-character-count-to-field-quiet-large: -4px;
|
|
219
|
+
--spectrum-character-count-to-field-quiet-extra-large: -5px;
|
|
220
|
+
--spectrum-side-label-character-count-to-field: 15px;
|
|
221
|
+
--spectrum-side-label-character-count-top-margin-small: 5px;
|
|
222
|
+
--spectrum-side-label-character-count-top-margin-medium: 10px;
|
|
223
|
+
--spectrum-side-label-character-count-top-margin-large: 13px;
|
|
224
|
+
--spectrum-side-label-character-count-top-margin-extra-large: 17px;
|
|
225
|
+
--spectrum-disclosure-indicator-top-to-disclosure-icon-small: 9px;
|
|
226
|
+
--spectrum-disclosure-indicator-top-to-disclosure-icon-medium: 13px;
|
|
227
|
+
--spectrum-disclosure-indicator-top-to-disclosure-icon-large: 17px;
|
|
228
|
+
--spectrum-disclosure-indicator-top-to-disclosure-icon-extra-large: 22px;
|
|
164
229
|
}
|
package/tokens/light-vars.css
CHANGED
|
@@ -89,11 +89,11 @@ governing permissions and limitations under the License.
|
|
|
89
89
|
--spectrum-accent-visual-color: var(--spectrum-accent-color-800);
|
|
90
90
|
--spectrum-informative-visual-color: var(--spectrum-informative-color-800);
|
|
91
91
|
--spectrum-negative-visual-color: var(--spectrum-negative-color-800);
|
|
92
|
-
--spectrum-notice-visual-color: var(--spectrum-notice-color-
|
|
92
|
+
--spectrum-notice-visual-color: var(--spectrum-notice-color-700);
|
|
93
93
|
--spectrum-positive-visual-color: var(--spectrum-positive-color-700);
|
|
94
94
|
--spectrum-gray-visual-color: var(--spectrum-gray-500);
|
|
95
95
|
--spectrum-red-visual-color: var(--spectrum-red-800);
|
|
96
|
-
--spectrum-orange-visual-color: var(--spectrum-orange-
|
|
96
|
+
--spectrum-orange-visual-color: var(--spectrum-orange-700);
|
|
97
97
|
--spectrum-yellow-visual-color: var(--spectrum-yellow-600);
|
|
98
98
|
--spectrum-chartreuse-visual-color: var(--spectrum-chartreuse-600);
|
|
99
99
|
--spectrum-celery-visual-color: var(--spectrum-celery-700);
|
package/tokens/medium-vars.css
CHANGED
|
@@ -59,6 +59,10 @@ governing permissions and limitations under the License.
|
|
|
59
59
|
--spectrum-component-bottom-to-text-100: 9px;
|
|
60
60
|
--spectrum-component-bottom-to-text-200: 11px;
|
|
61
61
|
--spectrum-component-bottom-to-text-300: 14px;
|
|
62
|
+
--spectrum-component-to-menu-small: 6px;
|
|
63
|
+
--spectrum-component-to-menu-medium: 6px;
|
|
64
|
+
--spectrum-component-to-menu-large: 7px;
|
|
65
|
+
--spectrum-component-to-menu-extra-large: 8px;
|
|
62
66
|
--spectrum-action-bar-height: 48px;
|
|
63
67
|
--spectrum-action-bar-top-to-item-counter: 14px;
|
|
64
68
|
--spectrum-action-button-edge-to-hold-icon-extra-small: 3px;
|
|
@@ -78,6 +82,10 @@ governing permissions and limitations under the License.
|
|
|
78
82
|
--spectrum-field-label-top-margin-medium: 4px;
|
|
79
83
|
--spectrum-field-label-top-margin-large: 4px;
|
|
80
84
|
--spectrum-field-label-top-margin-extra-large: 4px;
|
|
85
|
+
--spectrum-field-label-to-component-quiet-small: -8px;
|
|
86
|
+
--spectrum-field-label-to-component-quiet-medium: -8px;
|
|
87
|
+
--spectrum-field-label-to-component-quiet-large: -12px;
|
|
88
|
+
--spectrum-field-label-to-component-quiet-extra-large: -15px;
|
|
81
89
|
--spectrum-help-text-top-to-workflow-icon-small: 4px;
|
|
82
90
|
--spectrum-help-text-top-to-workflow-icon-medium: 3px;
|
|
83
91
|
--spectrum-help-text-top-to-workflow-icon-large: 6px;
|
|
@@ -87,10 +95,10 @@ governing permissions and limitations under the License.
|
|
|
87
95
|
--spectrum-menu-item-edge-to-content-not-selected-medium: 32px;
|
|
88
96
|
--spectrum-menu-item-edge-to-content-not-selected-large: 38px;
|
|
89
97
|
--spectrum-menu-item-edge-to-content-not-selected-extra-large: 45px;
|
|
90
|
-
--spectrum-menu-item-top-to-
|
|
91
|
-
--spectrum-menu-item-top-to-
|
|
92
|
-
--spectrum-menu-item-top-to-
|
|
93
|
-
--spectrum-menu-item-top-to-
|
|
98
|
+
--spectrum-menu-item-top-to-disclosure-icon-small: 7px;
|
|
99
|
+
--spectrum-menu-item-top-to-disclosure-icon-medium: 11px;
|
|
100
|
+
--spectrum-menu-item-top-to-disclosure-icon-large: 14px;
|
|
101
|
+
--spectrum-menu-item-top-to-disclosure-icon-extra-large: 17px;
|
|
94
102
|
--spectrum-meter-default-width: 192px;
|
|
95
103
|
--spectrum-meter-thickness-small: 4px;
|
|
96
104
|
--spectrum-meter-thickness-medium: 6px;
|
|
@@ -98,8 +106,6 @@ governing permissions and limitations under the License.
|
|
|
98
106
|
--spectrum-swatch-size-small: 24px;
|
|
99
107
|
--spectrum-swatch-size-medium: 32px;
|
|
100
108
|
--spectrum-swatch-size-large: 40px;
|
|
101
|
-
--spectrum-progress-bar-minimum-width: 48px;
|
|
102
|
-
--spectrum-progress-bar-maximum-width: 768px;
|
|
103
109
|
--spectrum-progress-bar-thickness-small: 4px;
|
|
104
110
|
--spectrum-progress-bar-thickness-medium: 6px;
|
|
105
111
|
--spectrum-progress-bar-thickness-large: 8px;
|
|
@@ -131,7 +137,21 @@ governing permissions and limitations under the License.
|
|
|
131
137
|
--spectrum-tag-top-to-cross-icon-small: 8px;
|
|
132
138
|
--spectrum-tag-top-to-cross-icon-medium: 12px;
|
|
133
139
|
--spectrum-tag-top-to-cross-icon-large: 15px;
|
|
140
|
+
--spectrum-thumbnail-size-50: 16px;
|
|
141
|
+
--spectrum-thumbnail-size-75: 18px;
|
|
142
|
+
--spectrum-thumbnail-size-100: 20px;
|
|
143
|
+
--spectrum-thumbnail-size-200: 22px;
|
|
144
|
+
--spectrum-thumbnail-size-300: 26px;
|
|
145
|
+
--spectrum-thumbnail-size-400: 28px;
|
|
146
|
+
--spectrum-thumbnail-size-500: 32px;
|
|
147
|
+
--spectrum-thumbnail-size-600: 36px;
|
|
148
|
+
--spectrum-thumbnail-size-700: 40px;
|
|
149
|
+
--spectrum-thumbnail-size-800: 44px;
|
|
150
|
+
--spectrum-thumbnail-size-900: 50px;
|
|
151
|
+
--spectrum-thumbnail-size-1000: 56px;
|
|
134
152
|
--spectrum-popover-top-to-content-area: 4px;
|
|
153
|
+
--spectrum-text-area-minimum-width: 112px;
|
|
154
|
+
--spectrum-text-area-minimum-height: 56px;
|
|
135
155
|
--spectrum-font-size-50: 11px;
|
|
136
156
|
--spectrum-font-size-75: 12px;
|
|
137
157
|
--spectrum-font-size-100: 14px;
|
|
@@ -161,4 +181,49 @@ governing permissions and limitations under the License.
|
|
|
161
181
|
--spectrum-text-to-control-100: 10px;
|
|
162
182
|
--spectrum-text-to-control-200: 11px;
|
|
163
183
|
--spectrum-text-to-control-300: 13px;
|
|
184
|
+
--spectrum-field-edge-to-disclosure-icon-75: 7px;
|
|
185
|
+
--spectrum-field-edge-to-disclosure-icon-100: 11px;
|
|
186
|
+
--spectrum-field-edge-to-disclosure-icon-200: 14px;
|
|
187
|
+
--spectrum-field-edge-to-disclosure-icon-300: 17px;
|
|
188
|
+
--spectrum-field-top-to-alert-icon-small: 4px;
|
|
189
|
+
--spectrum-field-top-to-alert-icon-medium: 7px;
|
|
190
|
+
--spectrum-field-top-to-alert-icon-large: 10px;
|
|
191
|
+
--spectrum-field-top-to-alert-icon-extra-large: 13px;
|
|
192
|
+
--spectrum-field-top-to-validation-icon-small: 7px;
|
|
193
|
+
--spectrum-field-top-to-validation-icon-medium: 11px;
|
|
194
|
+
--spectrum-field-top-to-validation-icon-large: 14px;
|
|
195
|
+
--spectrum-field-top-to-validation-icon-extra-large: 17px;
|
|
196
|
+
--spectrum-field-top-to-progress-circle-small: 4px;
|
|
197
|
+
--spectrum-field-top-to-progress-circle-medium: 8px;
|
|
198
|
+
--spectrum-field-top-to-progress-circle-large: 12px;
|
|
199
|
+
--spectrum-field-top-to-progress-circle-extra-large: 16px;
|
|
200
|
+
--spectrum-field-edge-to-alert-icon-small: 9px;
|
|
201
|
+
--spectrum-field-edge-to-alert-icon-medium: 12px;
|
|
202
|
+
--spectrum-field-edge-to-alert-icon-large: 15px;
|
|
203
|
+
--spectrum-field-edge-to-alert-icon-extra-large: 18px;
|
|
204
|
+
--spectrum-field-edge-to-validation-icon-small: 9px;
|
|
205
|
+
--spectrum-field-edge-to-validation-icon-medium: 12px;
|
|
206
|
+
--spectrum-field-edge-to-validation-icon-large: 15px;
|
|
207
|
+
--spectrum-field-edge-to-validation-icon-extra-large: 18px;
|
|
208
|
+
--spectrum-field-text-to-alert-icon-small: 8px;
|
|
209
|
+
--spectrum-field-text-to-alert-icon-medium: 12px;
|
|
210
|
+
--spectrum-field-text-to-alert-icon-large: 15px;
|
|
211
|
+
--spectrum-field-text-to-alert-icon-extra-large: 18px;
|
|
212
|
+
--spectrum-field-text-to-validation-icon-small: 8px;
|
|
213
|
+
--spectrum-field-text-to-validation-icon-medium: 12px;
|
|
214
|
+
--spectrum-field-text-to-validation-icon-large: 15px;
|
|
215
|
+
--spectrum-field-text-to-validation-icon-extra-large: 18px;
|
|
216
|
+
--spectrum-character-count-to-field-quiet-small: -3px;
|
|
217
|
+
--spectrum-character-count-to-field-quiet-medium: -3px;
|
|
218
|
+
--spectrum-character-count-to-field-quiet-large: -3px;
|
|
219
|
+
--spectrum-character-count-to-field-quiet-extra-large: -4px;
|
|
220
|
+
--spectrum-side-label-character-count-to-field: 12px;
|
|
221
|
+
--spectrum-side-label-character-count-top-margin-small: 4px;
|
|
222
|
+
--spectrum-side-label-character-count-top-margin-medium: 8px;
|
|
223
|
+
--spectrum-side-label-character-count-top-margin-large: 10px;
|
|
224
|
+
--spectrum-side-label-character-count-top-margin-extra-large: 13px;
|
|
225
|
+
--spectrum-disclosure-indicator-top-to-disclosure-icon-small: 7px;
|
|
226
|
+
--spectrum-disclosure-indicator-top-to-disclosure-icon-medium: 11px;
|
|
227
|
+
--spectrum-disclosure-indicator-top-to-disclosure-icon-large: 14px;
|
|
228
|
+
--spectrum-disclosure-indicator-top-to-disclosure-icon-extra-large: 17px;
|
|
164
229
|
}
|
|
@@ -12,11 +12,10 @@ 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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
--spectrum-edge-to-visual-only-300: 16px;
|
|
15
|
+
:host, :root {
|
|
16
|
+
/* edge-to-visual-only is used for icon-only buttons */
|
|
17
|
+
--spectrum-edge-to-visual-only-75: 5px;
|
|
18
|
+
--spectrum-edge-to-visual-only-100: 9px;
|
|
19
|
+
--spectrum-edge-to-visual-only-200: 13px;
|
|
20
|
+
--spectrum-edge-to-visual-only-300: 16px;
|
|
22
21
|
}
|
|
@@ -12,11 +12,10 @@ 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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
--spectrum-edge-to-visual-only-300: 13px;
|
|
15
|
+
:host, :root {
|
|
16
|
+
/* edge-to-visual-only is used for icon-only buttons */
|
|
17
|
+
--spectrum-edge-to-visual-only-75: 4px;
|
|
18
|
+
--spectrum-edge-to-visual-only-100: 7px;
|
|
19
|
+
--spectrum-edge-to-visual-only-200: 10px;
|
|
20
|
+
--spectrum-edge-to-visual-only-300: 13px;
|
|
22
21
|
}
|