Skip to content

Commit 0bd3754

Browse files
committed
1 parent 4af6f70 commit 0bd3754

2 files changed

Lines changed: 30 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chrome-new-tab-page-bookmarks",
3-
"version": "1.8.0",
3+
"version": "1.9.0",
44
"main": "index.js",
55
"license": "MIT",
66
"author": "",

src/index.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ body {
99
body {
1010
font-size: 13px;
1111
font-family: sans-serif;
12+
color: #000;
13+
background: #fff;
1214
}
1315
ul#root {
1416
display: flex;
@@ -94,3 +96,30 @@ p#image-attribution a {
9496
background-repeat: no-repeat;
9597
background-position: center;
9698
}
99+
100+
@media (prefers-color-scheme: dark) {
101+
body {
102+
color: #fff;
103+
background: #333;
104+
}
105+
a#toggle {
106+
color: #fff;
107+
background: rgba(50, 50, 50, 0.85);
108+
}
109+
a#toggle:hover {
110+
background: rgba(50, 50, 50, 0.95);
111+
}
112+
ul#root a {
113+
color: #fff;
114+
}
115+
ul#root a:hover {
116+
background: #333;
117+
}
118+
p#image-attribution {
119+
background: rgba(50, 50, 50, 0.85);
120+
color: #e0e0e0;
121+
}
122+
p#image-attribution a {
123+
color: #e0e0e0;
124+
}
125+
}

0 commit comments

Comments
 (0)