Custom color date format in the DigitalClock plasmoid in plasma 6.1?

Ah sorry, not in the DigitalClock.qml file. As the guys above mentioned.
It was done by writing it in the custom date code section in the settings section.
Like this:


But I can’t change the leap seconds color.
I guess there is no known way or solution for this, right?
Isn’t it possible to do it in qml for seconds?

haven’t tried inline styling like that in the date format text box, but i would not at all be surprised if it works.

however there is no such text box for the time format, it’s all handled by the .qml, so to split out the minutes and seconds you would need to rewrite the .qml.

i’m sure it could be done, but it would likely take some doin.