Skip to content

Commit

Permalink
DMD09LEAFL-27: Add default values
Browse files Browse the repository at this point in the history
  • Loading branch information
orabina committed Jul 18, 2024
1 parent faa9910 commit f7c69a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion source/sass/11-base/mixins/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
word-wrap: normal;
}

@mixin box-shadow($horizontal, $vertical, $blur, $rgba) {
@mixin box-shadow($horizontal: 0, $vertical: 3px, $blur: 14px, $rgba: color('gray', -3)) {
box-shadow: $horizontal $vertical $blur $rgba;
}
6 changes: 3 additions & 3 deletions source/sass/31-molecules/map/_leaflet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
border: 0;

a {
@include box-shadow(0, 3px, 14px, color('gray', -3));
@include box-shadow();

width: 40px;
height: 40px;
Expand Down Expand Up @@ -68,7 +68,7 @@

.leaflet-control-zoom {
a {
@include box-shadow(0, 3px, 14px, color('gray', -3));
@include box-shadow();

span {
@include theme('color', 'color-zero', 'leaflet-map-zoom-icon-color');
Expand Down Expand Up @@ -122,7 +122,7 @@

.gent-leaflet-location-icon {
@include theme('background-color', 'color-none', 'leaflet-map-location-icon-background-color');
@include box-shadow(0, 3px, 14px, color('gray', -3));
@include box-shadow();

border-radius: 30px;
padding: 5px;
Expand Down

0 comments on commit f7c69a3

Please sign in to comment.