|
| 1 | +### UI Design Guidelines |
1 | 2 |
|
2 | | -使用84, 210, 99 (一种亮绿色)作为主题色,你可以生成一组和谐的颜色,用于UI设计。这组颜色包括主色、浅色、深色、背景色、边框色和一些对比色。 |
| 3 | +#### Color Palette |
| 4 | +- **Primary Color**: |
| 5 | + - Bright Green: `#54D263` (84, 210, 99) |
3 | 6 |
|
4 | | -以下是一个颜色盘: |
| 7 | +- **Light Shades**: |
| 8 | + - Very Light Green: `#E7F8E9` (231, 248, 233) |
| 9 | + - Light Green: `#A6E6B3` (166, 230, 179) |
| 10 | + - Pale Green: `#78D999` (120, 217, 153) |
5 | 11 |
|
6 | | -### 主题色 (Primary Color) |
7 | | -- 亮绿色: `#54D263` (84, 210, 99) |
| 12 | +- **Dark Shades**: |
| 13 | + - Dark Green: `#42A352` (66, 163, 82) |
| 14 | + - Deeper Green: `#2D7B3C` (45, 123, 60) |
| 15 | + - Deep Forest Green: `#1C562B` (28, 86, 43) |
8 | 16 |
|
9 | | -### 浅色 (Light Shades) |
10 | | -- 非常浅的绿色: `#E7F8E9` (231, 248, 233) |
11 | | -- 浅绿色: `#A6E6B3` (166, 230, 179) |
12 | | -- 淡绿色: `#78D999` (120, 217, 153) |
| 17 | +- **Contrast Colors**: |
| 18 | + - Bright Orange: `#FFA726` (255, 167, 38) |
| 19 | + - Bright Yellow: `#FFEB3B` (255, 235, 59) |
| 20 | + - Bright Blue: `#29B6F6` (41, 182, 246) |
13 | 21 |
|
14 | | -### 深色 (Dark Shades) |
15 | | -- 深绿色: `#42A352` (66, 163, 82) |
16 | | -- 更深的绿色: `#2D7B3C` (45, 123, 60) |
17 | | -- 深森林绿: `#1C562B` (28, 86, 43) |
| 22 | +- **Neutral Colors**: |
| 23 | + - White: `#FFFFFF` (255, 255, 255) |
| 24 | + - Light Gray: `#F0F0F0` (240, 240, 240) |
| 25 | + - Gray: `#BDBDBD` (189, 189, 189) |
| 26 | + - Dark Gray: `#757575` (117, 117, 117) |
| 27 | + - Black: `#212121` (33, 33, 33) |
18 | 28 |
|
19 | | -### 对比色 (Contrast Colors) |
20 | | -- 亮橙色: `#FFA726` (255, 167, 38) |
21 | | -- 亮黄色: `#FFEB3B` (255, 235, 59) |
22 | | -- 亮蓝色: `#29B6F6` (41, 182, 246) |
| 29 | +- **Background Colors**: |
| 30 | + - Light Background: `#F5F5F5` (245, 245, 245) |
| 31 | + - Neutral Background: `#E0E0E0` (224, 224, 224) |
| 32 | + - Dark Background: `#BDBDBD` (189, 189, 189) |
23 | 33 |
|
24 | | -### 中性色 (Neutral Colors) |
25 | | -- 白色: `#FFFFFF` (255, 255, 255) |
26 | | -- 淡灰色: `#F0F0F0` (240, 240, 240) |
27 | | -- 灰色: `#BDBDBD` (189, 189, 189) |
28 | | -- 深灰色: `#757575` (117, 117, 117) |
29 | | -- 黑色: `#212121` (33, 33, 33) |
| 34 | +- **Border Colors**: |
| 35 | + - Light Border: `#E0E0E0` (224, 224, 224) |
| 36 | + - Neutral Border: `#9E9E9E` (158, 158, 158) |
| 37 | + - Dark Border: `#616161` (97, 97, 97) |
30 | 38 |
|
31 | | -### 背景色 (Background Colors) |
32 | | -- 浅背景色: `#F5F5F5` (245, 245, 245) |
33 | | -- 中性背景色: `#E0E0E0` (224, 224, 224) |
34 | | -- 深背景色: `#BDBDBD` (189, 189, 189) |
| 39 | +#### Typography |
| 40 | +- **Font Family**: |
| 41 | + - Use a legible and scalable font family such as Roboto, Open Sans, or Helvetica Neue for consistency across platforms. |
35 | 42 |
|
36 | | -### 边框色 (Border Colors) |
37 | | -- 浅边框色: `#E0E0E0` (224, 224, 224) |
38 | | -- 中性边框色: `#9E9E9E` (158, 158, 158) |
39 | | -- 深边框色: `#616161` (97, 97, 97) |
| 43 | +- **Font Sizes**: |
| 44 | + - Headings: 24px - 32px |
| 45 | + - Subheadings: 18px - 24px |
| 46 | + - Body Text: 14px - 18px |
| 47 | + - Button Text: 14px - 16px |
40 | 48 |
|
41 | | -这些颜色搭配可以为你的UI设计提供多样性和和谐美。你可以根据不同的需求使用这些颜色来设计按钮、背景、文本和其他UI元素。 |
| 49 | +- **Font Styles**: |
| 50 | + - Use bold for headings and important text. |
| 51 | + - Use italics or different font weights for emphasis. |
| 52 | + |
| 53 | +#### Layout |
| 54 | +- **Spacing**: |
| 55 | + - Maintain consistent spacing between elements (padding and margins). |
| 56 | + - Use grid systems or guidelines for alignment. |
| 57 | + |
| 58 | +- **Responsive Design**: |
| 59 | + - Ensure the UI adapts to different screen sizes and orientations. |
| 60 | + - Use media queries or adaptive layouts for responsiveness. |
| 61 | + |
| 62 | +- **Hierarchy**: |
| 63 | + - Use visual hierarchy to guide user attention (size, color, contrast). |
| 64 | + - Group related elements and use whitespace effectively. |
| 65 | + |
| 66 | +#### Interaction |
| 67 | +- **Buttons**: |
| 68 | + - Use consistent button styles for primary actions (e.g., filled buttons for primary actions, outlined buttons for secondary actions). |
| 69 | + - Provide visual feedback on button press (e.g., change in color, animation). |
| 70 | + |
| 71 | +- **Forms**: |
| 72 | + - Use clear labels and placeholders for input fields. |
| 73 | + - Validate input in real-time and provide helpful error messages. |
| 74 | + |
| 75 | +- **Navigation**: |
| 76 | + - Use intuitive navigation patterns (e.g., top bar, side menu) for easy access to different sections. |
| 77 | + - Highlight the current page or section in the navigation menu. |
| 78 | + |
| 79 | +#### Visuals |
| 80 | +- **Icons**: |
| 81 | + - Use simple and recognizable icons for actions and navigation. |
| 82 | + - Ensure icons are scalable and clear on different screen sizes. |
| 83 | + |
| 84 | +- **Images**: |
| 85 | + - Optimize images for fast loading without compromising quality. |
| 86 | + - Use images strategically to enhance content and visual appeal. |
| 87 | + |
| 88 | +- **Color Usage**: |
| 89 | + - Maintain consistency in color usage throughout the UI. |
| 90 | + - Use color sparingly for emphasis and visual hierarchy. |
| 91 | + |
| 92 | +#### Accessibility |
| 93 | +- **Contrast Ratio**: |
| 94 | + - Ensure sufficient color contrast for readability (WCAG guidelines recommend a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text). |
| 95 | + |
| 96 | +- **Keyboard Navigation**: |
| 97 | + - Ensure all interactive elements are accessible via keyboard navigation. |
| 98 | + - Use focus states to indicate keyboard focus. |
| 99 | + |
| 100 | +#### Branding |
| 101 | +- **Logo Usage**: |
| 102 | + - Use the brand logo consistently and prominently. |
| 103 | + - Ensure the logo is scalable and recognizable on different backgrounds. |
| 104 | + |
| 105 | +- **Color Palette**: |
| 106 | + - Use the defined color palette for brand consistency. |
| 107 | + - Avoid using colors that clash with the brand identity. |
| 108 | + |
| 109 | +#### Guidelines |
| 110 | +- **UI Style Guide**: |
| 111 | + - Create and maintain a UI style guide for consistency in design elements, colors, typography, and interactions. |
| 112 | + - Document UI patterns and best practices for reference by designers and developers. |
0 commit comments