Skip to content

Commit

Permalink
use control borders
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Jun 19, 2024
1 parent cc3854c commit 82c2775
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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, var(--color-primer-fg-disabled));
background-color: var(--button-default-bgColor-rest, var(--color-btn-bg));
border-color: var(--button-default-borderColor-rest, var(--color-btn-border));
background-color: var(--button-default-bgColor-disabled, var(--color-btn-bg));
border-color: var(--button-default-borderColor-disabled, var(--color-btn-border));

.octicon {
color: var(--fgColor-disabled, var(--color-primer-fg-disabled));
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, var(--color-fg-default));
border: $border-width $border-style var(--borderColor-default, var(--color-border-default));
border: $border-width $border-style var(--control-borderColor-rest, var(--color-border-default));

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

0 comments on commit 82c2775

Please sign in to comment.