Closed obelisk79 closed 1 year ago
You perhaps want to set the type to theme so that it appears inside the theme combobox ?
You perhaps want to set the type to theme so that it appears inside the theme combobox ?
I'm not sure how to do that, I didn't see it documented on the wiki.
Just add <type>Theme</type>
to the preferencepack in the xml
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<package format="1" xmlns="https://wiki.freecad.org/Package_Metadata">
<name>OpenDark</name>
<version>2023.09.27b</version>
<date>2023.09.27</date>
<description>An accessible and coordinated Dark theme for FreeCAD</description>
<maintainer email="nomail@freecad.org">Obelisk79</maintainer>
<license file="LICENSE">GPLv3</license>
<url type="repository" branch="main">https://github.com/obelisk79/OpenDark</url>
<icon>resources/icons/OpenDark.svg</icon>
<content>
<preferencepack>
<name>OpenDark</name>
<type>Theme</type>
<description>An accessible and coordinated Dark theme for FreeCAD based on the wonderful Open-Color ui palette</description>
<tag>2023</tag>
<tag>theme</tag>
<tag>dark</tag>
<file>OpenDark.qss</file>
</preferencepack>
<workbench>
<name>QtNormalizer</name>
<description>Sets Qt Widget visual style to normalize appearance across disparate compute r platforms</description>
<classname>QtNormalizer</classname>
</workbench>
</content>
</package>
I added that line, but it didn't remove the pref pack from the list and add it to the theme dropdown as it should.
Issue with license: https://github.com/obelisk79/OpenDark/issues/4
Thank you for pointing that out. I've made the necessary correction. This has been an educational experience :)
@chennes I've given feedback and changes have been implemented. i'll leave it to you to pull the trigger to add to the Addon repo.
Congrats @obelisk79! Thank you for your contribution. Thanks chennes for the assist.
I would like my Preference Pack "OpenDark" added to the manager. I have verified the repo works with addon-manager as a custom source.
https://github.com/obelisk79/OpenDark/
Dependencies
README.md
LICENCE
file (Note: FreeCAD uses LGPL2.1, most people choose that or GPL3)Misc.
If so, where? GitHub Commits
Housekeeping
codespell
][Codespell]. We recommend running:codespell -q 3
Github Related
FreeCAD
Workbench
Addon
Note: if your addon/workbench code doesn't reside on Github, please state the address where it is mentioned