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