Closed MalcolmMielle closed 2 years ago
I don't know much but why not are we dependent on provider, let's say if someone want to use riverpod instead then they would got extra dependency of provider?
I am saying this cause I prefer riverpod.
I've used both and I think they are both nice. If you want to switch it to riverpod that's fine by me but the PR I sent was using provider :). Now the library is stuck in a surprising in between state and I just believe it needs to be unified :).
That said the provider dep is entirely contained in the library so far.
One way to remove the provider/riverpod dependency would be to use only element of ThemeData
to color the gnomeElements but for now we are using specific color attributes like headerBarBackgroundTop
. That's why I used a provider GnomeTheme with those attributes. What do you see as a good solution ?
All hail to libadwaita
, coming from v1 and newer.
Buttons, and pop ups need to be updated to use provider so that the layers of enums in gtk_colors can be removed and each element is consistent with the theming :)