@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
|
@@ -280,12 +280,6 @@ governing permissions and limitations under the License.
|
|
|
280
280
|
--spectrum-alias-avatar-size-100: 26px;
|
|
281
281
|
--spectrum-alias-avatar-size-400: 36px;
|
|
282
282
|
--spectrum-alias-avatar-size-600: 46px;
|
|
283
|
-
--spectrum-badge-s-neutral-textonly-text-padding-bottom: var(
|
|
284
|
-
--spectrum-global-dimension-static-size-85
|
|
285
|
-
);
|
|
286
|
-
--spectrum-badge-l-neutral-textonly-text-padding-top: var(
|
|
287
|
-
--spectrum-global-dimension-static-size-150
|
|
288
|
-
);
|
|
289
283
|
--spectrum-button-s-primary-fill-textonly-text-padding-bottom: var(
|
|
290
284
|
--spectrum-global-dimension-static-size-85
|
|
291
285
|
);
|
|
@@ -284,12 +284,6 @@ governing permissions and limitations under the License.
|
|
|
284
284
|
--spectrum-alias-avatar-size-100: var(--spectrum-global-dimension-size-250);
|
|
285
285
|
--spectrum-alias-avatar-size-400: var(--spectrum-global-dimension-size-350);
|
|
286
286
|
--spectrum-alias-avatar-size-600: var(--spectrum-global-dimension-size-450);
|
|
287
|
-
--spectrum-badge-s-neutral-textonly-text-padding-bottom: var(
|
|
288
|
-
--spectrum-global-dimension-static-size-65
|
|
289
|
-
);
|
|
290
|
-
--spectrum-badge-l-neutral-textonly-text-padding-top: var(
|
|
291
|
-
--spectrum-global-dimension-size-115
|
|
292
|
-
);
|
|
293
287
|
--spectrum-button-s-primary-fill-textonly-text-padding-bottom: var(
|
|
294
288
|
--spectrum-global-dimension-static-size-65
|
|
295
289
|
);
|
package/fonts.css
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
/*
|
|
2
3
|
Copyright 2019 Adobe. All rights reserved.
|
|
3
4
|
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -8,37 +9,4 @@ Unless required by applicable law or agreed to in writing, software distributed
|
|
|
8
9
|
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
10
|
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
11
|
governing permissions and limitations under the License.
|
|
11
|
-
|
|
12
|
-
:host,
|
|
13
|
-
:root {
|
|
14
|
-
font-family: var(--spectrum-alias-body-text-font-family);
|
|
15
|
-
font-size: var(--spectrum-alias-font-size-default);
|
|
16
|
-
}
|
|
17
|
-
:host:lang(ar),
|
|
18
|
-
:root:lang(ar) {
|
|
19
|
-
font-family: var(--spectrum-alias-font-family-ar);
|
|
20
|
-
}
|
|
21
|
-
:host:lang(he),
|
|
22
|
-
:root:lang(he) {
|
|
23
|
-
font-family: var(--spectrum-alias-font-family-he);
|
|
24
|
-
}
|
|
25
|
-
:host:lang(zh-Hans),
|
|
26
|
-
:root:lang(zh-Hans) {
|
|
27
|
-
font-family: var(--spectrum-alias-font-family-zhhans);
|
|
28
|
-
}
|
|
29
|
-
:host:lang(zh-Hant),
|
|
30
|
-
:root:lang(zh-Hant) {
|
|
31
|
-
font-family: var(--spectrum-alias-font-family-zh);
|
|
32
|
-
}
|
|
33
|
-
:host:lang(zh),
|
|
34
|
-
:root:lang(zh) {
|
|
35
|
-
font-family: var(--spectrum-alias-font-family-zh);
|
|
36
|
-
}
|
|
37
|
-
:host:lang(ko),
|
|
38
|
-
:root:lang(ko) {
|
|
39
|
-
font-family: var(--spectrum-alias-font-family-ko);
|
|
40
|
-
}
|
|
41
|
-
:host:lang(ja),
|
|
42
|
-
:root:lang(ja) {
|
|
43
|
-
font-family: var(--spectrum-alias-font-family-ja);
|
|
44
|
-
}
|
|
12
|
+
*/:host,:root{font-family:var(--spectrum-alias-body-text-font-family);font-size:var(--spectrum-alias-font-size-default)}:host:lang(ar),:root:lang(ar){font-family:var(--spectrum-alias-font-family-ar)}:host:lang(he),:root:lang(he){font-family:var(--spectrum-alias-font-family-he)}:host:lang(zh-Hans),:root:lang(zh-Hans){font-family:var(--spectrum-alias-font-family-zhhans)}:host:lang(zh-Hant),:root:lang(zh-Hant){font-family:var(--spectrum-alias-font-family-zh)}:host:lang(zh),:root:lang(zh){font-family:var(--spectrum-alias-font-family-zh)}:host:lang(ko),:root:lang(ko){font-family:var(--spectrum-alias-font-family-ko)}:host:lang(ja),:root:lang(ja){font-family:var(--spectrum-alias-font-family-ja)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/styles",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -108,12 +108,12 @@
|
|
|
108
108
|
"lit-html"
|
|
109
109
|
],
|
|
110
110
|
"dependencies": {
|
|
111
|
-
"@spectrum-web-components/base": "^0.7.
|
|
111
|
+
"@spectrum-web-components/base": "^0.7.2"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@spectrum-css/commons": "^3.0.6",
|
|
115
115
|
"@spectrum-css/expressvars": "^2.0.0",
|
|
116
|
-
"@spectrum-css/tokens": "^
|
|
116
|
+
"@spectrum-css/tokens": "^4.0.0",
|
|
117
117
|
"@spectrum-css/typography": "^4.0.20",
|
|
118
118
|
"@spectrum-css/vars": "^8.0.0"
|
|
119
119
|
},
|
|
@@ -122,5 +122,5 @@
|
|
|
122
122
|
"./**/*.css"
|
|
123
123
|
],
|
|
124
124
|
"style": "all-medium-lightest.css",
|
|
125
|
-
"gitHead": "
|
|
125
|
+
"gitHead": "370295c7ce89dd64d3d9a4373fd84e861904ec5a"
|
|
126
126
|
}
|