Applies the midnight Discord theme and keeps it on restart!
Currently works on Windows and macOS.
Note
You need to run the program again after Discord updates.
Warning
This program adds a line to the index.js file in Discord modules. It can be dangerous to have any malicious code in this file. I am not responsible if anything happens to your Discord account; use at your own risk.
- Requires
Java
to be installed - Go to releases and download the latest .jar
- Make sure the .jar file is on the same drive as your Discord installation
- Right-click the directory containing the .jar file
- Select
Open in Terminal
- Run
java -jar Discord-ForceTheme.jar
- Move .jar file to Downloads
- Open Terminal application
- Run
java -jar Downloads/Discord-ForceTheme.jar
- You can change the theme via the
ADD_CLASS_JS
constant.- Default:
document.body.classList.add('theme-midnight');
- Default:
theme-midnight
is the CSS class name- Other theme available:
theme-darker