Skip to content

Commit dd563d5

Browse files
committed
npm: retheme using darker colors
1 parent b6cf645 commit dd563d5

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

npmjs.com/index.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
const styles = `
2+
main {
3+
background-color: rebeccapurple;
4+
}
5+
#top {
6+
background-color: wheat;
7+
}
8+
header div:last-child {
9+
background-color: blanchedalmond;
10+
}
11+
header div:nth-child(2) {
12+
display:none;
13+
}
14+
#footer {
15+
background-color: #dfbf3f;
16+
}
17+
footer.mt4 {
18+
margin-top:0;
19+
}
20+
[role="tabpanel"] {
21+
background-color:#ffd381;
22+
}
23+
#main > div > div:first-child {
24+
background-color:#ffdae5;
25+
}
26+
`;
27+
document.head.appendChild(
28+
Object.assign(document.createElement("style"), {
29+
type: "text/css",
30+
innerText: styles,
31+
}),
32+
);
33+
134
const repos = document.getElementById("repository");
235

336
const list = document.createElement("ul");

0 commit comments

Comments
 (0)