Catppuccin for SolveSpace
-
Download and replace the current
settings.json
:-
π» Latte:
curl -o ~/.config/solvespace/settings.json https://raw.githubusercontent.com/catppuccin/solvespace/main/themes/latte.json
-
πͺ΄ Frappe:
curl -o ~/.config/solvespace/settings.json https://raw.githubusercontent.com/catppuccin/solvespace/main/themes/frappe.json
-
πΊ Macchiato:
curl -o ~/.config/solvespace/settings.json https://raw.githubusercontent.com/catppuccin/solvespace/main/themes/macchiato.json
-
πΏ Mocha:
curl -o ~/.config/solvespace/settings.json https://raw.githubusercontent.com/catppuccin/solvespace/main/themes/mocha.json
-
-
Clone this repository locally
git clone https://github.com/catppuccin/solvespace.git && cd solvespace
-
Apply the theme via script:
-
π» Latte:
./apply.py latte ~/.config/solvespace/settings.json
-
πͺ΄ Frappe:
./apply.py frappe ~/.config/solvespace/settings.json
-
πΊ Macchiato:
./apply.py macchiato ~/.config/solvespace/settings.json
-
πΏ Mocha:
./apply.py mocha ~/.config/solvespace/settings.json
-
-
Open your theme from the
themes
folder in the browser -
Open
~/.config/solvespace/settings.json
with your favourite text editor -
At the second last line of the file (before the
}
), add a comma,
and then paste the content of your theme (excluding{
and}
). You can ignore any warnings about duplicate keys, as SolveSpace will clean them up.
Since these colors are hardcoded, you need to compile your own version of solvespace. You can find the instructions on the solvespace github page.
In the patches folder you'll find patch files for the toolbar.cpp and textwin.cpp. Following the installations instructions mentioned above, try to compile solvespace without applying the patches first, to check if everything works. Afterwards, patch the two files and then recompile solvespace.
patch src/textwin.cpp <theme>_textwin.patch
patch src/toolbar.cpp <theme>_toolbar.patch
cd build
make
Copyright Β© 2021-present Catppuccin Org