User:Dorram1/Gadget-dark-mode-toggle-pagestyles.css

/* Fixes for empty icons in New Vector and Minerva */ .mw-ui-icon-vector-gadget-pt-darkmode::before, .mw-ui-icon-portletlink-pt-darkmode::before { background-image: url(/w/load.php?modules=oojs-ui.styles.icons-accessibility&image=moon); }

.mw-ui-icon-portletlink-pt-darkmode::before { opacity: 0.65; }

.client-dark-mode .mw-ui-icon-vector-gadget-pt-darkmode::before, .client-dark-mode .mw-ui-icon-portletlink-pt-darkmode::before { background-image: url(/w/load.php?modules=oojs-ui.styles.icons-accessibility&image=bright); }

/* These same rules should also be in MediaWiki:Gadget-dark-mode.css but with higher specificity. */ .skin-vector-legacy :not(#pt-darkmode) + #pt-watchlist::before, .skin-monobook :not(#pt-darkmode) + #pt-watchlist::before { content: "Dark mode"; visibility: hidden; margin-left: inherit; }