Skip to content

Latest commit

 

History

History
141 lines (99 loc) · 4.86 KB

README.md

File metadata and controls

141 lines (99 loc) · 4.86 KB

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