Edit in 2021: Since version 3 there (finally) is a built-in dark mode, see here.
%% original answer: %%
You can find a step by step explanation on how to set a dark theme for Texstudio
scroll down to section Dark Color Theme for TeXstudio Editor
Here is a copy/past of the instructions:
Dark Color Theme for TeXstudio Editor
Instructions for installing a pre-configured dark theme for the TeXstudio editor:
- Download a dark color theme:
- My dark theme:
- Various examples at http://tex.stackexchange.com/questions/108315/how-can-i-set-a-dark-theme-in-texstudio.
- My dark theme plus some editor modifications (e.g. supressed underline of grammar mistakes, etc.):
- Open up the color theme in a text editor (I prefer notepad++).
- Next come the "not-so-user-friendly" steps, so let me walk you through them!
- Go to Options > Save profile... and save a backup of the current profile to something like
- Do this again, but instead save to a file named something like
custom-dark1.txsprofile. Note the directory this file is saved it!
custom-dark1.txsprofile (or whatever you named it) with a text editor (again, I like notepad++) and scroll to the very bottom which should look like
Note these are the first two lines of the dark theme file you downloaded!
Copy and paste the contents of the dark them to this section of
custom-dark1.txsprofile file and save. The [formats] section of
custom-dark1.txsprofile should now read
- Go to Options > Load profile... and load the newly edited
- Restart TexStudio and open a file, and you should see the dark themed editor!
- Finally, you can further modify your color scheme by going to Options > Configure TeXstudio > Syntax Highlighting