Skip to content

Commit

Permalink
Fixed PR polonel#224.
Browse files Browse the repository at this point in the history
  • Loading branch information
0x3333 authored and polonel committed Jun 19, 2019
1 parent eed4243 commit 6cc9c60
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/sass/_settings_theme_dark.sass
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ $logo_text_color: #FFFFFF
$logo_circle_color: #E74C3C

$topbar_bg: darken(#595f69, 10%)
$topbar_separator: #595f69
$topbar_icons: #EEEEEE
$topbar_icons_hover: darken($topbar_icons, 10%)
$topbar_badge: #E74C3C
Expand Down
8 changes: 7 additions & 1 deletion src/sass/functions.sass
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@
@if ($topbar_bg == #42464d)
@return #ffffff
@else
@return $accent_color
@return $accent_color

@function topbar-separator-color()
@if (lightness($topbar_bg) > 50)
@return darken($topbar_bg, 15%)
@else
@return lighten($topbar_bg, 15%)
2 changes: 1 addition & 1 deletion src/sass/partials/topnav.sass
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
line-height: 70px
&.separator
+rotate(90deg)
color: $topbar_separator !important
color: topbar-separator-color() !important

svg
width: 32px !important
Expand Down

0 comments on commit 6cc9c60

Please sign in to comment.