Modularizing Themes
In this lesson, you'll learn how to organize themes to avoid duplicating the same styling code.
We'll cover the following...
Modularizing themes
It’s a good idea to create a separate class for the Global theme created in the previous lesson to keep styling and design separate from the interface building codebase.
We can pull out the Global theme in a separate MyAppThemes
class, like below. Create a static
method appThemeLight()
to access the light theme from other interface classes. The static
...