Dark theme for Moodle LMS
Install the Tampermonkey Chrome Extension
Install the script from Greasy Fork (alternatively, insert a new Userscript into Tampermonkey and copy and paste in the script).
With the Tampermonkey Script enabled, simply open LMS.
Create a new Bookmark and copy and paste the folowing code in the address field.
`
javascript: (function() {
if (window.addCss !== undefined) {
window.addCss();
} else {
var ss = document.createElement('link');
ss.rel = "stylesheet";
ss.type = "text/css";
ss.href = "https://gitcdn.xyz/repo/anuditnagar/darklms/master/darklms.min.css";
document.head.appendChild(ss);
}
})();
`