mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-12 02:30:30 +09:00
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: 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">
|
<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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue