mirror of
https://github.com/aureliendavid/rsspreview.git
synced 2025-08-22 19:28:39 +00:00
CSS: dark mode
Feed preview will use dark mode according to the browser settings. Colors are the same (or similar) that Firefox uses in its own menus.
This commit is contained in:
parent
b9f80de6ac
commit
f8e8dc9bcc
24
preview.css
24
preview.css
@ -169,3 +169,27 @@ img {
|
||||
padding-left: 5px;
|
||||
padding-top: 3px;
|
||||
}
|
||||
|
||||
@media(prefers-color-scheme: dark){
|
||||
html {
|
||||
background-color: rgb(28, 27, 34);
|
||||
color: white;
|
||||
}
|
||||
h1 {
|
||||
border-color: rgba(249,249,250,0.2);
|
||||
}
|
||||
#feedBody {
|
||||
border-color: rgba(249,249,250,0.2);
|
||||
background-color: rgb(35, 34, 43);
|
||||
}
|
||||
#feedBody a {
|
||||
color: rgb(0,221,255);
|
||||
}
|
||||
.link {
|
||||
color: rgb(0,221,255);
|
||||
}
|
||||
.enclosures {
|
||||
border-color: rgba(249,249,250,0.2);
|
||||
background-color: rgb(28, 27, 34);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user