Skip to content

Commit c2a13a3

Browse files
authored
Merge pull request #10405 from nextcloud/backport/10374/stable27
[stable27] feat(developer): Add `color-info` to design guidelines
2 parents 00416d7 + ae0db76 commit c2a13a3

5 files changed

Lines changed: 13 additions & 7 deletions

File tree

developer_manual/design/foundations.rst

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,28 +87,33 @@ Status and indicators
8787

8888
.. list-table::
8989

90-
* - .. figure:: ../images/colour-success.svg
90+
* - .. figure:: ../images/color-info.svg
91+
92+
Info: #006AA3
93+
94+
- .. figure:: ../images/color-success.svg
9195

9296
Success: #46BA61
9397

94-
- .. figure:: ../images/colour-error.svg
98+
- .. figure:: ../images/color-error.svg
9599

96100
Error: #E9322D
97101

98-
- .. figure:: ../images/colour-warning.svg
102+
- .. figure:: ../images/color-warning.svg
99103

100104
Warning: #ECA700
101105

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

104108
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.
105109

106110

107111
* On web:
108112

109-
* Success colour: ``var(--color-success)``
110-
* Warning colour: ``var(--color-warning)``
111-
* Error colour: ``var(--color-error)``
113+
* Info color: ``var(--color-info)``
114+
* Success color: ``var(--color-success)``
115+
* Warning color: ``var(--color-warning)``
116+
* Error color: ``var(--color-error)``
112117

113118
* Android: Material Design guidelines
114119
* iOS: `Apple HIG colors <https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/color/>`_
Lines changed: 1 addition & 0 deletions
Loading
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)