User:TheDJ/Gadget-dark-mode-toggle.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 49:
$('#pt-darkmode a').attr('title', mw.msg('darkmode-turn-' + onOrOff + '-tooltip'));
// Update the minerva theme-color
$('meta[name="theme-color"]').attr('content', newState ? '#eaecf0000000' : '#000000eaecf0' );
 
// Modify the <link> element on the page to include/exclude dark-mode styles