Base: Support dark mode in error page
This commit is contained in:
parent
45fabea0c2
commit
34cd0cfa2e
Notes:
sideshowbarker
2024-07-16 20:31:50 +09:00
Author: https://github.com/jamierocks Commit: https://github.com/LadybirdBrowser/ladybird/commit/34cd0cfa2e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/494 Reviewed-by: https://github.com/tcl3
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue