当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
1.4K Star 7.4K Fork 8.2K

OpenHarmony/docs
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
design-resources.md 2.43 KB
一键复制 编辑 原始数据 按行查看 历史

Resources

This topic provides the following information for UX designers and developers:

OpenHarmony System Resource Layer Design lists the IDs of available system resources in OpenHarmony and their values on different types of devices. It consists of six sheets, as described below.

Sheet Description
Application Color Parameters Color-related system resources that can be used during application development.
Application Rounded Corner Parameters System resources related to rounded corners that can be used during application development.
Application Font Parameters Font-related system resources that can be used during application development.
Application Spacing Parameters Spacing-related system resources that can be used during application development.
Service Widget Parameters System resources that can be used during service widget development.
Quick Reference for Opacity Values A quick reference for converting opacity between percentage and hexadecimal representations.

NOTE

  • You are advised to use application-related system parameters during application development and widget-related system parameters during widget development.

  • A system parameter has different values on different device types. Currently, only system parameter values on the default device are provided. Values for others device types will be provided later.

  • Colors can be expressed in the form of RGB or ARGB. The color represented by RGB is completely opaque, and the opacity of the color represented by ARGB is determined by A (alpha channel). For example, #7FFF0000 indicates red with 50% opacity, and #FFFF0000 and #FF0000 indicate red with 100% opacity.

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
其他
1
https://gitee.com/openharmony/docs.git
git@gitee.com:openharmony/docs.git
openharmony
docs
docs
master

搜索帮助