MarianArlt / kde-plasmoid-betterinlineclock

Your usual clock widget, just way better and on a single line!
https://www.opendesktop.org/p/1245902
GNU General Public License v3.0
20 stars 14 forks source link

Is it possible to change the font color? #7

Closed RyanTG closed 4 years ago

RyanTG commented 5 years ago

Is it possible to change the font color?

Is the color inherited from a system color (and if so, do you know which one)? Or could I edit it myself?

Thanks! Great job - I love this clock.

MarianArlt commented 4 years ago

The color of the rendered objects is taken by design from the current KDE color scheme selected from "System Settings -> Colors". In specific the color of "Window Text". Apparently changing this color to something different will change your whole desktop appearance.

If you want to hard code a different color for your clock you can change ~/.local/share/plasma/plasmoids/org.kde.plasma.chiliclock/contents/ui/DigitalClock.qml and add a color attribute to the dateLabel and timeLabel components.

Hope that helps.

RyanTG commented 4 years ago

Thank you! Very very helpful.