(If you are running this app on device, turn it upside down to see 'palm-dark' styling in action.)
By default, Mojo's widgets are styled to support scenes with dark text on a light background. For dark scenes (light text on a dark background) Mojo provides an alternate set of dark styles.
To apply this theme to your scene, add the 'palm-dark' class to your body or top-level scene element.
Optimization
If you don't use dark styling, you can reduce your application load time by declaring that your application will use just the light styles by setting the theme property in your appinfo.json file:
  • "theme": "light"
place 'palm-dark' class on the top- level element within your scene: