Skip to content

Commit f304151

Browse files
committed
Updated style
Add variable for shadow
1 parent 85fbd01 commit f304151

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

task-manager/src/styles.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727

2828
--default-border-radius: 0.25rem;
2929

30+
--default-shadow: 0em 0.5em 0.5em lightgray;
31+
3032
--system-font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
3133
'Open Sans', 'Helvetica Neue', sans-serif, 'Helvetica Neue', sans-serif;
3234
}
@@ -70,7 +72,7 @@ body {
7072
border-radius: var(--default-border-radius);
7173
background-color: var(--card-background);
7274
gap: 2em;
73-
box-shadow: 0em 0.5em 0.5em lightgray;
75+
box-shadow: var(--default-shadow);
7476
}
7577

7678
.card .header {

0 commit comments

Comments
 (0)