Base: Support dark mode in error page

This commit is contained in:
Jamie Mansfield 2024-07-07 16:41:06 +01:00 committed by Andreas Kling
parent 45fabea0c2
commit 34cd0cfa2e
Notes: sideshowbarker 2024-07-16 20:31:50 +09:00

View file

@ -4,6 +4,14 @@
<meta charset="UTF-8">
<title>Error!</title>
<style>
/* FIXME: We should be able to remove the HTML style when "color-scheme" is supported */
@media (prefers-color-scheme: dark) {
html {
background-color: rgb(20, 20, 20);
color: rgb(235, 235, 235);
}
}
h1 {
display: inline;
}