Skip to content

Commit

Permalink
move bg color
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Mar 12, 2024
1 parent 341ef24 commit 2516a21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ exports[`Button respects block prop 1`] = `
box-shadow: none;
color: primer.fg.disabled;
border-color: var(--button-default-borderColor-disabled,undefined);
background-color: var(--button-default-bgColor-disabled,undefined);
}
.c0:disabled [data-component=ButtonCounter] {
color: inherit;
background-color: var(--button-default-bgColor-disabled,undefined);
}
.c0 [data-component=ButtonCounter] {
Expand Down Expand Up @@ -357,11 +357,11 @@ exports[`Button respects the alignContent prop 1`] = `
box-shadow: none;
color: primer.fg.disabled;
border-color: var(--button-default-borderColor-disabled,undefined);
background-color: var(--button-default-bgColor-disabled,undefined);
}
.c0:disabled [data-component=ButtonCounter] {
color: inherit;
background-color: var(--button-default-bgColor-disabled,undefined);
}
.c0 [data-component=ButtonCounter] {
Expand Down Expand Up @@ -613,11 +613,11 @@ exports[`Button respects the large size prop 1`] = `
box-shadow: none;
color: primer.fg.disabled;
border-color: var(--button-default-borderColor-disabled,undefined);
background-color: var(--button-default-bgColor-disabled,undefined);
}
.c0:disabled [data-component=ButtonCounter] {
color: inherit;
background-color: var(--button-default-bgColor-disabled,undefined);
}
.c0 [data-component=ButtonCounter] {
Expand Down Expand Up @@ -870,11 +870,11 @@ exports[`Button respects the small size prop 1`] = `
box-shadow: none;
color: primer.fg.disabled;
border-color: var(--button-default-borderColor-disabled,undefined);
background-color: var(--button-default-bgColor-disabled,undefined);
}
.c0:disabled [data-component=ButtonCounter] {
color: inherit;
background-color: var(--button-default-bgColor-disabled,undefined);
}
.c0 [data-component=ButtonCounter] {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/Button/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export const getVariantStyles = (variant: VariantType = 'default', theme?: Theme
'&:disabled': {
color: 'primer.fg.disabled',
borderColor: `var(--button-default-borderColor-disabled, ${theme?.colors.btn.border})`,
backgroundColor: `var(--button-default-bgColor-disabled, ${theme?.colors.input.disabledBg})`,
'[data-component=ButtonCounter]': {
color: 'inherit',
backgroundColor: `var(--button-default-bgColor-disabled, ${theme?.colors.input.disabledBg})`,
},
},
'&[aria-expanded=true]': {
Expand Down

0 comments on commit 2516a21

Please sign in to comment.