@@ -115,8 +115,8 @@ export const InterfaceColors = () => {
115
115
< h4 > Text and interactables</ h4 >
116
116
< ul >
117
117
< li >
118
- < b > Text</ b > - Used for most text, or icons appearing together with
119
- text
118
+ < b > Text</ b > - Use it for text, icons or other elements that needs to
119
+ standout from the base of the element
120
120
</ li >
121
121
< li >
122
122
< b > Interactable</ b > - Used when the text or icon is interactable, such
@@ -127,29 +127,30 @@ export const InterfaceColors = () => {
127
127
< h4 > States</ h4 >
128
128
< ul >
129
129
< li >
130
- < b > Selected</ b > - Used to highlight the text or background color of
131
- items that are currently selected.
130
+ < b > Selected</ b > - Use to highlight text or background when a component
131
+ is in the ' selected' stated .
132
132
</ li >
133
133
< li >
134
- < b > Current</ b > - Only used to show navigation. Example: Background or
135
- text color of the current tab or breadcrumb.
134
+ < b > Current</ b > - Use to highlight text or background when a component
135
+ is in the 'current' stated, only used by navigation items to indicate
136
+ the current location.
136
137
</ li >
137
- < li > < b > Disabled</ b > - For elements that are disabled.</ li >
138
+ < li > < b > Disabled</ b > - Use for displaying disabled state .</ li >
138
139
</ ul >
139
140
140
141
< h4 > Borders and dividers</ h4 >
141
142
< ul >
142
- < li > < b > Border</ b > - Used when an element needs a border around it </ li >
143
+ < li > < b > Border</ b > - Use for component borders </ li >
143
144
< li >
144
- < b > Divider</ b > - For elements that needs to be visually separated.
145
- Example: a list of items
145
+ < b > Divider</ b > - Used for thin border that provides a visual
146
+ separation. Example: a list of items
146
147
</ li >
147
148
</ ul >
148
149
149
150
< h4 > Misc</ h4 >
150
151
< ul >
151
- < li > < b > Surface</ b > - The main background color for elements</ li >
152
- < li > < b > Background</ b > - The main background color of the app</ li >
152
+ < li > < b > Surface</ b > - The general background color for elements</ li >
153
+ < li > < b > Background</ b > - The general background color of the app</ li >
153
154
< li > < b > Header</ b > - Background color of the header of the app</ li >
154
155
< li >
155
156
< b > Focus</ b > - Color for the focus outline on inputs, buttons, links
@@ -160,16 +161,20 @@ export const InterfaceColors = () => {
160
161
< h4 > Color variants</ h4 >
161
162
< p > Each color can come in additional variants:</ p >
162
163
< ul >
164
+ < li >
165
+ < b > Default</ b > - Each color comes in a default variant, meaning no
166
+ variant-name prepended to the variable-name.
167
+ </ li >
163
168
< li >
164
169
< b > Contrast</ b > - This color will stand out and be readable with the
165
- main color as it's background. Mostly used for text and icons.
170
+ default variant as it's background. Mostly used for text and icons.
166
171
</ li >
167
172
< li >
168
173
< b > Standalone</ b > - This color will have a higher contrast to the
169
- surface color than it's main variant. Example: if the surface color is
170
- light, the standalone variant will be a darker variant of the main
171
- color . Often used when thin or smaller items has to stand out on the
172
- surface backgrounds. Items such as: text, icons and border.
174
+ background than it's default variant. Example: if the background is
175
+ light, the standalone variant will be a darker variant of the default
176
+ variant . Often used when thin or smaller items has to stand out on the
177
+ background. Useful for items such as: text, icons and border.
173
178
</ li >
174
179
< li >
175
180
< b > Emphasis</ b > - Used when you want to emphasize an element, make it
0 commit comments