Skip to content

Commit

Permalink
Fix dark mode scrollbars in Chrome (#464)
Browse files Browse the repository at this point in the history
Signed-off-by: Wouter Born <github@maindrain.net>
  • Loading branch information
wborn authored Jun 14, 2024
1 parent 8d7bcf6 commit 2dba777
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions sat-plugin/src/main/resources/report/create_html.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
a {color: #000000;}

@media (prefers-color-scheme: dark) {
:root {color-scheme:dark;}
body {color:#dddddd;background-color:#121212;}
table.details tr th a {color:#dddddd;}
table.details tr th {background:#0f0f0f;}
Expand Down
3 changes: 2 additions & 1 deletion sat-plugin/src/main/resources/report/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
a {color: #000000;}

@media (prefers-color-scheme: dark) {
:root {color-scheme:dark;}
body {color:#dddddd;background-color:#121212;}
table.details tr th a {color:#dddddd;}
table.details tr th {background:#0f0f0f;}
Expand All @@ -35,4 +36,4 @@ <h3>Individual reports</h3>
<tr></tr>
</table>
</body>
</html>
</html>

0 comments on commit 2dba777

Please sign in to comment.