How to Apply Dark UI Theme Mode in Stable Diffusion

Updated
How to Apply Dark UI Theme Mode in Stable Diffusion
Learn how to apply a dark UI theme in Stable Diffusion. Discover two methods to transform the bright white screen into a soothing black, reducing eye strain and enhancing your experience.

1. Introduction

Hello friends! As you may know, Stable Diffusion is an image generation program that has gained popularity. However, using this program for extended periods can cause stress and irritation to your eyes, especially due to the prolonged exposure to the bright white screen. In this blog post, I will show you how to install a dark theme in Stable Diffusion, which will help alleviate the strain on your eyes. Let's get started!

2. Method 1: Appending the Dark Theme URL

One way to quickly enable the dark theme in Stable Diffusion is by appending a specific URL link. Follow the steps below:

  • Open Stable Diffusion.
  • In the address bar, locate the URL and add the following line at the end: /?__theme=dark. how-to-install-dark-theme-mode-in-stable-diffusion_nextdiffusion_1.png
  • Press Enter to reload the page.
  • The web user interface will now display the dark theme. how-to-install-dark-theme-mode-in-stable-diffusion_nextdiffusion_2.png

While this method works, it requires manually appending the URL every time you open Stable Diffusion, which can be cumbersome. Let's explore a more convenient solution.

Stable Diffusion in the Cloud⚡️Run Automatic1111 in your browser in under 90 seconds
20% bonus on first deposit

3. Method 2: Modifying the Configuration File

To set the dark theme as the default skin in Stable Diffusion, we can modify the configuration file. Follow these steps:

  • Close Stable Diffusion if it is currently running.
  • Locate the Stable Diffusion installation folder on your system.
  • Look for a file named webui-user.bat and open it using a text editor such as Notepad.

To edit the file, right-click on the file webui-user.bat and select Edit. (You may need to select “Show More Options” first if you use Windows 11).

  • Within the file, find the line that begins with "set COMMANDLINE_ARGS=".
  • Add the following text at the end: --theme dark. how-to-install-dark-theme-mode-in-stable-diffusion_nextdiffusion_3.png
  • If the line does not exist, you can add it as a new line in the file.
  • Save the changes to the file and close the text editor.
  • Start Stable Diffusion again, and you will notice the web user interface loading with the dark theme enabled.

By modifying the configuration file, the dark theme will now be applied automatically every time you launch Stable Diffusion, saving you the hassle of manually appending the URL.

4. Conclusion

Congratulations! You have successfully learned how to install a dark theme in Stable Diffusion. By following the methods mentioned above, you can transform the bright white screen into a more eye-friendly black theme, reducing strain and making your experience more pleasant. Now you can generate perfect images without putting unnecessary stress on your eyes. If you found this tutorial helpful, please consider subscribing for more informative content. Thank you for reading!