Restore colors on tree view
#4861 (closed) removed colors because they were hard coded, did not work with theme etc.
But as states in msg22147, a better implementation would be welcomed.
So here is my proposal, we could limit color on tree to three values: success, warning and danger (taken from bootstrap [1]). This way they can be integrated into the theme. Unfortunately, GTK does not allow yet CSS for row [2] but we can manage them like we do for the icons: having a list of configured colors.
[1] https://getbootstrap.com/docs/3.4/css/#tables-contextual-classes
[2] https://gitlab.gnome.org/GNOME/gtk/issues/581
Files
Download | Creator | Timestamp | Type |
---|---|---|---|
Screenshot_2019-08-08 Parties - Tryton.png | @ced | 2019-08-08 15:44:00.569000 UTC | image/png |
Screenshot_2019-08-08 Customer Invoices - Tryton.png | @ced | 2019-08-08 15:44:13.551000 UTC | image/png |
2019-08-08-173756_970x776_scrot.png | @ced | 2019-08-08 15:44:21.922000 UTC | image/png |
2019-08-08-173808_970x776_scrot.png | @ced | 2019-08-08 15:44:30.169000 UTC | image/png |