Base16 Themes
Thursday, October 17, 2024
Over a decade ago, Chris Kempson created the Base16 theme framework for creating color palettes of 16 colors that can be used to provide theming of user interfaces. These have been commonly supported by many text editors, with some developers gravitating toward setting their favorite theme in every user interface that supports it.
A few years ago, this framework and the many themes that became popular in it were forked into the Tinted Theming project described in a post called Base16 Project Lives On. You can view their gallery of Base16 themes which gives a good sense of the variety and utility of these color schemes having commonly recognizable names such as dracula, mocha, solarized, and more.
I was reminded of this recently in a discussion around a recent contribution to change the scrollbar and button implementations to not use images, but to draw the scrollbars using the colors configured in the user’s theme.
Since 2021, the ui.theme.base16 vocabulary has allowed theming the Factor user interface by choosing a base16-theme-name and setting base16-mode. We have just improved our support for Base16 theme support by adding all the current styles from the Tinted Theming schemes list.
So, now you can try solarized-dark:
IN: scratchpad "solarized-dark" base16-theme-name set-global
IN: scratchpad base16-mode
Or perhaps greenscreen:
IN: scratchpad "greenscreen" base16-theme-name set-global
IN: scratchpad base16-mode
Or any of the other 270 named color schemes now available!
Enjoy!