Shadow color moved to variable.

This commit is contained in:
Minesh Mitha 2018-10-25 19:59:08 +01:00
parent fe2bc7de69
commit 696d39e6c7
2 changed files with 5 additions and 4 deletions

View file

@ -10,7 +10,7 @@
&:after { &:after {
content: ''; content: '';
position: absolute; position: absolute;
box-shadow: inset 0 1px 2px 2px rgba(169, 173, 186, 0.2); box-shadow: inset 0 1px 2px 2px $shadow-color;
width: 100%; width: 100%;
height: 1px; height: 1px;
background: transparent; background: transparent;
@ -71,7 +71,7 @@
height: 100px; height: 100px;
position: absolute; position: absolute;
z-index: 100; z-index: 100;
box-shadow: inset 2px 3px 3px 2px rgba(169, 173, 186, 0.2); box-shadow: inset 2px 3px 3px 2px $shadow-color;
} }
&:after { &:after {
@ -81,7 +81,7 @@
top: 100%; top: 100%;
position: absolute; position: absolute;
z-index: 100; z-index: 100;
box-shadow: 0px 2px 3px 2px rgba(169, 173, 186, 0.2); box-shadow: 0px 2px 3px 2px $shadow-color;
} }
} }

View file

@ -9,6 +9,7 @@ $failure-color: red;
$brand-color: #1944F9; $brand-color: #1944F9;
$grey: #9095A5; $grey: #9095A5;
$grey-alt: #DDDFE4; $grey-alt: #DDDFE4;
$shadow-color: rgba(169, 173, 186, 0.2);
$primary-padding: 3em; $primary-padding: 3em;
$secondary-padding: 2em; $secondary-padding: 2em;