refactor(scss): remove helper/shadow. Expose shadow style in CSS variables

This commit is contained in:
Jimmy Cai
2020-09-09 16:14:30 +02:00
parent 190475dbad
commit 9e42d8cd35
12 changed files with 32 additions and 34 deletions
+3 -3
View File
@@ -46,7 +46,7 @@
article {
background: var(--card-background);
border-radius: var(--card-border-radius);
@include box_shadow(1);
box-shadow: var(--shadow-l1);
overflow: hidden;
&.main-article {
@@ -134,10 +134,10 @@
transition: box-shadow 0.3s ease;
@include box_shadow(1);
box-shadow: var(--shadow-l1);
&:hover {
@include box_shadow(2);
box-shadow: var(--shadow-l2);
}
svg {