Skip to content

Commit

Permalink
feat(button-link): Add text-decoration none and :link pseudo selector
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanoglesby08 committed Aug 22, 2017
1 parent 62b4698 commit 74b9916
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/components/Link/ButtonLink/ButtonLink.modules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ $text-color: $color-white;
$primary-bg-color: $color-primary;
$secondary-bg-color: $color-secondary;

.base {
text-decoration: none;
}

.primary {
composes: primary from '../../Button/Button.modules.scss';
composes: base;

&:link,
&:visited {
color: $text-color;
}
Expand All @@ -17,7 +23,9 @@ $secondary-bg-color: $color-secondary;

.secondary {
composes: secondary from '../../Button/Button.modules.scss';
composes: base;

&:link,
&:visited {
color: $text-color;
}
Expand All @@ -28,7 +36,9 @@ $secondary-bg-color: $color-secondary;

.secondaryInverted {
composes: secondaryInverted from '../../Button/Button.modules.scss';
composes: base;

&:link,
&:visited {
color: $secondary-bg-color;
}
Expand All @@ -39,7 +49,9 @@ $secondary-bg-color: $color-secondary;

.outlined {
composes: outlined from '../../Button/Button.modules.scss';
composes: base;

&:link,
&:visited {
color: $text-color;
}
Expand All @@ -50,7 +62,9 @@ $secondary-bg-color: $color-secondary;

.outlinedInverted {
composes: outlinedInverted from '../../Button/Button.modules.scss';
composes: base;

&:link,
&:visited {
color: $secondary-bg-color;
}
Expand Down

0 comments on commit 74b9916

Please sign in to comment.