MediaWiki:Gadget-dark-mode-toggle.js: Difference between revisions

Content deleted Content added
nextnode tweak from talk
add note that messages must match the ::before content in the CSS
Line 5:
*/
 
// 'Dark mode' and 'Light mode' messages must match the ::before content in [[MediaWiki:Gadget-dark-mode-toggle-pagestyles.css]] and [[MediaWiki:Gadget-dark-mode.css]], respectively.
mw.messages.set({
'darkmode-turn-on-label': 'Dark mode',