Context
I prefer to follow user’s preferences when developing GUIs. One visually impactful part of that is their chosen system accent/highlight color.
On Windows I can read the AccentColorMenu
registry entry.
On Mac I can read the AppleAccentColor
property.
But I haven’t figured out how to determine it in KDE Plasma yet.
I didn’t find anything in env
, by grepping through the filesystem or searching the internet.
Question
Is there a file I could read or interface I could ask for the configured Accent Color
from Settings > Appearance and Style > Colors & Themes > Global Theme > Colors
?
Notes
- KDE Plasma version of interest: 6+
- Graphics platform of interest (if it makes a difference): Wayland
Thanks in advance for any hints!