Resource Categories and Access
During application development, you may need to use different resources, such as colors, fonts, spacing, and images, based on the device or configuration. Depending on the resource type, you can achieve this using the following methods:
-
Application resources: configure device- or configuration-specific resources in the resource files.
-
System resources: Obtain the ID and configuration-specific values of colors, fonts, or other resources in Resources; obtain system icons in HarmonyOS Symbol.
Reference
For additional information please refer to the Resource Categories and Access