An optimized theme for web development that comes with two versions: light & dark.
Coldark is a gray-blue theme. The colors used respect the Web Content Accessibility Guidelines (WCAG) in order to provide sufficient reading comfort. However, with opacity, it is possible that some contrasts are diminished and that they are above level AA.
This Coldark version is designed for GtkSourceView-based text editors like Mousepad & Gedit.
Coldark consists of three color palettes. The first is common to both versions. The other two each apply to a version.
The colors differ slightly from VS Code since the scopes are not the same. In addition, it is not possible to play with the opacity.
Screenshots of an XML file with Mousepad first then Gedit.
Light Theme | Dark Theme |
---|---|
I use the French version of the software. It is possible that the translation of the menus that I give you does not correspond exactly to the English version of the software.
- If the folder
~/.local/share/gtksourceview-3.0/styles/
does not exist, create it. Then place the color schemes in the folder. - Mousepad must be closed for the new themes to be displayed the next time you open it.
- Open Mousepad and change the theme by going to "View" then "Color scheme". You can also go to "Edit", then "Preferences". In the "View" tab you should see "Color scheme". Mousepad should recognize your new themes; all you have to do is select the one you want to use.
- If the folder
~/.local/share/gedit/styles/
does not exist, create it. Then place the color schemes in the folder. - Gedit must be closed for the new themes to be displayed the next time you open it.
- Open Gedit and change the theme by going to "Preferences" then "Fonts & Colors". Gedit should recognize your new themes; all you have to do is select the one you want to use.
It is undoubtedly possible to proceed in the same way for another software using GTKSourceView. Unless I am mistaken, the themes are compatible with versions 2, 3 and 4 of GTKSourceView.
- I only tested the theme on Manjaro Linux and with Mousepad & Gedit: it is possible that some elements are not correctly incorporated within other text editors.
- I have not tested the versions with all possible languages, only with those that I use commonly.
Tested with:
- HTML
- CSS / SCSS
- Javascript
- JSON
- PHP
- Markdown
- Shell script
I have also tried adding support for the following languages:
- Diff files
- Makefile
- Python
- Rust
- TOML
This project is open source and available under the LGPLv2.1 License.