Skip to content

Commit

Permalink
fix(LinkButton): missing tertiary button
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiri Kolarik committed Feb 4, 2022
1 parent ee0e9b0 commit 9c0f910
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/link/link-button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default {
ButtonAppearance.outline,
ButtonAppearance.primary,
ButtonAppearance.secondary,
ButtonAppearance.tertiary,
],
control: { type: "radio" },
},
Expand Down
8 changes: 8 additions & 0 deletions src/link/link-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ function styles(
backgroundColor: theme.colors.buttonSecondaryHover,
},
};
case ButtonAppearance.tertiary:
return {
color: theme.colors.buttonTertiaryText,
backgroundColor: theme.colors.buttonTertiaryFill,
":hover": {
backgroundColor: theme.colors.buttonTertiaryHover,
},
};
case ButtonAppearance.minimal:
return {
color: theme.colors.buttonMinimalText,
Expand Down

0 comments on commit 9c0f910

Please sign in to comment.