Compare commits

...

1 Commits

Author SHA1 Message Date
forbes
c527198044 refactor: extract theme from ztools into base distribution (#278)
All checks were successful
Build and Test / build (pull_request) Successful in 29m32s
- Add Spreadsheet color preferences to KindredCreate.cfg using FCText
  entries (TextColor, AliasedCellBackgroundColor, PositiveNumberColor,
  NegativeNumberColor) matching the C++ GetASCII() reader in SheetModel.cpp
- Remove CatppuccinMocha install directive from CMakeLists.txt
- Update ztools submodule: theme.py deleted, CatppuccinMocha preference
  pack removed, package.xml cleaned up

The previous apply_spreadsheet_colors() in ztools was a no-op: it called
SetUnsigned() but the Spreadsheet C++ reads GetASCII() — different param
types in FreeCAD's parameter system. Now properly fixed via preference pack.

Closes #278
2026-02-19 14:50:35 -06:00
4 changed files with 8 additions and 8 deletions

View File

@@ -136,6 +136,12 @@
<FCParamGroup Name="Sketcher">
<FCUInt Name="GridLineColor" Value="1162304255" />
</FCParamGroup>
<FCParamGroup Name="Spreadsheet">
<FCText Name="TextColor">#cdd6f4</FCText>
<FCText Name="AliasedCellBackgroundColor">#313244</FCText>
<FCText Name="PositiveNumberColor">#a6e3a1</FCText>
<FCText Name="NegativeNumberColor">#f38ba8</FCText>
</FCParamGroup>
</FCParamGroup>
</FCParamGroup>
</FCParamGroup>

View File

@@ -48,12 +48,6 @@ install(
DESTINATION
mods/ztools
)
install(
DIRECTORY
${CMAKE_SOURCE_DIR}/mods/ztools/CatppuccinMocha
DESTINATION
mods/ztools
)
install(
FILES
${CMAKE_SOURCE_DIR}/mods/ztools/package.xml