Needs [something]->setProperty("_kirigamiTheme", QStringLiteral("KirigamiPlasmaStyle")); to be set on the engine so that the text and icons use colors from the active Plasma theme rather than the systemwide color scheme.
Git commit 76844c0f253905b402ebb8e6dce688ede79dd3bf by Marco Martin. Committed on 31/07/2023 at 18:00. Pushed by mart into branch 'master'. use the Kirigami Plasma Theme set the property to load the kirigami plasma theme in the kscreenlocker greeter, so that Kirigami Theme and Kirigami Units are from plasma values M +1 -0 greeter/greeterapp.cpp https://invent.kde.org/plasma/kscreenlocker/-/commit/76844c0f253905b402ebb8e6dce688ede79dd3bf