Skip to content

Commit

Permalink
fix(button): add disabled style for toggled button
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Aug 13, 2020
1 parent bb32231 commit 626f88d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
23 changes: 23 additions & 0 deletions packages/core/src/Button/Button.stories.js

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

8 changes: 8 additions & 0 deletions packages/core/src/Button/Button.styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,4 +266,12 @@ export default css`
.toggled:active:focus {
background: ${colors.grey800};
}
.toggled:disabled {
background: ${colors.grey500};
border-color: ${colors.grey600};
color: ${colors.grey050};
fill: ${colors.grey050};
opacity: 1;
}
`

0 comments on commit 626f88d

Please sign in to comment.