How do you think about a color management system for designer and runtime?
1.In the designer (or somewhere else) we could define some colors. Not only for one form/page but for the whole app/project. Possible in two versions for DarkTheme and LightTheme.
-primary: #FFECEFF1
-secondary: #FFECEFF1
-background: #FF263238
-color1: #FF263238
-color2: #FF263238
-color3: #FF263238
2. In runtime we could use an color-object to get this values
-Text1.TextColor = Colors.primary
-Label2.Color = Colors.color3
3. In designer we could write in a property field like "TextColor" instead the value just the resource key like ".color2"
This would be very flexible, same for B4A/B4i and give better results in app design.
1.In the designer (or somewhere else) we could define some colors. Not only for one form/page but for the whole app/project. Possible in two versions for DarkTheme and LightTheme.
-primary: #FFECEFF1
-secondary: #FFECEFF1
-background: #FF263238
-color1: #FF263238
-color2: #FF263238
-color3: #FF263238
2. In runtime we could use an color-object to get this values
-Text1.TextColor = Colors.primary
-Label2.Color = Colors.color3
3. In designer we could write in a property field like "TextColor" instead the value just the resource key like ".color2"
This would be very flexible, same for B4A/B4i and give better results in app design.