Skip to content

Commit

Permalink
Maybe a gutter?
Browse files Browse the repository at this point in the history
  • Loading branch information
oddevan committed Feb 8, 2024
1 parent 15be2fa commit cd532d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/atoms/Card.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
border-radius: var(--border-radius);
box-shadow: var(--shadow-base);
background: var(--body-shading);
padding: 1em;
padding: var(--gutter);
margin: var(--gutter);
&.primary { background: var(--primary-shading); }
&.secondary { background: var(--secondary-shading); }
Expand Down
1 change: 1 addition & 0 deletions src/lib/styles/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
--border-radius: 0.5em;
--shadow-half: 0 .125rem .125rem .0625rem rgba(0, 0, 0, 0.2);
--shadow-base: 0 .25rem .25rem .125rem rgba(0, 0, 0, 0.2);
--gutter: 0.625rem;

/* Generated gradients */

Expand Down

0 comments on commit cd532d8

Please sign in to comment.