Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions developer_manual/design/foundations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,28 +87,33 @@ Status and indicators

.. list-table::

* - .. figure:: ../images/colour-success.svg
* - .. figure:: ../images/color-info.svg

Info: #006AA3

- .. figure:: ../images/color-success.svg

Success: #46BA61

- .. figure:: ../images/colour-error.svg
- .. figure:: ../images/color-error.svg

Error: #E9322D

- .. figure:: ../images/colour-warning.svg
- .. figure:: ../images/color-warning.svg

Warning: #ECA700

Interface elements associated with a status like success, error, or warning may also be colored to communicate the action better.
Interface elements associated with a status like info, success, error, or warning may also be colored to communicate the action better.

While interface elements like buttons are colored differently depending on their action, the color of the text in that element is almost always either of the main text colors, that is light or dark.


* On web:

* Success colour: ``var(--color-success)``
* Warning colour: ``var(--color-warning)``
* Error colour: ``var(--color-error)``
* Info color: ``var(--color-info)``
* Success color: ``var(--color-success)``
* Warning color: ``var(--color-warning)``
* Error color: ``var(--color-error)``

* Android: Material Design guidelines
* iOS: `Apple HIG colors <https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/color/>`_
Expand Down
1 change: 1 addition & 0 deletions developer_manual/images/color-info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.