Skip to content

Commit 92b2b7d

Browse files
authored
Merge pull request #605 from BoostIO/improve-dark-theme
I improved the dark theme.
2 parents 67d8b02 + dad1e40 commit 92b2b7d

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

browser/components/TodoListPercentage.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222

2323
body[data-theme="dark"]
2424
.percentageBar
25-
background-color #222426
25+
background-color #363A3D
2626

2727
.progressBar
28-
background-color: $ui-dark-button--active-backgroundColor
28+
background-color: alpha(#939395, 50%)
2929

3030
.percentageText
3131
color $ui-dark-text-color

browser/components/markdown.styl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ table
270270
border-right solid 1px borderColor
271271

272272
themeDarkBackground = darken(#21252B, 10%)
273-
themeDarkText = #DDDDDD
273+
themeDarkText = #f9f9f9
274274
themeDarkBorder = lighten(themeDarkBackground, 20%)
275275
themeDarkPreview = $ui-dark-noteDetail-backgroundColor
276276
themeDarkTableOdd = themeDarkPreview
@@ -288,8 +288,9 @@ body[data-theme="dark"]
288288
background-color alpha(lighten(brandColor, 30%), 0.2) !important
289289

290290
code
291+
color #EA6730
291292
border-color darken(themeDarkBorder, 10%)
292-
background-color lighten(themeDarkPreview, 10%)
293+
background-color lighten(themeDarkPreview, 5%)
293294

294295
pre
295296
border-color lighten(#21252B, 20%)

browser/main/SideNav/SideNav.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.root
22
absolute top left bottom
33
width $sideNav-width
4-
background-color $ui-backgroundColor
4+
background-color #f9f9f9
55
user-select none
66
color $ui-text-color
77

browser/styles/index.styl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ topBarButtonLight()
176176
// Dark theme
177177
$ui-dark-active-color = #3A404C
178178
$ui-dark-borderColor = lighten(#21252B, 20%)
179-
$ui-dark-backgroundColor = #1D1D1D
180-
$ui-dark-noteList-backgroundColor = #181818
181-
$ui-dark-noteDetail-backgroundColor = #0D0D0D
179+
$ui-dark-backgroundColor = #1E2124
180+
$ui-dark-noteList-backgroundColor = #282C30
181+
$ui-dark-noteDetail-backgroundColor = #2D3033
182182
$ui-dark-tag-backgroundColor = #3A404C
183183
$dark-background-color = lighten($ui-dark-backgroundColor, 10%)
184184
$ui-dark-text-color = #DDDDDD

0 commit comments

Comments
 (0)