Skip to content

Commit

Permalink
Add shadows to CSS variables
Browse files Browse the repository at this point in the history
  • Loading branch information
javivelasco committed Jul 12, 2016
1 parent 359d6be commit ac60b21
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions components/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,36 @@
--font-weight-semi-bold: 500;
--font-weight-bold: 700;

--shadow-2p:
0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 3px 1px -2px rgba(0, 0, 0, 0.2),
0 1px 5px 0 rgba(0, 0, 0, 0.12);

--shadow-3p:
0 3px 4px 0 rgba(0, 0, 0, 0.14),
0 3px 3px -2px rgba(0, 0, 0, 0.2),
0 1px 8px 0 rgba(0, 0, 0, 0.12);

--shadow-4p:
0 4px 5px 0 rgba(0, 0, 0, 0.14),
0 1px 10px 0 rgba(0, 0, 0, 0.12),
0 2px 4px -1px rgba(0, 0, 0, 0.2);

--shadow-6p:
0 6px 10px 0 rgba(0, 0, 0, 0.14),
0 1px 18px 0 rgba(0, 0, 0, 0.12),
0 3px 5px -1px rgba(0, 0, 0, 0.2);

--shadow-8p:
0 8px 10px 1px rgba(0, 0, 0, 0.14),
0 3px 14px 2px rgba(0, 0, 0, 0.12),
0 5px 5px -3px rgba(0, 0, 0, 0.2);

--shadow-16p:
0 16px 24px 2px rgba(0, 0, 0, 0.14),
0 6px 30px 5px rgba(0, 0, 0, 0.12),
0 8px 10px -5px rgba(0, 0, 0, 0.2);

--shadow-key-umbra-opacity: 0.2;
--shadow-key-penumbra-opacity: 0.14;
--shadow-ambient-shadow-opacity: 0.12;
Expand Down

0 comments on commit ac60b21

Please sign in to comment.