Use var() notation

This commit is contained in:
Jeremy Thomas
2019-10-18 14:05:37 -04:00
parent 867a306fc3
commit 6b09dcfcf0
23 changed files with 390 additions and 228 deletions

View File

@@ -30,7 +30,7 @@
text-decoration: none
&:hover
.native-cta
box-shadow: 0 1rem 2rem 0 rgba($scheme-invert, 0.1)
box-shadow: 0 1rem 2rem 0 rgba(var(--#{$prefix}-scheme-invert), 0.1)
transform: translateY(-0.25rem)
.native-img
@@ -62,7 +62,7 @@
.native-cta
border: none
box-shadow: 0 0.5rem 1rem 0 rgba($scheme-invert, 0.2)
box-shadow: 0 0.5rem 1rem 0 rgba(var(--#{$prefix}-scheme-invert), 0.2)
flex-grow: 0
flex-shrink: 0
font-weight: $weight-semibold