Giter Club home page Giter Club logo

darklms's Introduction

Dark theme for Moodle LMS

Installation

1st Method

  1. Install the Tampermonkey Chrome Extension

  2. Install the script from Greasy Fork (alternatively, insert a new Userscript into Tampermonkey and copy and paste in the script).

  3. With the Tampermonkey Script enabled, simply open LMS.

2nd Method

  1. 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); } })();

  2. Click on the Bookmark to turn of the lights

darklms's People

Contributors

anudit avatar nikramakrishnan avatar

Watchers

 avatar

Forkers

nikramakrishnan

darklms's Issues

Userscript!

Here's a user script that can be installed to use with Tampermonkey:

// ==UserScript==
// @name         Dark LMS
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Try to make the LMS less of an eyesore
// @author       NikRamakrishnan
// @match        *://lms.bennett.edu.in/*
// @grant        none
// @run-at      document-start
// ==/UserScript==

window.addEventListener('DOMContentLoaded', function (e) {
	console.log('DOM loaded, processing stuff...');
	if (window.addCss !== undefined) {
		window.addCss();
	} else {
		var ss = document.createElement('link');
		ss.rel = "stylesheet";
		ss.type = "text/css";
		ss.href = "https://gitcdn.link/repo/anuditnagar/darklms/master/darklms.css";
		document.head.appendChild(ss);
	}
});

Feel free to modify and publish it! And thanks for the CSS, it looks great ๐Ÿ˜„ ๐Ÿ’ฏ

CDN Internal Server Error

The gitcdn.xyz link for the CSS gives an internal server error. This has been the case for the last few days. Can you check? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.