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