Commit Graph

3 Commits

Author SHA1 Message Date
Lorenzo Cogotti 958206f1f7 [*] Rework theme customization.
This commit allows more flexible and consistent theme overriding
rules for each Widget. There are 3 levels of customization.

1. Global theme (yui.theme) this is the default theme for every Ui
2. Ui theme, this overrides the global theme and provides a default
   for every Widget of the Ui
3. Widget theme, this overrides the Ui theme for a single widget

This commit also allows themes to specify a font field.
This replaces the sparse color, font and cornerRadius field often
provided by each Widget.
Widgets and Uis may also partially override a theme by specifying
only a few fields.
2022-10-25 19:06:57 +02:00
Andrea 91ed7f50f5 [*] add documentation 2022-09-12 09:36:03 +02:00
Lorenzo Cogotti 6dd7691d71 [*] Initial commit. 2022-08-15 23:41:17 +02:00