refactor: extract theme from ztools into base distribution (#278)
All checks were successful
Build and Test / build (pull_request) Successful in 29m25s
All checks were successful
Build and Test / build (pull_request) Successful in 29m25s
- 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
This commit is contained in:
Submodule mods/ztools updated: e256e0b81f...296a94e2d0
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user