How to get accent color in GTK 4.10+

StyleContext is deprecated so style_context and lookup_color getters also:

any option to get accent color from app theme / window / widget?

I want to define TextTag style for links, by foreground_rgba setter to make UI responsible to the user environment

Use the libadwaita API, since libadwaita is the library putting those colors in the style:

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.