Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Adjustable accent colors #153

Open
boussou opened this issue Aug 6, 2021 · 3 comments
Open

[WIP] Adjustable accent colors #153

boussou opened this issue Aug 6, 2021 · 3 comments

Comments

@boussou
Copy link

boussou commented Aug 6, 2021

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);
...

@grulja
Copy link
Collaborator

grulja commented Aug 12, 2021

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 grulja changed the title Main color to anything but blue [WIP] Adjustable accent colors Aug 12, 2021
@boussou
Copy link
Author

boussou commented Aug 12, 2021

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

@orowith2os
Copy link

flatpak/xdg-desktop-portal#815 could be relevant here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants