gitlab-org--gitlab-foss/doc/development/ux_guide/illustrations.md

87 lines
3.6 KiB
Markdown
Raw Normal View History

2017-05-18 02:15:47 -04:00
# Illustrations
The illustrations should always align with topics and goals in specific context.
## Principles
#### Be simple.
- For clarity, we use simple and specific elements to create our illustrations.
#### Be optimistic.
- We are an open-minded, optimistic, and friendly team. We should reflect those values in our illustrations to connect with our brand experience.
2017-05-18 02:15:47 -04:00
#### Be gentle.
- Our illustrations assist users in understanding context and guide users in the right direction. Illustrations are supportive, so they should be obvious but not aggressive.
2017-05-18 02:15:47 -04:00
## Style
#### Shapes
- All illustrations are geometric rather than organic.
- The illustrations are made by circles, rectangles, squares, and triangles.
2017-05-18 02:15:47 -04:00
2017-05-19 01:39:20 -04:00
<img src="img/illustrations-geometric.png" width=224px alt="Example for geometric" />
2017-05-18 02:15:47 -04:00
#### Stroke
- Standard border thickness: **4px**
- Depending on the situation, border thickness can be changed to **3px**. For example, when the illustration size is small, an illustration with 4px border thickness would look tight. In this case, the border thickness can be changed to 3px.
2017-05-18 02:15:47 -04:00
- We use **rounded caps** and **rounded corner**.
2017-05-19 01:21:27 -04:00
| Do | Don't |
| -------- | -------- |
2017-05-19 01:39:20 -04:00
| <img src="img/illustrations-caps-do.png" width= 133px alt="Do: caps and corner" /> | <img src="img/illustrations-caps-don't.png" width= 133px alt="Don't: caps and corner"/> |
2017-05-19 01:21:27 -04:00
2017-05-18 02:15:47 -04:00
#### Radius
- Standard corner radius: **10px**
- Depending on the situation, corner radius can be changed to **5px**. For example, when the illustration size is small, an illustration with 10px corner radius would be over-rounded. In this case, the corner radius can be changed to 5px.
2017-05-18 02:15:47 -04:00
<img src="img/illustrations-border-radius.png" width= 464px alt="Example for border radius"/>
2017-05-18 02:15:47 -04:00
2017-08-09 02:29:38 -04:00
#### Size
Depends on the situation, the illustration size can be the 3 types below:
**Large**
* Use case: Empty states, error pages(e.g. 404, 403)
* For vertical layout, the illustration should not larger than **430*300 px**.
2017-08-21 02:19:26 -04:00
* For horizontal layout, the illustration should not larger than **430*380 px**.
2017-08-09 02:29:38 -04:00
2017-08-21 02:19:26 -04:00
| Vertical layout | Horizontal layout |
2017-08-09 02:29:38 -04:00
| --------------- | ----------------- |
| <img src="img/illustration-size-large-vertical.png" /> | <img src="img/illustration-size-large-horizontal.png" />
**Medium**
* Use case: Banner
* The illustration should not larger than **240*160 px**
* The illustration should keep simple and clear. We recommend not including too many elements in the medium size illustration.
<img src="img/illustration-size-medium.png" width=983px />
**Small**
2017-08-21 02:19:26 -04:00
* Use case: Graphics for explanatory text, graphics for status.
* The illustration should not larger than **160*90 px**.
2017-08-09 02:29:38 -04:00
* The illustration should keep simple and clear. We recommend not including too many elements in the small size illustration.
<img src="img/illustration-size-small.png" width=983px />
**Illustration on mobile**
- Keep the proportions in original ratio.
2017-05-19 01:21:27 -04:00
#### Colors palette
For consistency, we recommend choosing colors from our color palette.
2017-05-18 02:15:47 -04:00
| Orange | Purple | Grey |
| -------- | -------- | -------- |
2017-05-19 01:41:53 -04:00
| <img src="img/illustrations-color-orange.png" width= 160px alt="Orange" /> | <img src="img/illustrations-color-purple.png" width= 160px alt="Purple" /> | <img src="img/illustrations-color-grey.png" width= 160px alt="Grey" /> |
2017-05-18 02:15:47 -04:00
| #FC6D26 | #6B4FBB | #EEEEEE |
2017-08-09 02:29:38 -04:00
#### Don't
- Don't include the typography in the illustration.
- Don't include tanuki in the illustration. If necessary, we recommend having tanuki monochromatic.
2017-05-19 01:39:20 -04:00
---
2017-05-18 02:15:47 -04:00
| Orange | Purple |
| -------- | -------- |
| <img src="img/illustrations-palette-oragne.png" width= 160px alt="Palette - Orange" /> | <img src="img/illustrations-palette-purple.png" width= 160px alt="Palette - Purple" /> |