adwaita-qt icon indicating copy to clipboard operation
adwaita-qt copied to clipboard

[WIP] Adjustable accent colors

Open boussou opened this issue 3 years ago • 3 comments

I just changed some code in src/lib/adwaitacolors.cpp because I wanted it Red. I suggest adding a define to ease building a custom colored version like :

//#define MAIN_THEME_COLOR "#3584e4" 
#define MAIN_THEME_COLOR "#E44335" 

then in

static QPalette paletteAdwaita()
{
...
    QColor selected_bg_color = QColor(MAIN_THEME_COLOR);
...

static QPalette paletteAdwaitaDark()
{
...
    QColor selected_bg_color = Colors::darken(QColor(MAIN_THEME_COLOR), 0.2);
...

boussou avatar Aug 06 '21 07:08 boussou

That's something I would like to see, but I would like to have this configurable by the user, not during compilation. In libadwaita they have various accent colors so next time we do a major Adwaita update, we will definitely include some option for this.

grulja avatar Aug 12 '21 08:08 grulja

I just shared it because meanwhile it is easy to built it.

boussou avatar Aug 12 '21 11:08 boussou

https://github.com/flatpak/xdg-desktop-portal/pull/815 could be relevant here.

orowith2os avatar Mar 26 '23 20:03 orowith2os