User:AlfonzAlfonz/common.js

importScript('User:JJPMaster/wmcommons.js'); // Backlink: User:JJPMaster/wmcommons.js window.wpDarkModeAutoToggle = true;

// Bg (dark): #282828 #d7d7d7 // Bg      : #373737 #c8c8c8

// const c = document.getElementById("content"); // const b = document.getElementById("mw-page-base");

// document.body.style.background = "#282828"; // c && (c.style.background = "#c8c8c8"); // b && (b.style.background = "#d7d7d7");

//[...document.querySelectorAll(".vector-menu-tabs li")].forEach(e => { // e.style["background-image"] = "linear-gradient(to top,#ccc 0,#e8e8e8 1px,#d7d7d7 100%)"; //});

// [...document.querySelectorAll(".vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited")].map(e => { //  // e.style["background-image"] = "linear-gradient(to top,#ccc 0,#c8c8c8 1px,#d7d7d7 100%)"; // });