Skip to content

Commit

Permalink
Add shadow utility variables (#1620)
Browse files Browse the repository at this point in the history
  • Loading branch information
nithindavid committed Jan 6, 2021
1 parent 0348701 commit 64b0d48
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/javascript/dashboard/assets/scss/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@import 'shared/assets/stylesheets/spacing';
@import 'shared/assets/stylesheets/font-size';
@import 'shared/assets/stylesheets/font-weights';
@import 'shared/assets/stylesheets/shadows';
@import 'shared/assets/stylesheets/border-radius';
@import 'variables';

Expand Down
11 changes: 11 additions & 0 deletions app/javascript/shared/assets/stylesheets/shadows.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:root {
--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
0 1px 2px 0 rgba(0, 0, 0, 0.06);
--shadow-small: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
0 4px 6px -2px rgba(0, 0, 0, 0.05);
--shadow-larger: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

0 comments on commit 64b0d48

Please sign in to comment.