Skip to content

Commit

Permalink
Bump @primer/primitives from 9.1.2 to 10.0.0 (#790)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
dependabot[bot] and ntkme authored Dec 9, 2024
1 parent fa7cf2d commit 6429b0e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 59 deletions.
52 changes: 6 additions & 46 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@babel/node": "^7.23.9",
"@babel/preset-env": "^7.24.4",
"@primer/octicons": "^19.9.0",
"@primer/primitives": "^9.0.0",
"@primer/primitives": "^10.0.0",
"@rollup/plugin-html": "^1.0.3",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
Expand Down
24 changes: 12 additions & 12 deletions src/scss/_color-scheme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ $scheme: '@primer/primitives/dist/styleLint/functional/themes/light.json' !defau

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

$btn-color: json($scheme, button-default-fgColor-rest, value) !default;
$btn-background-color-start: json($scheme, button-default-bgColor-rest, value) !default;
$btn-color: json($scheme, button-default-fgColor-rest, '$value') !default;
$btn-background-color-start: json($scheme, button-default-bgColor-rest, '$value') !default;
$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;
$btn-border-color: json($scheme, button-default-borderColor-rest, value) !default;
$btn-hover-background-color-start: json($scheme, button-default-bgColor-hover, value) !default;
$btn-border-color: json($scheme, button-default-borderColor-rest, '$value') !default;
$btn-hover-background-color-start: json($scheme, button-default-bgColor-hover, '$value') !default;
$btn-hover-background-color-stop: rounded-rgb(color.adjust($btn-hover-background-color-start, $lightness: -3.3333333333%, $space: hsl)) !default;
$btn-hover-border-color: json($scheme, button-default-borderColor-hover, value) !default;
$btn-focus-visible-outline-color: json($scheme, focus-outlineColor, value) !default;
$btn-active-background-color: json($scheme, button-default-bgColor-active, value) !default;
$btn-active-border-color: json($scheme, button-default-borderColor-active, value) !default;
$social-count-color: json($scheme, button-default-fgColor-rest, value) !default;
$social-count-background-color: json($scheme, bgColor-default, value) !default;
$btn-hover-border-color: json($scheme, button-default-borderColor-hover, '$value') !default;
$btn-focus-visible-outline-color: json($scheme, focus-outlineColor, '$value') !default;
$btn-active-background-color: json($scheme, button-default-bgColor-active, '$value') !default;
$btn-active-border-color: json($scheme, button-default-borderColor-active, '$value') !default;
$social-count-color: json($scheme, button-default-fgColor-rest, '$value') !default;
$social-count-background-color: json($scheme, bgColor-default, '$value') !default;
$social-count-border-color: $btn-border-color !default;
$social-count-hover-color: json($scheme, button-outline-fgColor-rest, value) !default;
$octicon-heart-color: json($scheme, fgColor-sponsors, value) !default;
$social-count-hover-color: json($scheme, button-outline-fgColor-rest, '$value') !default;
$octicon-heart-color: json($scheme, fgColor-sponsors, '$value') !default;

.btn,
.social-count {
Expand Down

0 comments on commit 6429b0e

Please sign in to comment.