Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 0784165

Browse files
authored
Add dark mode support for EASE error page (#19000)
1 parent 1c53b41 commit 0784165

File tree

4 files changed

+22
-1
lines changed

4 files changed

+22
-1
lines changed

chromium/images/banner-red.png

-14.1 KB
Binary file not shown.

chromium/images/banner-red.svg

Lines changed: 1 addition & 0 deletions
Loading

chromium/pages/cancel/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<body>
1111
<div class="content">
1212
<h1 id="https-everywhere">
13-
<img src="/images/banner-red.png" alt="HTTPS Everywhere">
13+
<img src="/images/banner-red.svg" alt="HTTPS Everywhere">
1414
</h1>
1515

1616
<p data-i18n="cancel_he_blocking_explainer"></p>

chromium/pages/cancel/style.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,23 @@ button:last-child {
5555
margin: 8px 0;
5656
}
5757
}
58+
59+
@media (prefers-color-scheme: dark) {
60+
body {
61+
background-color: #202023;
62+
color: #f9f9fa;
63+
}
64+
65+
a {
66+
color: #45a1ff;
67+
}
68+
69+
button {
70+
color: #202023;
71+
}
72+
73+
button:hover {
74+
background-color: #202023;
75+
border-color: #ec1e1e;
76+
}
77+
}

0 commit comments

Comments
 (0)