Skip to content

Commit 6429b0e

Browse files
Bump @primer/primitives from 9.1.2 to 10.0.0 (#790)
* Bump @primer/primitives from 9.1.2 to 10.0.0 Bumps [@primer/primitives](https://github.com/primer/primitives) from 9.1.2 to 10.0.0. - [Release notes](https://github.com/primer/primitives/releases) - [Changelog](https://github.com/primer/primitives/blob/main/CHANGELOG.md) - [Commits](primer/primitives@v9.1.2...v10.0.0) --- updated-dependencies: - dependency-name: "@primer/primitives" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Fix build --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: なつき <[email protected]>
1 parent fa7cf2d commit 6429b0e

File tree

3 files changed

+19
-59
lines changed

3 files changed

+19
-59
lines changed

package-lock.json

+6-46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@babel/node": "^7.23.9",
3838
"@babel/preset-env": "^7.24.4",
3939
"@primer/octicons": "^19.9.0",
40-
"@primer/primitives": "^9.0.0",
40+
"@primer/primitives": "^10.0.0",
4141
"@rollup/plugin-html": "^1.0.3",
4242
"@rollup/plugin-json": "^6.1.0",
4343
"@rollup/plugin-node-resolve": "^15.2.3",

src/scss/_color-scheme.scss

+12-12
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ $scheme: '@primer/primitives/dist/styleLint/functional/themes/light.json' !defau
77

88
$enable-background-image-linear-gradient: string.index($scheme, '-high-contrast') == null !default;
99

10-
$btn-color: json($scheme, button-default-fgColor-rest, value) !default;
11-
$btn-background-color-start: json($scheme, button-default-bgColor-rest, value) !default;
10+
$btn-color: json($scheme, button-default-fgColor-rest, '$value') !default;
11+
$btn-background-color-start: json($scheme, button-default-bgColor-rest, '$value') !default;
1212
$btn-background-color-stop: if($enable-background-image-linear-gradient, rounded-rgb(color.adjust($btn-background-color-start, $lightness: -3.3333333333%, $space: hsl)), $btn-background-color-start) !default;
13-
$btn-border-color: json($scheme, button-default-borderColor-rest, value) !default;
14-
$btn-hover-background-color-start: json($scheme, button-default-bgColor-hover, value) !default;
13+
$btn-border-color: json($scheme, button-default-borderColor-rest, '$value') !default;
14+
$btn-hover-background-color-start: json($scheme, button-default-bgColor-hover, '$value') !default;
1515
$btn-hover-background-color-stop: rounded-rgb(color.adjust($btn-hover-background-color-start, $lightness: -3.3333333333%, $space: hsl)) !default;
16-
$btn-hover-border-color: json($scheme, button-default-borderColor-hover, value) !default;
17-
$btn-focus-visible-outline-color: json($scheme, focus-outlineColor, value) !default;
18-
$btn-active-background-color: json($scheme, button-default-bgColor-active, value) !default;
19-
$btn-active-border-color: json($scheme, button-default-borderColor-active, value) !default;
20-
$social-count-color: json($scheme, button-default-fgColor-rest, value) !default;
21-
$social-count-background-color: json($scheme, bgColor-default, value) !default;
16+
$btn-hover-border-color: json($scheme, button-default-borderColor-hover, '$value') !default;
17+
$btn-focus-visible-outline-color: json($scheme, focus-outlineColor, '$value') !default;
18+
$btn-active-background-color: json($scheme, button-default-bgColor-active, '$value') !default;
19+
$btn-active-border-color: json($scheme, button-default-borderColor-active, '$value') !default;
20+
$social-count-color: json($scheme, button-default-fgColor-rest, '$value') !default;
21+
$social-count-background-color: json($scheme, bgColor-default, '$value') !default;
2222
$social-count-border-color: $btn-border-color !default;
23-
$social-count-hover-color: json($scheme, button-outline-fgColor-rest, value) !default;
24-
$octicon-heart-color: json($scheme, fgColor-sponsors, value) !default;
23+
$social-count-hover-color: json($scheme, button-outline-fgColor-rest, '$value') !default;
24+
$octicon-heart-color: json($scheme, fgColor-sponsors, '$value') !default;
2525

2626
.btn,
2727
.social-count {

0 commit comments

Comments
 (0)