Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
fix(Button): resolved colors for twitter and facebook buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
cecilia-sanare committed Aug 24, 2021
1 parent 5a08b64 commit 12f10b2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stories/Button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ a.button {
}

&.twitter {
@include button($primary-accent, $twitter);
@include button($twitter, $secondary);
}

&.facebook {
@include button($primary-accent, $facebook);
@include button($facebook, $secondary);
}
}

Expand Down
16 changes: 16 additions & 0 deletions stories/Button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,19 @@ WithIcon.args = {
),
theme: Theme.Primary,
};

export const Twitter = Template.bind({});
Twitter.args = {
children: (
<Icon icon='twitter' />
),
theme: Theme.Twitter,
};

export const Facebook = Template.bind({});
Facebook.args = {
children: (
<Icon icon='facebook' />
),
theme: Theme.Secondary,
};

0 comments on commit 12f10b2

Please sign in to comment.