This repository contains the source files for Re2o themes. They are written using sass to make them easier to customize.
Checkout each theme's folder for more details and a preview. Also see this page to learn how to install themes.
To compile the .scss
files, install the following packages (for Debian):
$ sudo apt install python3-pyscss yui-compressor
You need to compile the .scss
files to obtain the .css
files needed by Re2o. You can use make
to do that automatically:
$ make
The themes' .min.css
files will be placed in the build
folder.
To create your own theme, here are the steps:
- Create a new folder for your theme.
- Copy the
template-variables.scss
file (or a file from an existing theme if you're need a bit of inspiration, for examplesolarized/solarized-variables.scss
) and rename it. - Create a new
.scss
file which includes the files you need (have a look atsolarized/solarized.scss
for example). - Include your theme in the
Makefile
(make sure the name of the recipe is different from the name of your folder ormake
will think it's already compiled). - Take some screenshots and populate your theme's README.
The template.scss
file only helps redefining colors. If you want to change other attributes (such as fonts for example), you can simply add css rules in your theme's main .scss
file.
Once your theme is ready, make sur to open a merge request here to share it with others!