ensemble icon indicating copy to clipboard operation
ensemble copied to clipboard

App-wide theming for primary and screen loading colors

Open amin-nas opened this issue 9 months ago • 2 comments

I want to be able to set following properties in a theme (e.g. light/dark theme) so that when user switches the theme, the style changes:

  1. primary
  2. loadingScreenBackgroundColor
  3. loadingScreenIndicatorColor

example

Light:
  Styles:
    App:
      primary: blue
      loadingScreenBackgroundColor: white
      loadingScreenIndicatorColor: 0xFFDEDEDE

Dark:
  Styles:
    App:
      primary: blue
      loadingScreenBackgroundColor: black
      loadingScreenIndicatorColor: 0xFF202020

amin-nas avatar May 02 '24 16:05 amin-nas

what's the actual issue? @amin-nas and how do I replicate?

kmahmood74 avatar Jul 16 '24 17:07 kmahmood74

@kmahmood74 See this example: https://studio.ensembleui.com/app/9YfZUVl3SC82UZ5Mnf2e/screen/dQQGbTa5d6wUWF2C69VR#

amin-nas avatar Jul 16 '24 18:07 amin-nas