1e41f4b71Sopenharmony_ci# Application Icons
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciAn application icon should artistically and accurately signal the purpose, functionality, and brand identity of the application.
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci![canvas-xhdpi](figures/canvas-xhdpi.png)
6e41f4b71Sopenharmony_ciExample OpenHarmony application icons 
7e41f4b71Sopenharmony_ci
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ci## Design Principles
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ciComply with the following principles when designing OpenHarmony application icons:
13e41f4b71Sopenharmony_ci
14e41f4b71Sopenharmony_ci|![elegantly-simple@2x](figures/elegantly-simple@2x.png)|![instantly-recognizable](figures/instantly-recognizable.png)| ![emotionally-engaging](figures/emotionally-engaging.png)|
15e41f4b71Sopenharmony_ci| -------- | -------- | -------- |
16e41f4b71Sopenharmony_ci| **Elegantly simple**<br>Add to your application icon elegance accented by simple elements and clean lines.| **Instantly recognizable**<br>Make sure your application icon accurately conveys what it represents: the purpose, functionality, and brand identity. Strive for high legibility and recognizability.| **Emotionally engaging**<br>Carefully use graphics and colors for your application icon to effectively communicate ideas and your brand's visual identity. |
17e41f4b71Sopenharmony_ci
18e41f4b71Sopenharmony_ci## Graphics Design
19e41f4b71Sopenharmony_ci
20e41f4b71Sopenharmony_ciComply with the basic principles and design methods described below when designing an application icon.
21e41f4b71Sopenharmony_ci
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ci### Basic Principles
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ciYour application icon should be dominated by a single element, a metaphorical illustration that fully represents the purpose and functionality of the application. Use smooth lines, neat proportions, and well-thought-out colors.
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ci![canvas-01xhdpi](figures/canvas-01xhdpi.png)
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ci
30e41f4b71Sopenharmony_ci### Design Methods
31e41f4b71Sopenharmony_ci
32e41f4b71Sopenharmony_ciTo maximize consistency and harmony of icon graphics, OpenHarmony theme icons follow the golden ratio.
33e41f4b71Sopenharmony_ci
34e41f4b71Sopenharmony_ci
35e41f4b71Sopenharmony_ci#### Derivation of the Golden Ratio
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ci![golden-ratio](figures/golden-ratio.png)
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ci
40e41f4b71Sopenharmony_ci#### Use of the Golden Ratio
41e41f4b71Sopenharmony_ci
42e41f4b71Sopenharmony_ciThe figure below illustrates the golden ratio used in the application icon design.
43e41f4b71Sopenharmony_ci
44e41f4b71Sopenharmony_ci![canvas-02xhdpi](figures/canvas-02xhdpi.png)
45e41f4b71Sopenharmony_ci
46e41f4b71Sopenharmony_ci
47e41f4b71Sopenharmony_ci## Icon Deliverables
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ciThe OpenHarmony application icons are delivered using adaptive icons. The table below lists the icon deliverables that should be provided.
50e41f4b71Sopenharmony_ci
51e41f4b71Sopenharmony_ci| Attribute| Description|
52e41f4b71Sopenharmony_ci| -------- | -------- |
53e41f4b71Sopenharmony_ci| Format| png |
54e41f4b71Sopenharmony_ci| Size| 288px\*288px |
55e41f4b71Sopenharmony_ci| Content| One foreground layer + One background layer|
56e41f4b71Sopenharmony_ci
57e41f4b71Sopenharmony_ciSquare image resources are required, as shown below.
58e41f4b71Sopenharmony_ci
59e41f4b71Sopenharmony_ci![adaptive icon](figures/en-us_image_0000001600905394.png)
60e41f4b71Sopenharmony_ci
61e41f4b71Sopenharmony_ci
62e41f4b71Sopenharmony_ci### Implementing an Adaptive Icon
63e41f4b71Sopenharmony_ci
64e41f4b71Sopenharmony_ciAfter the correct image resources are provided, the system uses an adaptive mask to process the icon to ensure that all icons are displayed consistently on the home screen, as shown below.
65e41f4b71Sopenharmony_ci
66e41f4b71Sopenharmony_ci![layered-icon](figures/layered-icon.png)
67e41f4b71Sopenharmony_ci
68e41f4b71Sopenharmony_ci- Visible area: After the foreground layer and background layer are overlaid, the 2/3 area in the middle is displayed. The size of the visible area is 192 px x 192 px.
69e41f4b71Sopenharmony_ci
70e41f4b71Sopenharmony_ci- Mask: The mask area is used.
71e41f4b71Sopenharmony_ci
72e41f4b71Sopenharmony_ciTo ensure that your icon can maintain the optimal display effect in different use scenarios, test the display effect as shown below.
73e41f4b71Sopenharmony_ci
74e41f4b71Sopenharmony_ci| ![en-us_image_0000001650549569.png](figures/en-us_image_0000001650549569.png) | ![en-us_image_0000001650467121.png](figures/en-us_image_0000001650467121.png)|
75e41f4b71Sopenharmony_ci| -------- | -------- |
76e41f4b71Sopenharmony_ci| Settings icons| Notification icons|
77e41f4b71Sopenharmony_ci
78e41f4b71Sopenharmony_ci| UI| Icon Size|
79e41f4b71Sopenharmony_ci| -------- | -------- |
80e41f4b71Sopenharmony_ci| Settings| 40 vp \* 40 vp (120 px \* 120 px)|
81e41f4b71Sopenharmony_ci| Notification| 16 vp \* 16 vp (48 px \* 48 px)|
82e41f4b71Sopenharmony_ci
83e41f4b71Sopenharmony_ci
84e41f4b71Sopenharmony_ciFor details about the default application icon design template provided by OpenHarmony, see [Resources](design-resources.md).
85