Dark mode for NPM
npmjs.com Dark-Mode by xlfpx
Details
Authorxlfpx
LicenseNo License
Categorynpm, dark, darkmode
Created
Updated
Size1.6 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name npmjs.com Dark-Mode
@version 20210909.19.18
@namespace userstyles.world/user/xlfpx
@description Dark mode for NPM
@author xlfpx
@license No License
==/UserStyle== */
@-moz-document domain("npmjs.com") {
html, body, main{
background: black !important;
color: white !important;
}
body div {
background:black;
color: white;
}
body div div {
background:black;
color: white;
}
body div div div {
background:black;
color: white;
}
header form, header form input, header form div, header form * {
background: #212121 !important;
color:white !important;
}
header * {
color: white !important;
}
header .z-1 {
background: none !important;
}
#main section > div:first-child *:not(article) {
background: black;
color: #aaa;
}
#main section > div:nth-child(2),#main section > div:nth-child(2) > *, #main section > div:nth-child(2) > * > * {
background: #212121;
}
#main section > div:nth-child(2) div {
color:white;
}
#main section h3 {
color: white;
}
header div, main section > div:first-child *:not(article), main section > div:first-child:not(article), main > div:first-child:not(article), main > div:first-child > div:not(article), main > div:first-child *:not(article), footer > *, footer h3, footer, footer > * > *, footer > * > * > * {
background: #212121 !important;
color:white !important;
}
footer a {
color: #aaa !important;
}
main * section {
background: #212121 !important;
}
main * section{
margin: 10pt;
}
}