Skip to content

🌚 A dark skin for TeXstudio GUI and a complimentary syntax highlighter

License

Notifications You must be signed in to change notification settings

gg314/texstudio-dark-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TeXstudio Dark Theme

This repository includes two complimentary approaches to creating a dark theme for the TeX editor TeXstudio.

  • The GUI is written with Qt, so it can be styled with a stylesheet.qss file. This file must be copied to the TeXstudio settings directory (see below).
  • The syntax highlighter settings are stored in texstudio.ini. You will need to manually copy lines into your settings file (or choose your own syntax colors).
  • The UI and syntax highlighting here are pretty clearly inspired by the default settings for VSCode.
  • The results here are not quite polished or professional, but they might serve as a launching point for a better dark theme. For example, Qt should allow for replacing many of the UI symbols with dark-theme compatible images.

Preview

How to use

Qt GUI

To override Qt GUI settings, TeXstudio allows for a stylesheet.qss file that is automatically loaded at program startup. The file needs to be copied to the correct directory:

Syntax highlighting

Syntax highlighting settings are stored with other settings in texstudio.ini. You probably do not want to replace all settings because they include default paths to a PDF viewer and other programs. To include syntax highlighting, make a backup and then manually copy the [formats] section (around line 400 and below) to replace the corresponding section of your own texstudio.ini. See above for the location of this file. Colors can be changed later at Options | Configure TeXstudio under Syntax Highlighting.

Note: Close TeXstudio before editing texstudio.ini. When TeXstudio is closed, any edits in texstudio.ini will be overwritten.

Other options

You may wish to change the default internal PDF viewer paper color and highlight color. These can be found through Options | Configure TeXstudio; check Show Advanced Options, and then make edits under Internal PDF Viewer | Paper Color.

About

🌚 A dark skin for TeXstudio GUI and a complimentary syntax highlighter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published