@primer/css 22.1.0-rc.6ded6343 → 22.1.0-rc.cd0adae5
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 +0 -3
- package/box/box-overlay.scss +1 -1
- package/dist/color-modes.css +1 -1
- package/dist/color-modes.css.map +1 -1
- package/dist/meta.json +33 -33
- package/dist/primer.css +1 -1
- package/dist/primer.css.map +1 -1
- package/dist/primitives.css +1 -1
- package/dist/primitives.css.map +1 -1
- package/dist/stats/color-modes.json +1 -1
- package/dist/stats/primer.json +1 -1
- package/header/header.scss +1 -1
- package/marketing/buttons/button.scss +3 -3
- package/marketing/support/variables.scss +2 -2
- package/package.json +7 -6
package/header/header.scss
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
z-index: -1;
|
|
35
35
|
content: '';
|
|
36
36
|
// stylelint-disable-next-line primer/colors
|
|
37
|
-
background: linear-gradient(180deg,
|
|
37
|
+
background: linear-gradient(180deg, rgb(255, 255, 255, 0.15) 0%, rgb(255, 255, 255, 0) 100%) !important;
|
|
38
38
|
border-radius: inherit;
|
|
39
39
|
opacity: 0;
|
|
40
40
|
opacity: 0;
|
|
@@ -132,11 +132,11 @@
|
|
|
132
132
|
// stylelint-disable-next-line primer/colors
|
|
133
133
|
color: #fff;
|
|
134
134
|
// stylelint-disable-next-line primer/colors
|
|
135
|
-
background: linear-gradient(180deg,
|
|
135
|
+
background: linear-gradient(180deg, rgb(52, 183, 89, 0.15) 0%, rgb(46, 164, 79, 0) 100%), rgb(46, 164, 79) !important;
|
|
136
136
|
|
|
137
137
|
&::before {
|
|
138
138
|
// stylelint-disable-next-line primer/colors
|
|
139
|
-
background: linear-gradient(180deg,
|
|
139
|
+
background: linear-gradient(180deg, rgb(52, 183, 89, 0.15) 0%, rgb(46, 164, 79, 0) 100%) !important;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
// fallback :focus state
|
|
@@ -126,8 +126,8 @@ $marketing-position-variants: (
|
|
|
126
126
|
lg: '-lg',
|
|
127
127
|
) !default;
|
|
128
128
|
|
|
129
|
-
$mktg-btn-shadow-hover-light: 0 3px 2px
|
|
130
|
-
$mktg-btn-shadow-hover-dark: 0 4px 7px
|
|
129
|
+
$mktg-btn-shadow-hover-light: 0 3px 2px rgb(0, 0, 0, 0.07), 0 7px 5px rgb(0, 0, 0, 0.04), 0 12px 10px rgb(0, 0, 0, 0.03), 0 22px 18px rgb(0, 0, 0, 0.03), 0 42px 33px rgb(0, 0, 0, 0.02), 0 100px 80px rgb(0, 0, 0, 0.02);
|
|
130
|
+
$mktg-btn-shadow-hover-dark: 0 4px 7px rgb(0, 0, 0, 0.15), 0 100px 80px rgb(255, 255, 255, 0.02), 0 42px 33px rgb(255, 255, 255, 0.024), 0 22px 18px rgb(255, 255, 255, 0.028), 0 12px 10px rgb(255, 255, 255, 0.034), 0 7px 5px rgb(255, 255, 255, 0.04), 0 3px 2px rgb(255, 255, 255, 0.07);
|
|
131
131
|
|
|
132
132
|
@include color-variables(
|
|
133
133
|
(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/css",
|
|
3
|
-
"version": "22.1.0-rc.
|
|
3
|
+
"version": "22.1.0-rc.cd0adae5",
|
|
4
4
|
"description": "The CSS implementation of GitHub's Primer Design System",
|
|
5
5
|
"homepage": "https://primer.style/css",
|
|
6
6
|
"author": "GitHub, Inc.",
|
|
@@ -45,19 +45,19 @@
|
|
|
45
45
|
"@changesets/cli": "^2.27.12",
|
|
46
46
|
"@csstools/postcss-sass": "^5.1.1",
|
|
47
47
|
"@github/prettier-config": "^0.0.6",
|
|
48
|
-
"@primer/primitives": "^
|
|
48
|
+
"@primer/primitives": "^11.3.1",
|
|
49
49
|
"@primer/stylelint-config": "^13.2.3",
|
|
50
50
|
"autoprefixer": "^10.4.18",
|
|
51
51
|
"chokidar-cli": "^3.0.0",
|
|
52
52
|
"cssstats": "^4.0.5",
|
|
53
53
|
"eslint": "^9.18.0",
|
|
54
54
|
"eslint-plugin-github": "^6.0.0",
|
|
55
|
-
"eslint-plugin-jest": "^
|
|
55
|
+
"eslint-plugin-jest": "^29.2.1",
|
|
56
56
|
"eslint-plugin-prettier": "^5.2.3",
|
|
57
|
-
"filesize": "^
|
|
57
|
+
"filesize": "^11.0.13",
|
|
58
58
|
"front-matter": "^4.0.2",
|
|
59
59
|
"fs-extra": "^11.3.0",
|
|
60
|
-
"globby": "^
|
|
60
|
+
"globby": "^16.0.0",
|
|
61
61
|
"jest": "^29.5.0",
|
|
62
62
|
"js-yaml": "^4.1.0",
|
|
63
63
|
"postcss": "^8.5.1",
|
|
@@ -69,7 +69,8 @@
|
|
|
69
69
|
"prettier": "^3.4.2",
|
|
70
70
|
"semver": "^7.6.0",
|
|
71
71
|
"stylelint": "^16.10.0",
|
|
72
|
-
"table": "^6.8.1"
|
|
72
|
+
"table": "^6.8.1",
|
|
73
|
+
"tslib": "^2.8.1"
|
|
73
74
|
},
|
|
74
75
|
"peerDependencies": {
|
|
75
76
|
"@primer/primitives": "10.x || 11.x"
|