Skip to content

Commit c9f77d6

Browse files
committed
Add a way using CSS to force light mode
1 parent 66a61cf commit c9f77d6

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

system/Debug/Toolbar/Views/toolbar.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,25 @@ simple styles to replace inline styles
412412
overflow: hidden;
413413
}
414414

415+
/**
416+
light mode (matches default css)
417+
*/
418+
.light .tab,
419+
.light .toolbar {
420+
-webkit-filter: invert(0%);
421+
filter: invert(0%);
422+
}
423+
424+
.light .badge,
425+
.light #toolbar-position a,
426+
.light #toolbar-theme a,
427+
.light .toolbar h1,
428+
.light .current,
429+
.light tr[data-active="1"] {
430+
-webkit-filter: invert(0%);
431+
filter: invert(0%);
432+
}
433+
415434
/**
416435
dark mode
417436
*/

0 commit comments

Comments
 (0)