Dark mode Qt stylesheet (WIP), developed primarily for TeXstudio, a LaTeX editor. Built around a dark colour scheme (majority being different shades of gray and dark blue), with red and blue accents. Also, there's red text highlighting, instead of the default Windows blue, for fun! :)
Slightly modified from (and credits to):
Mandatory:
Place stylesheet.qss
and the rc
folder into TXS config folder.
For best effects (cf. sample images): I would recommend using the following settings (change under Options -> Configure TeXstudio
):
General -> Color Scheme -> Modern
(instead of Classic);Syntax Highlighting
: Choose a dark colour scheme you like from How can I set a dark theme in TeXstudio?
Optionally/Personal taste: Change the internal PDF viewer background colour, and the internal PDF viewer highlight colour. You can customize this in Options -> Configure TeXstudio -> Internal PDF viewer -> Paper Color
and Highlight Color
. You'll need Show Advanced Options
checked in the bottom left hand corner of the config dialog to see these options.
Stylesheet does not set (i) the background colour and syntax highlighting of the editor window (mine is modified from Solarized Dark theme), (ii) the internal PDF viewer background colour and (iii) the internal PDF viewer highlight colour. For that, set it from within the TXS settings (or modify texstudio.ini
), described above.
- Symbols side panel and a few icons are black (on transparent background?), thus are hard to see with the dark background of everything else (c.f.
Math -> Math Accents
). Whereas others (c.f.LaTeX -> Font Styles
) are fine; Table inFixed since git_0ba02d0.Config TeXstudio -> Syntax Highlighting
is a mess.. Not sure how much of it can be influenced/fixed by QSS;- Some pop-up dialogs still not inheriting the QSS, (c.f.
Edit Macros
dialog,Select Color
dialog); - The "right-click context menu" not inheriting QSS as well;