gitlab-org--gitlab-foss/doc/development/ux_guide/basics.md
awhildy 30f0504916 Create animation page and clean up index
Add guidance on timings and easing

[ci skip]

Detail when not to use easing

Add dropdown and hover examples

Add quick update animation
2016-12-05 14:09:24 -08:00

2.7 KiB

Basics

Contents


Responsive

GitLab is a responsive experience that works well across all screen sizes, from mobile devices to large monitors. In order to provide a great user experience, the core functionality (browsing files, creating issues, writing comments, etc.) must be available at all resolutions. However, due to size limitations, some secondary functionality may be hidden on smaller screens. Please keep this functionality limited to rare actions that aren't expected to be needed on small devices.


Typography

Primary typeface

GitLab's main typeface used throughout the UI is Source Sans Pro. We support both the bold and regular weight.

Source Sans Pro sample

Monospace typeface

This is the typeface used for code blocks. GitLab uses the OS default font.

  • Menlo (Mac)
  • Consolas (Windows)
  • Liberation Mono (Linux)

Monospace font sample


Icons

GitLab uses Font Awesome icons throughout our interface.

Trash icon The trash icon is used for destructive actions that deletes information.
Edit icon The pencil icon is used for editing content such as comments.
Notification icon The bell icon is for notifications, such as Todos.
Subscribe icon The eye icon is for subscribing to updates. For example, you can subscribe to a label and get updated on issues with that label.
RSS icon The standard RSS icon is used for linking to RSS/atom feeds.
Close icon An 'x' is used for closing UI elements such as dropdowns.
Add icon A plus is used when creating new objects, such as issues, projects, etc.

TODO: update this section, add more general guidance to icon usage and personality, etc.


Color

Blue Blue is used to highlight primary active elements (such as the current tab), as well as other organizational and managing commands.
Green Green is for actions that create new objects.
Orange Orange is used for warnings
Red Red is reserved for delete and other destructive commands
Grey Grey is used for neutral secondary elements. Depending on context, white is sometimes used instead.

TODO: Establish a perspective for color in terms of our personality and rationalize with Marketing usage.