Only use derived variables

This commit is contained in:
Jeremy Thomas
2019-10-13 16:11:19 +01:00
parent 0f988eadd9
commit ac0399d971
23 changed files with 83 additions and 79 deletions

View File

@@ -8,7 +8,7 @@
.default-ad
background-color: rgba(black, 0.3)
border-radius: 2px
color: $white
color: $scheme-main
display: inline-block
font-size: 10px
font-weight: bold
@@ -16,9 +16,9 @@
text-transform: uppercase
vertical-align: top
& > a
background-color: $white
background-color: $scheme-main
border-radius: $radius-large
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
box-shadow: 0 2px 3px rgba($scheme-invert, 0.1), 0 0 0 1px rgba($scheme-invert, 0.1)
color: $text
display: block
line-height: 1.375
@@ -29,9 +29,9 @@
position: relative
&:hover,
&:focus
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px $link
box-shadow: 0 2px 3px rgba($scheme-invert, 0.1), 0 0 0 1px $link
&:active
box-shadow: inset 0 1px 2px rgba($black, 0.2), 0 0 0 1px $link
box-shadow: inset 0 1px 2px rgba($scheme-invert, 0.2), 0 0 0 1px $link
span
display: block
.default-image