gtk-flutter / libadwaita

Libadwaita's widgets for Flutter. Following Gnome HIG and available on all platforms.

Home Page:https://pub.dev/packages/libadwaita

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move color logic outside of libadwaita utils/colors into theme package

MalcolmMielle opened this issue · comments

For now, the colors used for avatars are hardcoded in utils/colors.dart. The color logic should be delegated to the theme (e.g. yaru or adwaita) and moved out of libawaita.

Will yaru theme accept it?

Maybe there is a way to do it. I'm not sure how.

I think they should be hardcoded as it is the same for the original libadwaita library:
https://gitlab.gnome.org/GNOME/libadwaita/-/blob/main/src/stylesheet/widgets/_avatar.scss

If you disagree, then I will reopen the issue. I am open for suggestions.

Ok sounds good for now :)