diff --git a/src/Gui/BitmapFactory.cpp b/src/Gui/BitmapFactory.cpp index 154d9cbc7f..2afec18c30 100644 --- a/src/Gui/BitmapFactory.cpp +++ b/src/Gui/BitmapFactory.cpp @@ -63,6 +63,13 @@ BitmapFactoryInst& BitmapFactoryInst::instance() if (!_pcSingleton) { _pcSingleton = new BitmapFactoryInst; std::map::const_iterator it; + + // Kindred Create custom icons - highest priority + // These override default FreeCAD icons with Catppuccin Mocha themed versions + _pcSingleton->addPath( + QStringLiteral("%1/kindred-icons").arg(QString::fromStdString(App::Application::getHomePath())) + ); + it = App::GetApplication().Config().find("ProgramIcons"); if (it != App::GetApplication().Config().end()) { QString home = QString::fromStdString(App::Application::getHomePath()); diff --git a/src/Gui/CMakeLists.txt b/src/Gui/CMakeLists.txt index 28dcd164bc..64b1723df0 100644 --- a/src/Gui/CMakeLists.txt +++ b/src/Gui/CMakeLists.txt @@ -1618,3 +1618,15 @@ INSTALL( DESTINATION ${CMAKE_INSTALL_DATADIR}/3Dconnexion ) + +# Kindred Create custom icons - Catppuccin Mocha themed overrides +INSTALL( + DIRECTORY + ${CMAKE_SOURCE_DIR}/kindred-icons/ + DESTINATION + kindred-icons + FILES_MATCHING + PATTERN "*.svg" + PATTERN "*.png" + PATTERN "README.md" +)