Skip to content

Commit 220d65a

Browse files
committed
fix: dark mode for category builder
1 parent 6f85cb5 commit 220d65a

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/views/settings/CategoryBuilder.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ div
4343
div(v-if="words_by_duration.length == 0")
4444
| No words with significant duration. You're good to go!
4545
div(v-else)
46-
div.row(v-for="word in words_by_duration")
46+
div.row.category-builder-word(v-for="word in words_by_duration")
4747
div.col.hover-highlight
4848
div.d-flex.flex-row.py-2
4949
div.flex-grow-1

static/dark.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ a, button, span, div, select {
88
outline: none;
99
}
1010

11-
body, button, html {
11+
body, button, html, table {
1212
color: #e9ebf0 !important;
1313
}
1414

@@ -208,10 +208,16 @@ div[style="color: rgb(85, 85, 85); font-size: 0.9em;"] {
208208
color: #e9ebf0 !important;
209209
}
210210

211-
#root.stopwatch-entry:hover{
211+
#root.stopwatch-entry:hover,
212+
.category-builder-word:hover>* {
212213
background-color: #282c32 !important;
213214
}
214215

216+
.category-builder-word .table td,
217+
.category-builder-word .table th {
218+
border-color: #3d444d;
219+
}
220+
215221
.bg-light {
216222
background-color: #1a1d24 !important;
217223
}

0 commit comments

Comments
 (0)