You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since libadwaita 1.6 migrates the color system of its theme to CSS variables, it is now very easy to override the colors of the application, with interesting consequences. Once #96 lands, it would be interesting to have official support for some colorschemes.
Note that these don't seem to affect the GtkSource color schemes yet.
Also, wondering if rather than setting the --accent-bg-color variable, I can set the different --accent-* color variables so that if you have your system-wide accent color set to blue, red, green... it uses the closest one from the color scheme that matches the semantic accent color set on your system.
Here are some examples. To test these, open the GTK inspector by pressing Ctrl + Shift + I, then go to the CSS tab and paste the following snippets into the area. Press the ⏸️ button to toggle custom CSS styles. Note that in my computer the performance of this action is very poor and very laggy, so the themes haven't been thoughtfully tested yet, this is just an example or a proof of concept.
This discussion was converted from issue #100 on February 14, 2025 10:40.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Since libadwaita 1.6 migrates the color system of its theme to CSS variables, it is now very easy to override the colors of the application, with interesting consequences. Once #96 lands, it would be interesting to have official support for some colorschemes.
Note that these don't seem to affect the GtkSource color schemes yet.
Also, wondering if rather than setting the
--accent-bg-color
variable, I can set the different--accent-*
color variables so that if you have your system-wide accent color set to blue, red, green... it uses the closest one from the color scheme that matches the semantic accent color set on your system.Here are some examples. To test these, open the GTK inspector by pressing Ctrl + Shift + I, then go to the CSS tab and paste the following snippets into the area. Press the ⏸️ button to toggle custom CSS styles. Note that in my computer the performance of this action is very poor and very laggy, so the themes haven't been thoughtfully tested yet, this is just an example or a proof of concept.
Nord
Catpuccin
Solarized
Gruvbox
Beta Was this translation helpful? Give feedback.
All reactions