Skip to content

Commit 5a2a42c

Browse files
committed
Fix navbar on light mode
1 parent ae19927 commit 5a2a42c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

assets/css/style.scss

+9-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// Colors
88
$color-background-light: #e3ecf3;
99
$color-background-dark: #1b1e24;
10+
$color-dark-accent: #101214;
11+
$color-light-accent: #dde5eb;
1012
$color-accent: #ff9100;
1113
$color-pink: #e98eae;
1214
$color-red: #FC4957;
@@ -118,7 +120,6 @@ ul.related-posts > li:before {
118120
border-radius: 0.5rem;
119121
padding: 0.5rem 0;
120122
padding-right: 1rem;
121-
background-color: #101214;
122123
margin-left: 20px;
123124
text-decoration: none;
124125
}
@@ -157,6 +158,10 @@ ul.related-posts > li:before {
157158
color: $color-yellow;
158159
}
159160

161+
.theme--dark .nav-bar {
162+
background: $color-dark-accent;
163+
}
164+
160165
// LIGHT
161166

162167
.theme--light body{
@@ -170,6 +175,9 @@ ul.related-posts > li:before {
170175
color: $color-blue;
171176
}
172177

178+
.theme--light .nav-bar {
179+
background: $color-light-accent;
180+
}
173181

174182
// For some reason changing them all in one selector only
175183
// modifies the first element, so just make more of em

0 commit comments

Comments
 (0)