Skip to content

Commit ec6f48c

Browse files
committed
Fix content colour in dark mode
Previously, some content would appear in a dark colour in dark mode because the "color" property was set in the .content class for light mode but the <body> element for dark mode.
1 parent 099cfbf commit ec6f48c

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

templates/dashboard.jinja.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,15 @@
5252
font-size: small;
5353
color: #ec407a;
5454
}
55+
body {
56+
color: #263238;
57+
}
5558
#content {
5659
max-width: 800px;
5760
margin-left: auto;
5861
margin-right: auto;
5962
padding-top: 2em;
6063
padding-bottom: 2em;
61-
color: #263238;
6264
font-family: Helvetica, sans-serif;
6365
}
6466
p {
@@ -302,9 +304,6 @@
302304
.status-icon-in-progress { fill: #ddd; }
303305
.status-icon-in-progress circle { stroke: #ddd; }
304306

305-
.pipeline-header {
306-
color: #eceff1;
307-
}
308307
.downloads-header {
309308
color: #eceff1;
310309
}
@@ -325,16 +324,12 @@
325324
color: #eceff1;
326325
}
327326
.pipeline-row {
328-
color: #eceff1;
329327
background-color: #37474f;
330328
}
331329
body {
332330
color: #babdbe;
333331
background-color: #263238;
334332
}
335-
p {
336-
color: #babdbe;
337-
}
338333
#subtitle {
339334
color: #fff;
340335
}

0 commit comments

Comments
 (0)