Skip to content

catppuccin/solvespace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Logo
Catppuccin for SolveSpace

Previews

๐ŸŒป Latte
๐Ÿชด Frappรฉ
๐ŸŒบ Macchiato
๐ŸŒฟ Mocha

Usage

Overwriting your current settings

  1. 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

Merging with your current settings via script

  1. Clone this repository locally

    git clone https://github.com/catppuccin/solvespace.git && cd solvespace
  2. 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

Merging with your current settings manually

  1. Open your theme from the themes folder in the browser

  2. Open ~/.config/solvespace/settings.json with your favourite text editor

  3. 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.

For advanced users: Change property window and toolbar colors

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

๐Ÿ’ Thanks to

ย 

Copyright ยฉ 2021-present Catppuccin Org