Skip to content

Commit

Permalink
Added little dropshadow on SVGs
Browse files Browse the repository at this point in the history
  • Loading branch information
Foggalong committed Sep 7, 2021
1 parent 6000b57 commit b3268f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion _sass/initialize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@ $text-color: #3d3d3d !default;
$background-color: #9b9da3 !default;
$page-color: #fdfdfd !default;
$nav-color: $page-color !default;
$base-shadow: 0 0.25em 0.25em rgba(0, 0, 0, 0.1) !default;
$border-color: $brand-color-light !default;

// Shadows for elements and icons
$base-shadow: 0 0.25em 0.25em rgba(0, 0, 0, 0.1) !default;
$base-drop-shadow: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2)) !default;

// Colors for link formatting
$link-base-color: #2a7ae2 !default;
$link-visited-color: darken($link-base-color, 15%) !default;
Expand Down
4 changes: 3 additions & 1 deletion _sass/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
width: $nav-bar-height/2;
height: $nav-bar-height/2;
fill: $brand-color-dark;
filter: $base-drop-shadow;
}
margin: auto;
display: inline-block;
Expand Down Expand Up @@ -92,9 +93,10 @@
a {
text-decoration: none;
padding: $spacing-unit / 4;

svg {
fill: $text-color;
filter: $base-drop-shadow;
width: 16px;
height: 16px;
}
Expand Down

0 comments on commit b3268f2

Please sign in to comment.