stylix icon indicating copy to clipboard operation
stylix copied to clipboard

freecad: add support

Open RANKSHANK opened this issue 1 year ago • 1 comments

Adds support for FreeCAD

screenshot_18:29:30_25February2024 base16/gruvbox-dark-hard

screenshot_18:32:16_25February2024 base16/catppuccin-latte

Works by generating a preference pack with a config file and a qss stylesheet that match the theme. This means users will need to select pack in FreeCAD's preferences menu. Changes will also only propagate after either cycling packs or restarting FreeCAD.

There are a lot of components getting themed here, many of which I've just 'best guessed' at for the first pass, so I'm opening this as a draft for input whilst I'm dog-fooding the changes.

Current Todo List:

  • [x] Script/Macro editor implementation
  • [ ] Disable the preference pack's generation when FreeCAD is not installed
  • [ ] Investigate lightmode's color implementation
  • [ ] Add an icon to the preference pack
  • [ ] Migrate xml to nix generators
  • [ ] General polish

RANKSHANK avatar Feb 25 '24 07:02 RANKSHANK

Good point, added to the todo list, cheers

RANKSHANK avatar Feb 27 '24 00:02 RANKSHANK