mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
1 line
3.3 KiB
JavaScript
1 line
3.3 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["3b6c892f"],{"3b6c892f":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"texts",{enumerable:!0,get:function(){return s;}}),n("f6f104ef");let s=[{value:"An icon is a graphical representation of meaning. Icons can be used to express actions, state, and even to categorize data. Ant Design's icons adhere to the following two principles and are designed for cross-platform consistency:",paraId:0},{value:"Graphics that are clear, intuitive, and simple enjoy a higher degree of recognition and are more easily understood",paraId:1},{value:"All icons in the user interface should be consistent in style (detail design, perspective, stroke weight, etc.)",paraId:1},{value:"System icons are often used to represent commonly used operations, such as: save, edit, delete. Ant Design also includes icons to represent file types and state.",paraId:2},{value:"View the icons",paraId:3},{value:"Contour lines play an important role in making various icons with the same visual effect.",paraId:4},{value:"Please make all icons in the 1024\xd71024 resolution (16\xd716 64 times).",paraId:5},{value:"Illustrator tips",paraId:6},{value:"Consistent stroke weight is the key to maintaining the visual unity of the entire icon system. Ant Design's icons have a consistent line width of 72px.",paraId:7},{value:"Consistent rounding of corners and sizing of angles is also an important element in maintaining visual unity.",paraId:8},{value:"Icons that follow Ant Design should have rounded corners and edges using a 72px radius.",paraId:9},{value:"In certain special cases (for example, when the icon is too compact), adjustments to line width, outlines, or other subtle changes may be made to increase readability.",paraId:10},{value:"Always keep a simple, flat style. Icons should not have a sense of depth nor a large amount of detail.",paraId:11},{value:'Uniform naming conventions make finding icons faster and easier. For example, icons with a surrounding outline have a uniform "-o" suffix.',paraId:12},{value:"Icons should be scaled according to the text size, according to the Ant Design specification.",paraId:13},{value:"For example, icons inline with 12pt font should be 12px in size with 8px of spacing.",paraId:14},{value:"The color of the icon should be consistent the color of the surrounding copy, unless the icon is being used to express state (in which case it should be colored accordingly).",paraId:15},{value:"Business icons, unlike system icons, do not themselves have functional operations, but rather an abstraction that assists with copywriting. Compared to the system icon, the business icon is more rich in the details of the design, the size of the use of relatively large.",paraId:16},{value:"Note: Business icons design principles and system icons are basically the same, the details of the processing (such as stroke weight, fillet size, etc.) depending on the specific scene may be.",paraId:17},{value:"In normal use, there are 32px (minimum size), 48px and 64px (maximum size) three options.",paraId:18},{value:"There are two kinds of business icon, single-color (neutral color) and double-color (neutral color + primary color), the area of primary color does not exceed 40% of the entire icon.",paraId:19}];}}]); |