Skip to content

Commit

Permalink
fix(fuselage): Elevation token (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti authored Nov 30, 2022
1 parent 93b3deb commit 47a63d4
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions packages/fuselage/src/styles/mixins/elevation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,32 @@
@if $level == 1 {
border: 1px
solid
functions.theme('shadow-elevation-border', colors.elevation(border));
functions.theme(
'color-shadow-elevation-border',
colors.elevation(border)
);
box-shadow: 0
0
12px
0
functions.theme('shadow-elevation-1', colors.elevation(1));
functions.theme('color-shadow-elevation-1', colors.elevation(1));
}
@if $level == 2 {
border: 1px
solid
functions.theme('shadow-elevation-border', colors.elevation(border));
functions.theme(
'color-shadow-elevation-border',
colors.elevation(border)
);
box-shadow: 0
0
2px
0
functions.theme('shadow-elevation-2x', colors.elevation('2x')),
0 0 12px 0 functions.theme('shadow-elevation-2y', colors.elevation('2y'));
functions.theme('color-shadow-elevation-2x', colors.elevation('2x')),
0
0
12px
0
functions.theme('color-shadow-elevation-2y', colors.elevation('2y'));
}
}

0 comments on commit 47a63d4

Please sign in to comment.