resources/README.md

37 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

# Resources
2021-06-01 16:37:38 +00:00
## Introduction
2021-06-01 16:37:38 +00:00
The Resources module defines global resources at the system level.
2021-06-01 16:37:38 +00:00
### System Fonts
2021-06-01 16:37:38 +00:00
By default, the Resources module provides only one font family, namely, HarmonyOS Sans.
2021-06-01 16:37:38 +00:00
HarmonyOS Sans is a family of variable fonts developed by Huawei for all-scenario experience. It is available for commercial use for free. For details, see the license agreement.
The font family currently provides six font weights: Thin, Light, Regular, Medium, Bold and Black. You can select a proper font weight based on the information hierarchy.
It supports a total of 105 languages from the Chinese, Latin, Cyril, Greek, and Arabic language systems at present. More languages will be supported in the future.
### System Resource Package
The system resource package accommodates resources that are widely used by applications, such as the layered parameters, permission names and descriptions, etc. In addition, permission definitions are provided in the **config.json** file.
## Directory Structure
2021-06-01 16:37:38 +00:00
```
/utils/system_resources
2021-06-01 16:37:38 +00:00
├── fonts # System fonts
├── systemres # System resource package
2021-06-01 16:37:38 +00:00
```
## Repositories Involved
2021-06-01 16:37:38 +00:00
[Globalization subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/globalization.md)
[global\_resmgr\_standard](https://gitee.com/openharmony/global_resmgr_standard/blob/master/README.md)
2021-06-01 16:37:38 +00:00
**resources**