diff --git a/reporter/html/src/main/resources/css/report.css b/reporter/html/src/main/resources/css/report.css index 614685989..b279dc80a 100644 --- a/reporter/html/src/main/resources/css/report.css +++ b/reporter/html/src/main/resources/css/report.css @@ -2,7 +2,11 @@ font-family: helvetica, arial; } -html { scroll-padding-top: 2.5em; } +html { + color: black; + background-color: white; + scroll-padding-top: 2.5em; +} nav { width: 100%; @@ -138,3 +142,56 @@ summary .title { .sitem p.origin { padding-left: 0.5em; } + + +@media (prefers-color-scheme: dark) { + html { + color: #dddddd; + background-color: #181818; + } + + nav { + background-color: #303030; + color: white; + border-bottom: 1px solid grey; + } + + a { + color: dodgerblue; + } + + a:visited { + color: #8638b5; + } + + del, ins, .red { + color: tomato; + } + + .green { + color: lightgreen; + } + .sitem { + border-left: 2px solid #606060; + } + .sitem pre { + background: #282828; + } + .artifact { + background: dimgrey; + color: white; + } + .tag { + border: 1px solid black; + } + small { + color: darkgrey; + } + summary .title { + color: lightgrey; + } + .id { + color: darkgrey; + border-top: 1px solid lightgrey; + } +}