@primer/css 21.3.0-rc.be399131 → 21.3.1-rc.73b65c15
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 +8 -0
- package/base/base.scss +1 -1
- package/dist/base.css +1 -1
- package/dist/base.css.map +1 -1
- package/dist/core.css +1 -1
- package/dist/core.css.map +1 -1
- package/dist/marketing-type.css +1 -1
- package/dist/marketing-type.css.map +1 -1
- package/dist/marketing.css +1 -1
- package/dist/marketing.css.map +1 -1
- package/dist/meta.json +53 -53
- package/dist/primer.css +2 -2
- package/dist/primer.css.map +1 -1
- package/dist/stats/base.json +1 -1
- package/dist/stats/core.json +1 -1
- package/dist/stats/marketing-type.json +1 -1
- package/dist/stats/marketing.json +1 -1
- package/dist/stats/primer.json +1 -1
- package/marketing/type/typography.scss +6 -6
- package/package.json +2 -2
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
font-feature-settings: $mktg-font-feature-settings;
|
|
11
11
|
// stylelint-disable-next-line primer/typography
|
|
12
12
|
font-weight: $mktg-header-weight-default !important;
|
|
13
|
-
letter-spacing: $mktg-header-spacing-default
|
|
13
|
+
letter-spacing: $mktg-header-spacing-default;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
@each $header, $sizes in $mktg-headers {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
line-height: map-get($pairing-md, 'lh') !important;
|
|
31
31
|
|
|
32
32
|
@if (map-get($pairing-md, 'size') >= $mktg-header-spacing-threshold and map-get($pairing, 'size') < $mktg-header-spacing-threshold) {
|
|
33
|
-
letter-spacing: $mktg-header-spacing-large
|
|
33
|
+
letter-spacing: $mktg-header-spacing-large;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@if (map-get($pairing-md, 'size') >= $mktg-header-weight-threshold and map-get($pairing, 'size') < $mktg-header-weight-threshold) {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
line-height: map-get($pairing-lg, 'lh') !important;
|
|
46
46
|
|
|
47
47
|
@if (map-get($pairing-lg, 'size') >= $mktg-header-spacing-threshold and map-get($pairing-md, 'size') < $mktg-header-spacing-threshold) {
|
|
48
|
-
letter-spacing: $mktg-header-spacing-large
|
|
48
|
+
letter-spacing: $mktg-header-spacing-large;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
@if (map-get($pairing-lg, 'size') >= $mktg-header-weight-threshold and map-get($pairing-md, 'size') < $mktg-header-weight-threshold) {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
font-size: map-get($pairing, 'size') !important;
|
|
78
78
|
line-height: map-get($pairing, 'lh') !important;
|
|
79
79
|
|
|
80
|
-
@if (map-get($pairing, 'size') >= $mktg-body-spacing-threshold) { letter-spacing: $mktg-body-spacing-large
|
|
80
|
+
@if (map-get($pairing, 'size') >= $mktg-body-spacing-threshold) { letter-spacing: $mktg-body-spacing-large; }
|
|
81
81
|
|
|
82
82
|
@if (map-get($pairing, 'size') >= $mktg-body-weight-threshold) { font-weight: $font-weight-semibold; }
|
|
83
83
|
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
line-height: map-get($pairing-md, 'lh') !important;
|
|
88
88
|
|
|
89
89
|
@if (map-get($pairing-md, 'size') >= $mktg-body-spacing-threshold and map-get($pairing, 'size') < $mktg-body-spacing-threshold) {
|
|
90
|
-
letter-spacing: $mktg-body-spacing-large
|
|
90
|
+
letter-spacing: $mktg-body-spacing-large;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@if (map-get($pairing-md, 'size') >= $mktg-body-weight-threshold and map-get($pairing, 'size') < $mktg-body-weight-threshold) {
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
line-height: map-get($pairing-lg, 'lh') !important;
|
|
103
103
|
|
|
104
104
|
@if (map-get($pairing-lg, 'size') >= $mktg-body-spacing-threshold and map-get($pairing-md, 'size') < $mktg-body-spacing-threshold) {
|
|
105
|
-
letter-spacing: $mktg-body-spacing-large
|
|
105
|
+
letter-spacing: $mktg-body-spacing-large;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
@if (map-get($pairing-lg, 'size') >= $mktg-body-weight-threshold and map-get($pairing-md, 'size') < $mktg-body-weight-threshold) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/css",
|
|
3
|
-
"version": "21.3.
|
|
3
|
+
"version": "21.3.1-rc.73b65c15",
|
|
4
4
|
"description": "The CSS implementation of GitHub's Primer Design System",
|
|
5
5
|
"homepage": "https://primer.style/css",
|
|
6
6
|
"author": "GitHub, Inc.",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"jest": "^29.5.0",
|
|
65
65
|
"js-yaml": "^4.1.0",
|
|
66
66
|
"postcss": "^8.4.35",
|
|
67
|
-
"postcss-calc": "^
|
|
67
|
+
"postcss-calc": "^10.0.0",
|
|
68
68
|
"postcss-import": "^16.0.1",
|
|
69
69
|
"postcss-load-config": "^5.0.3",
|
|
70
70
|
"postcss-scss": "^4.0.5",
|