From ffad3c07f834812258e152879ba90a87b7d77367 Mon Sep 17 00:00:00 2001 From: Jarrod Flesch Date: Tue, 25 Feb 2020 16:46:21 -0500 Subject: [PATCH] adds the ability to use the small shadow while also extending another scss selector --- src/client/scss/vars.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/scss/vars.scss b/src/client/scss/vars.scss index 10071ba346..3f37de16e4 100644 --- a/src/client/scss/vars.scss +++ b/src/client/scss/vars.scss @@ -51,9 +51,10 @@ $radius-sm : 5px; $radius-lrg : 10px; $stroke-width : 1px; +$shadow-sm: 0 2px 4px 0 rgba(0,2,4,.1),0 2px 20px 0 rgba(0,2,4,.04); + %shadow-sm { - box-shadow: 0 2px 4px 0 rgba(0,2,4,.1), - 0 2px 20px 0 rgba(0,2,4,.04); + box-shadow: $shadow-sm } %shadow {