From 2dba777dfeaa02babd585344559905dab7c3967a Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Fri, 14 Jun 2024 23:21:37 +0200 Subject: [PATCH] Fix dark mode scrollbars in Chrome (#464) Signed-off-by: Wouter Born --- sat-plugin/src/main/resources/report/create_html.xslt | 1 + sat-plugin/src/main/resources/report/summary.html | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sat-plugin/src/main/resources/report/create_html.xslt b/sat-plugin/src/main/resources/report/create_html.xslt index 5dcf580a..f90bc780 100644 --- a/sat-plugin/src/main/resources/report/create_html.xslt +++ b/sat-plugin/src/main/resources/report/create_html.xslt @@ -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;} diff --git a/sat-plugin/src/main/resources/report/summary.html b/sat-plugin/src/main/resources/report/summary.html index 6fc72424..6afcde2c 100644 --- a/sat-plugin/src/main/resources/report/summary.html +++ b/sat-plugin/src/main/resources/report/summary.html @@ -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;} @@ -35,4 +36,4 @@

Individual reports

- \ No newline at end of file +