Skip to content

Instantly share code, notes, and snippets.

@jerclarke
Created October 23, 2020 14:42
Show Gist options
  • Save jerclarke/8f7790e11168cd05b1f419ea62d46aa2 to your computer and use it in GitHub Desktop.
Save jerclarke/8f7790e11168cd05b1f419ea62d46aa2 to your computer and use it in GitHub Desktop.
Quick and Dirty Dark Mode for advancedcustomfields.com ACF WordPress plugin homepage
@-moz-document domain("advancedcustomfields.com") {
body, #wrap {background: #333; color: #fff;}
#sidebar:after,
#wrap pre[class*=language-]{background: #222; border-color: #111;}
.links-list>li {
border-color: #999;
}
h1, h2, h3, h4 {color: #eee;}
figure figcaption {color: #ddd;}
code[class*="language-"], pre[class*="language-"] {
background: transparent;
text-shadow: none !important;
}
.token.operator, .token.entity, .token.url, .language-css .token.string, .style .token.string {
background: none !important;
}
code[class*="language-"], pre[class*="language-"] {
color: #fff;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment