Skip to content

Commit

Permalink
Merge branch 'main' into remove-old-colors
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan authored Jun 20, 2024
2 parents be73387 + eba2b2c commit 77ef79f
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 35 deletions.
5 changes: 5 additions & 0 deletions .changeset/lazy-moose-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/css': patch
---

Fix 'clac' -> 'calc' typo
5 changes: 0 additions & 5 deletions .changeset/young-foxes-battle.md

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @primer/css

## 21.3.2

### Patch Changes

- [#2643](https://github.com/primer/css/pull/2643) [`ab6076c`](https://github.com/primer/css/commit/ab6076c62bac967d5d0c805744e50cc8d73d4171) Thanks [@langermank](https://github.com/langermank)! - Use `control` borders for subnav + disabled button fix

- [#2634](https://github.com/primer/css/pull/2634) [`af3ab76`](https://github.com/primer/css/commit/af3ab76454fd3045315082a14cdc5bdfcabd860a) Thanks [@jonrohan](https://github.com/jonrohan)! - Upgrade to @primer/primtives@8.2.0 and @primer/stylelint-config@13.0.0-rc

## 21.3.1

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions docs/package-lock.json

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

39 changes: 20 additions & 19 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
@@ -1,6 +1,6 @@
{
"name": "@primer/css",
"version": "21.3.1",
"version": "21.3.2",
"description": "The CSS implementation of GitHub's Primer Design System",
"homepage": "https://primer.style/css",
"author": "GitHub, Inc.",
Expand Down
4 changes: 2 additions & 2 deletions src/buttons/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@
&.disabled,
&[aria-disabled='true'] {
color: var(--fgColor-disabled);
background-color: var(--button-default-bgColor-rest);
border-color: var(--button-default-borderColor-rest);
background-color: var(--button-default-bgColor-disabled);
border-color: var(--button-default-borderColor-disabled);

.octicon {
color: var(--fgColor-disabled);
Expand Down
2 changes: 1 addition & 1 deletion src/forms/radio-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
.radio-label {
float: left;
// stylelint-disable-next-line primer/spacing
padding: 6px var(--base-size-16) 6px clac(var(--base-size-16) + 12px + var(--base-size-8)); // 12px is the size of the radio-input
padding: 6px var(--base-size-16) 6px calc(var(--base-size-16) + 12px + var(--base-size-8)); // 12px is the size of the radio-input
// stylelint-disable-next-line primer/spacing
margin-left: -1px;
font-size: $body-font-size;
Expand Down
2 changes: 1 addition & 1 deletion src/navigation/subnav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// stylelint-disable-next-line primer/typography
line-height: 20px;
color: var(--fgColor-default);
border: $border-width $border-style var(--borderColor-default);
border: $border-width $border-style var(--control-borderColor-rest);

+ .subnav-item {
// stylelint-disable-next-line primer/spacing
Expand Down

0 comments on commit 77ef79f

Please sign in to comment.