When creating UI we try to re-use as much as we can. This allows for easier refactoring, and good standards in our codebase. Below are some ways to re-use some global resources defined and available in our project.
In order to use our predefined global colors, you can just add @colors/[color name]
. For example: @colors/primaryRed
.
If you need a color custom for your feature that is not defined there, you can define it in a local colors.xml
in your module.