Use brand colour for links and buttons by default. Add button hover and hover text colours.
This commit is contained in:
parent
6df6316000
commit
431441e843
1 changed files with 20 additions and 6 deletions
|
|
@ -35,8 +35,8 @@ button,
|
|||
&:active {
|
||||
// Override any link underlines and color changes.
|
||||
text-decoration: none;
|
||||
color: var(--color-button);
|
||||
background-color: var(--color-button-text);
|
||||
color: var(--color-button-text-hover);
|
||||
background-color: var(--color-button-hover);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -50,6 +50,18 @@ button,
|
|||
@include padding(.1 .5);
|
||||
}
|
||||
|
||||
&--alt {
|
||||
color: var(--color-button-text-hover);
|
||||
background-color: var(--color-button-hover);
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
color: var(--color-button-text);
|
||||
background-color: var(--color-button);
|
||||
}
|
||||
}
|
||||
|
||||
&--outline {
|
||||
color: var(--color-button);
|
||||
background-color: var(--color-button-text);
|
||||
|
|
|
|||
Loading…
Reference in a new issue