mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Base: Support dark mode in error page
This commit is contained in:
committed by
Andreas Kling
parent
45fabea0c2
commit
34cd0cfa2e
@@ -4,6 +4,14 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Error!</title>
|
<title>Error!</title>
|
||||||
<style>
|
<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 {
|
h1 {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user