Skip to content

Commit

Permalink
feat: Add a plain button style
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 28, 2020
1 parent 13002c7 commit c5bbf78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const Button = ({
);

Button.VARIANT = {
PLAIN: 'plain',
PRIMARY: 'primary',
NORMAL: 'normal',
};
Expand Down
6 changes: 6 additions & 0 deletions src/components/Button.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@
border-color: var(--color-neutrals-100);
background-color: var(--color-neutrals-100);
}

.plain {
color: var(--color-brand-800);
border-color: transparent;
background-color: transparent;
}

0 comments on commit c5bbf78

Please sign in to comment.