Skip to content

Commit 3da10cc

Browse files
committed
Adjust elevation
1 parent 219c4cf commit 3da10cc

5 files changed

Lines changed: 23 additions & 26 deletions

File tree

scss/_components.dropdown.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
---------------------------------*/
33
$dropdown-bg: $shape-bg !default;
44
$dropdown-gutter: $spacing-stack-sm !default;
5-
$dropdown-shadow: $sharp-shadow-md !default;
5+
$dropdown-shadow: $shadow-md !default;
66
$dropdown-border-radius: $shape-border-radius-md !default;
77
$dropdown-width-sm: 160px !default;
88
$dropdown-width-md: 200px !default;

scss/_components.menu.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,9 @@ $menu-item-padding-md: ($spacing-square-sm $spacing-square-sm) !default;
3636
}
3737

3838
.menu__list {
39-
margin: 0 0 $menu-list-gutter;
39+
margin: 0 0 $menu-list-gutter 0;
4040
padding: 0;
4141
list-style: none;
42-
&:last-child {
43-
margin-bottom: 0;
44-
}
4542
}
4643

4744
.menu__item {

scss/_components.modal.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $modal-width-lg: 900px !default;
66
$modal-border-radius: $shape-border-radius-lg !default;
77
$modal-content-padding: $spacing-square-md !default;
88
$modal-bg: $shape-bg !default;
9-
$modal-shadow: $sharp-shadow-lg !default;
9+
$modal-shadow: $shadow-lg !default;
1010
$modal-title-font-size: $text-title-sm !default;
1111
$modal-title-line-height: $line-height-normal !default;
1212
$modal-title-color: $grey-dark !default;

scss/_configs.variable.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ $spacing-stack-sm: 8px !default;
7171
$spacing-stack-md: 16px !default;
7272
$spacing-stack-lg: 24px !default;
7373
$spacing-stack-xl: 32px !default;
74-
$spacing-stack-xxl: 64px !default;
74+
$spacing-stack-xxl: 40px !default;
7575

7676
$spacings: (
7777
"0": 0,
@@ -83,7 +83,7 @@ $spacings: (
8383
"6": 16px,
8484
"7": 24px,
8585
"8": 32px,
86-
"9": 64px,
86+
"9": 40px,
8787
) !default;
8888

8989
// Typo
@@ -196,13 +196,13 @@ $code-bg: #fcf2f2 !default;
196196

197197
// Elevation
198198
// -----------------------------------------------------------------------------
199-
$shadow-sm: 0 1px 3px rgba($black, 0.1) !default;
200-
$shadow-md: 0 6px 16px rgba($black, 0.1) !default;
201-
$shadow-lg: 0 8px 28px rgba($black, 0.2) !default;
202199
$sharp-edge: 0 0 0 1px rgba($black, 0.05) !default;
203-
$sharp-shadow-sm: ($shadow-sm, $sharp-edge) !default;
204-
$sharp-shadow-md: ($shadow-md, $sharp-edge) !default;
205-
$sharp-shadow-lg: ($shadow-lg, $sharp-edge) !default;
200+
$lift-sm: 0 1px 3px rgba($black, 0.1) !default;
201+
$lift-md: 0 6px 16px rgba($black, 0.1) !default;
202+
$lift-lg: 0 8px 28px rgba($black, 0.2) !default;
203+
$shadow-sm: ($lift-sm, $sharp-edge) !default;
204+
$shadow-md: ($lift-md, $sharp-edge) !default;
205+
$shadow-lg: ($lift-lg, $sharp-edge) !default;
206206

207207
// Shape
208208
// -----------------------------------------------------------------------------

scss/_utilities.effect.scss

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,28 @@
1818
opacity: 1 !important;
1919
}
2020

21-
.shadow-sm {
22-
box-shadow: $shadow-sm !important;
21+
.lift-sm {
22+
box-shadow: $lift-sm !important;
2323
}
2424

25-
.shadow-md {
26-
box-shadow: $shadow-md !important;
25+
.lift-md {
26+
box-shadow: $lift-md !important;
2727
}
2828

29-
.shadow-lg {
30-
box-shadow: $shadow-lg !important;
29+
.lift-lg {
30+
box-shadow: $lift-lg !important;
3131
}
3232

33-
.sharp-shadow-sm {
34-
box-shadow: $sharp-shadow-sm !important;
33+
.shadow-sm {
34+
box-shadow: $shadow-sm !important;
3535
}
3636

37-
.sharp-shadow-md {
38-
box-shadow: $sharp-shadow-md !important;
37+
.shadow-md {
38+
box-shadow: $shadow-md !important;
3939
}
4040

41-
.sharp-shadow-lg {
42-
box-shadow: $sharp-shadow-lg !important;
41+
.shadow-lg {
42+
box-shadow: $shadow-lg !important;
4343
}
4444

4545
.shadonw-none {

0 commit comments

Comments
 (0)