Skip to content

Commit

Permalink
html: support dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
otto-ifak committed Sep 16, 2024
1 parent 08f7d46 commit 6f93102
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion aas_test_engines/data/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Test Result</title>
<style>
:root {
color-scheme: light dark;
}

#content {
margin: none;
padding: 16px;
Expand All @@ -23,7 +27,7 @@

.caret::before {
content: "\25B6";
color: black;
color: light-dark(black, gray);
display: inline-block;
margin-left: 6px;
}
Expand Down

0 comments on commit 6f93102

Please sign in to comment.