@iress-oss/ids-mcp-server 6.0.0-alpha.1-canary-20251204032753-fe18cab → 6.0.0-alpha.1-canary-20251204040305-3639454
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/docs/components_components-alert-docs.md +1054 -0
- package/generated/docs/components_components-autocomplete-docs.md +3304 -0
- package/generated/docs/components_components-autocomplete-recipes-docs.md +98 -0
- package/generated/docs/components_components-badge-docs.md +312 -0
- package/generated/docs/components_components-button-docs.md +2339 -0
- package/generated/docs/components_components-buttongroup-docs.md +980 -0
- package/generated/docs/components_components-card-docs.md +1970 -0
- package/generated/docs/components_components-checkbox-docs.md +1083 -0
- package/generated/docs/components_components-checkboxgroup-docs.md +1597 -0
- package/generated/docs/components_components-checkboxgroup-recipes-docs.md +209 -0
- package/generated/docs/components_components-col-docs.md +755 -0
- package/generated/docs/components_components-container-docs.md +172 -0
- package/generated/docs/components_components-divider-docs.md +235 -0
- package/generated/docs/components_components-expander-docs.md +428 -0
- package/generated/docs/components_components-field-docs.md +3345 -0
- package/generated/docs/components_components-filter-docs.md +4091 -0
- package/generated/docs/components_components-hide-docs.md +450 -0
- package/generated/docs/components_components-icon-docs.md +1017 -0
- package/generated/docs/components_components-image-docs.md +168 -0
- package/generated/docs/components_components-inline-docs.md +1962 -0
- package/generated/docs/components_components-input-docs.md +1388 -0
- package/generated/docs/components_components-input-recipes-docs.md +349 -0
- package/generated/docs/components_components-inputcurrency-docs.md +636 -0
- package/generated/docs/components_components-inputcurrency-recipes-docs.md +208 -0
- package/generated/docs/components_components-introduction-docs.md +448 -0
- package/generated/docs/components_components-label-docs.md +229 -0
- package/generated/docs/components_components-link-docs.md +454 -0
- package/generated/docs/components_components-menu-docs.md +2219 -0
- package/generated/docs/components_components-menu-menuitem-docs.md +1455 -0
- package/generated/docs/components_components-modal-docs.md +2002 -0
- package/generated/docs/components_components-panel-docs.md +342 -0
- package/generated/docs/components_components-placeholder-docs.md +98 -0
- package/generated/docs/components_components-popover-docs.md +1631 -0
- package/generated/docs/components_components-popover-recipes-docs.md +537 -0
- package/generated/docs/components_components-progress-docs.md +128 -0
- package/generated/docs/components_components-provider-docs.md +123 -0
- package/generated/docs/components_components-radio-docs.md +499 -0
- package/generated/docs/components_components-radiogroup-docs.md +1573 -0
- package/generated/docs/components_components-readonly-docs.md +277 -0
- package/generated/docs/components_components-richselect-docs.md +6101 -0
- package/generated/docs/components_components-row-docs.md +2172 -0
- package/generated/docs/components_components-select-docs.md +1110 -0
- package/generated/docs/components_components-skeleton-docs.md +467 -0
- package/generated/docs/components_components-skeleton-recipes-docs.md +110 -0
- package/generated/docs/components_components-skiplink-docs.md +220 -0
- package/generated/docs/components_components-slideout-docs.md +1910 -0
- package/generated/docs/components_components-slider-docs.md +1284 -0
- package/generated/docs/components_components-spinner-docs.md +90 -0
- package/generated/docs/components_components-stack-docs.md +730 -0
- package/generated/docs/components_components-table-docs.md +4038 -0
- package/generated/docs/components_components-tabset-docs.md +955 -0
- package/generated/docs/components_components-tabset-tab-docs.md +342 -0
- package/generated/docs/components_components-tag-docs.md +410 -0
- package/generated/docs/components_components-text-docs.md +593 -0
- package/generated/docs/components_components-toaster-docs.md +451 -0
- package/generated/docs/components_components-toggle-docs.md +513 -0
- package/generated/docs/components_components-tooltip-docs.md +564 -0
- package/generated/docs/components_components-validationmessage-docs.md +608 -0
- package/generated/docs/components_contact-us-docs.md +9 -0
- package/generated/docs/components_foundations-accessibility-docs.md +33 -0
- package/generated/docs/components_foundations-consistency-docs.md +44 -0
- package/generated/docs/components_foundations-content-docs.md +18 -0
- package/generated/docs/components_foundations-introduction-docs.md +17 -0
- package/generated/docs/components_foundations-principles-docs.md +60 -0
- package/generated/docs/components_foundations-responsive-layout-docs.md +2692 -0
- package/generated/docs/components_foundations-user-experience-docs.md +53 -0
- package/generated/docs/components_foundations-visual-design-docs.md +39 -0
- package/generated/docs/components_foundations-z-index-stacking-docs.md +288 -0
- package/generated/docs/components_frequently-asked-questions-docs.md +44 -0
- package/generated/docs/components_get-started-develop-docs.md +47 -0
- package/generated/docs/components_get-started-using-storybook-docs.md +55 -0
- package/generated/docs/components_introduction-docs.md +85 -0
- package/generated/docs/components_patterns-form-docs.md +2469 -0
- package/generated/docs/components_patterns-form-recipes-docs.md +1597 -0
- package/generated/docs/components_patterns-introduction-docs.md +31 -0
- package/generated/docs/components_patterns-loading-docs.md +1908 -0
- package/generated/docs/components_patterns-shadow-docs.md +195 -0
- package/generated/docs/components_resources-code-katas-docs.md +25 -0
- package/generated/docs/components_resources-introduction-docs.md +28 -0
- package/generated/docs/components_resources-mcp-server-docs.md +23 -0
- package/generated/docs/components_resources-migration-guides-from-v4-to-v5-docs.md +142 -0
- package/generated/docs/components_styling-props-colour-docs.md +91 -0
- package/generated/docs/components_styling-props-elevation-docs.md +69 -0
- package/generated/docs/components_styling-props-radius-docs.md +63 -0
- package/generated/docs/components_styling-props-reference-docs.md +160 -0
- package/generated/docs/components_styling-props-screen-readers-docs.md +66 -0
- package/generated/docs/components_styling-props-sizing-docs.md +217 -0
- package/generated/docs/components_styling-props-spacing-docs.md +545 -0
- package/generated/docs/components_styling-props-typography-docs.md +66 -0
- package/generated/docs/components_versions-docs.md +14 -0
- package/generated/docs/guidelines.md +3083 -0
- package/generated/docs/introduction-docs.md +37 -0
- package/generated/docs/tokens_colour-docs.md +479 -0
- package/generated/docs/tokens_elevation-docs.md +39 -0
- package/generated/docs/tokens_introduction-docs.md +150 -0
- package/generated/docs/tokens_radius-docs.md +67 -0
- package/generated/docs/tokens_spacing-docs.md +87 -0
- package/generated/docs/tokens_typography-docs.md +305 -0
- package/package.json +2 -2
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Iress Design System (IDS)
|
|
2
|
+
=========================
|
|
3
|
+
|
|
4
|
+
These are the official packages for the Iress Design System (IDS). The Design System is a collection of reusable components, styles, and guidelines that help maintain consistency across Iress applications.
|
|
5
|
+
|
|
6
|
+
React components
|
|
7
|
+
----------------
|
|
8
|
+
|
|
9
|
+
React components that implement the design system
|
|
10
|
+
|
|
11
|
+
[@iress-oss/ids-components](/?path=/docs/components_introduction--docs)
|
|
12
|
+
|
|
13
|
+
MCP Server
|
|
14
|
+
----------
|
|
15
|
+
|
|
16
|
+
Model Context Protocol (MCP) server providing AI assistants with contextual information about IDS components
|
|
17
|
+
|
|
18
|
+
[@iress-oss/ids-mcp-server](/?path=/docs/components_resources-mcp-server--docs)
|
|
19
|
+
|
|
20
|
+
Design Tokens
|
|
21
|
+
-------------
|
|
22
|
+
|
|
23
|
+
Design tokens for the Iress Design System, allowing it to be implemented in various frameworks and platforms
|
|
24
|
+
|
|
25
|
+
[@iress-oss/ids-tokens](/?path=/docs/tokens_introduction--docs)
|
|
26
|
+
|
|
27
|
+
* * *
|
|
28
|
+
|
|
29
|
+
Reporting issues
|
|
30
|
+
----------------
|
|
31
|
+
|
|
32
|
+
If you find a bug in any of the Design System packages or would like an enhancement, please reach out to us using [Github issues](https://github.com/iress/design-system/issues).
|
|
33
|
+
|
|
34
|
+
Github repository
|
|
35
|
+
-----------------
|
|
36
|
+
|
|
37
|
+
The IDS monorepo is hosted on GitHub: [iress/design-system](https://github.com/iress/design-system)
|
|
@@ -0,0 +1,479 @@
|
|
|
1
|
+
Colour
|
|
2
|
+
======
|
|
3
|
+
|
|
4
|
+
Colour is an integral aspect of conveying clear concise data. Our colours are optimized across two backgrounds, meeting or exceeding [WCAG 2.1 Level AA Accessibility Guidelines](https://www.w3.org/TR/WCAG21/#contrast-minimum).
|
|
5
|
+
|
|
6
|
+
The default theme is designed to meet WCAG contrast guidelines. We can't guarantee this when consumer branding is applied, so colour combinations should be checked to ensure conformance.
|
|
7
|
+
|
|
8
|
+
Primary
|
|
9
|
+
-------
|
|
10
|
+
|
|
11
|
+
The primary colour is your "brand" colour, and is used across all interactive elements such as buttons, links, inputs, etc. This colour can define the overall feel and can elicit emotion.
|
|
12
|
+
|
|
13
|
+
### Fill
|
|
14
|
+
|
|
15
|
+
colour.primary.fill #13213F
|
|
16
|
+
|
|
17
|
+
Used for primary buttons and the active state of form controls such as checkboxes and radio buttons. Also used for the border of tags when they have a custom button.
|
|
18
|
+
|
|
19
|
+
#### Allowed foregrounds
|
|
20
|
+
|
|
21
|
+
* colour.primary.onFill (#ECF2FF)
|
|
22
|
+
|
|
23
|
+
14.2 AAA
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### On Fill
|
|
27
|
+
|
|
28
|
+
colour.primary.onFill #ECF2FF
|
|
29
|
+
|
|
30
|
+
Used as the foreground colour on primary buttons and active form controls.
|
|
31
|
+
|
|
32
|
+
#### Allowed foregrounds
|
|
33
|
+
|
|
34
|
+
* colour.primary.fill (#13213F)
|
|
35
|
+
|
|
36
|
+
14.2 AAA
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Fill Hover
|
|
40
|
+
|
|
41
|
+
colour.primary.fillHover #2B3752
|
|
42
|
+
|
|
43
|
+
Used for the hover state of primary buttons as well as hovering over active form controls.
|
|
44
|
+
|
|
45
|
+
#### Allowed foregrounds
|
|
46
|
+
|
|
47
|
+
* colour.primary.onFill (#ECF2FF)
|
|
48
|
+
|
|
49
|
+
10.6 AAA
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Surface
|
|
53
|
+
|
|
54
|
+
colour.primary.surface #D9E5FF
|
|
55
|
+
|
|
56
|
+
Used as the background colour for secondary buttons and the focused state of menu and tab items. Also used as the background colour of active buttons.
|
|
57
|
+
|
|
58
|
+
#### Allowed foregrounds
|
|
59
|
+
|
|
60
|
+
* colour.primary.text (#13213F)
|
|
61
|
+
|
|
62
|
+
12.6 AAA
|
|
63
|
+
|
|
64
|
+
* colour.neutral.80 (#393F46)
|
|
65
|
+
|
|
66
|
+
8.4 AAA
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Text
|
|
70
|
+
|
|
71
|
+
colour.primary.text #13213F
|
|
72
|
+
|
|
73
|
+
Used for text on primary buttons, active form controls and focused tab and menu items. Also used for the link text colour and tertiary buttons.
|
|
74
|
+
|
|
75
|
+
#### Allowed foregrounds
|
|
76
|
+
|
|
77
|
+
* colour.primary.surface (#D9E5FF)
|
|
78
|
+
|
|
79
|
+
12.6 AAA
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### Surface Hover
|
|
83
|
+
|
|
84
|
+
colour.primary.surfaceHover #E1EAFF
|
|
85
|
+
|
|
86
|
+
Used for the hover state of secondary buttons, form controls and hovering over focused menu and tab items. Also used when hovering over table rows.
|
|
87
|
+
|
|
88
|
+
#### Allowed foregrounds
|
|
89
|
+
|
|
90
|
+
* colour.primary.text (#13213F)
|
|
91
|
+
|
|
92
|
+
13.2 AAA
|
|
93
|
+
|
|
94
|
+
* colour.neutral.80 (#393F46)
|
|
95
|
+
|
|
96
|
+
8.8 AAA
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
* * *
|
|
100
|
+
|
|
101
|
+
Neutral
|
|
102
|
+
-------
|
|
103
|
+
|
|
104
|
+
Neutral colours apply to most backgrounds, text, and shapes in our experiences. They do not typically have a meaning associated with them, though they can imply things like disabled states. **Note:** There are some colour contrasts that are AA Large and are used for placeholders. If WCAG compliance is necessary for your application, please avoid using placeholders to meet this requirement.
|
|
105
|
+
|
|
106
|
+
### 10
|
|
107
|
+
|
|
108
|
+
colour.neutral.10 #FFF
|
|
109
|
+
|
|
110
|
+
Used as the default background colour for most components. For tooltips, it is used as the foreground colour for the tooltip content.
|
|
111
|
+
|
|
112
|
+
#### Allowed foregrounds
|
|
113
|
+
|
|
114
|
+
* colour.neutral.80 (#393F46)
|
|
115
|
+
|
|
116
|
+
10.6 AAA
|
|
117
|
+
|
|
118
|
+
* colour.neutral.70 (#6D7278)
|
|
119
|
+
|
|
120
|
+
4.9 AA
|
|
121
|
+
|
|
122
|
+
* colour.neutral.60 (#878B92)
|
|
123
|
+
|
|
124
|
+
3.4 AA Large
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### 20
|
|
128
|
+
|
|
129
|
+
colour.neutral.20 #F9F9F9
|
|
130
|
+
|
|
131
|
+
Used as the alternating background colour for components such as tables. Used as the background colour behind panels and cards for highly interactive screens.
|
|
132
|
+
|
|
133
|
+
#### Allowed foregrounds
|
|
134
|
+
|
|
135
|
+
* colour.neutral.80 (#393F46)
|
|
136
|
+
|
|
137
|
+
10.1 AAA
|
|
138
|
+
|
|
139
|
+
* colour.neutral.70 (#6D7278)
|
|
140
|
+
|
|
141
|
+
4.6 AA
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
### 30
|
|
145
|
+
|
|
146
|
+
colour.neutral.30 #E4E5E7
|
|
147
|
+
|
|
148
|
+
Used as the border colour for dividers, and the default divider colour for components with in-built headers and footers such as cards.
|
|
149
|
+
|
|
150
|
+
### 40
|
|
151
|
+
|
|
152
|
+
colour.neutral.40 #D7D8DA
|
|
153
|
+
|
|
154
|
+
Used for borders in subtle interactive components, such as checkboxes and radios with hidden controls and the progress bar.
|
|
155
|
+
|
|
156
|
+
### 50
|
|
157
|
+
|
|
158
|
+
colour.neutral.50 #AFB2B6
|
|
159
|
+
|
|
160
|
+
Used as the background colour for interactive components such as the slider.
|
|
161
|
+
|
|
162
|
+
### 60
|
|
163
|
+
|
|
164
|
+
colour.neutral.60 #878B92
|
|
165
|
+
|
|
166
|
+
Used for placeholder text in form controls and disabled states.
|
|
167
|
+
|
|
168
|
+
#### Allowed foregrounds
|
|
169
|
+
|
|
170
|
+
* colour.neutral.10 (#FFF)
|
|
171
|
+
|
|
172
|
+
3.4 AA Large
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### 70
|
|
176
|
+
|
|
177
|
+
colour.neutral.70 #6D7278
|
|
178
|
+
|
|
179
|
+
Used for muted text such as hints and descriptions to allow for content hierarchy.
|
|
180
|
+
|
|
181
|
+
#### Allowed foregrounds
|
|
182
|
+
|
|
183
|
+
* colour.neutral.10 (#FFF)
|
|
184
|
+
|
|
185
|
+
4.9 AA
|
|
186
|
+
|
|
187
|
+
* colour.neutral.20 (#F9F9F9)
|
|
188
|
+
|
|
189
|
+
4.6 AA
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
### 80
|
|
193
|
+
|
|
194
|
+
colour.neutral.80 #393F46
|
|
195
|
+
|
|
196
|
+
Used as the default text colour for most components. For tooltips, it is used as the background colour.
|
|
197
|
+
|
|
198
|
+
#### Allowed foregrounds
|
|
199
|
+
|
|
200
|
+
* colour.neutral.10 (#FFF)
|
|
201
|
+
|
|
202
|
+
10.6 AAA
|
|
203
|
+
|
|
204
|
+
* colour.neutral.20 (#F9F9F9)
|
|
205
|
+
|
|
206
|
+
10.1 AAA
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
* * *
|
|
210
|
+
|
|
211
|
+
Accent
|
|
212
|
+
------
|
|
213
|
+
|
|
214
|
+
The accent colour is a colour used to emphasise key parts of the UI. These act as "secondary" or "supporting" colours to you primary colour.
|
|
215
|
+
|
|
216
|
+
### Brand
|
|
217
|
+
|
|
218
|
+
colour.accent.brand #FF99A8
|
|
219
|
+
|
|
220
|
+
The brand accent is useful for grabbing attention and to support your primary/brand colour. It should be used sparingly to draw attention to key elements.
|
|
221
|
+
|
|
222
|
+
* * *
|
|
223
|
+
|
|
224
|
+
System colours
|
|
225
|
+
--------------
|
|
226
|
+
|
|
227
|
+
Along with primary colours, it is helpful to have a selection of system colours to use in components such as pills, alerts and labels. System colours emphasis different semantic states. They are used to provide visual feedback and/or warnings to users as they use your interface.
|
|
228
|
+
|
|
229
|
+
### Success (Positive)
|
|
230
|
+
|
|
231
|
+
Communicates that an action has been successful and inform a user that the action is a positive action.
|
|
232
|
+
|
|
233
|
+
### Fill
|
|
234
|
+
|
|
235
|
+
colour.system.success.fill #02794D
|
|
236
|
+
|
|
237
|
+
Used for the background colour of primary success buttons, as well as the border of alerts and badges. It is also used for the foreground colour of icons inside toasts and alerts.
|
|
238
|
+
|
|
239
|
+
#### Allowed foregrounds
|
|
240
|
+
|
|
241
|
+
* colour.system.success.onFill (#EFFBF2)
|
|
242
|
+
|
|
243
|
+
5.1 AA
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
### On Fill
|
|
247
|
+
|
|
248
|
+
colour.system.success.onFill #EFFBF2
|
|
249
|
+
|
|
250
|
+
Used for the foreground colour of primary success buttons and badges.
|
|
251
|
+
|
|
252
|
+
#### Allowed foregrounds
|
|
253
|
+
|
|
254
|
+
* colour.system.success.fill (#02794D)
|
|
255
|
+
|
|
256
|
+
5.1 AA
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
### Fill Hover
|
|
260
|
+
|
|
261
|
+
colour.system.success.fillHover #01603D
|
|
262
|
+
|
|
263
|
+
Used for the hover state of primary success buttons.
|
|
264
|
+
|
|
265
|
+
#### Allowed foregrounds
|
|
266
|
+
|
|
267
|
+
* colour.system.success.onFill (#EFFBF2)
|
|
268
|
+
|
|
269
|
+
7.2 AAA
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
### Surface
|
|
273
|
+
|
|
274
|
+
colour.system.success.surface #E6F9EB
|
|
275
|
+
|
|
276
|
+
Used for the background colour of success alerts and toasts, and the background of secondary success buttons.
|
|
277
|
+
|
|
278
|
+
#### Allowed foregrounds
|
|
279
|
+
|
|
280
|
+
* colour.system.success.text (#015537)
|
|
281
|
+
|
|
282
|
+
8.1 AAA
|
|
283
|
+
|
|
284
|
+
* colour.neutral.80 (#393F46)
|
|
285
|
+
|
|
286
|
+
9.7 AAA
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
### Text
|
|
290
|
+
|
|
291
|
+
colour.system.success.text #015537
|
|
292
|
+
|
|
293
|
+
Used for the text colour of success alerts and toasts, and success tertiary buttons.
|
|
294
|
+
|
|
295
|
+
#### Allowed foregrounds
|
|
296
|
+
|
|
297
|
+
* colour.system.success.surface (#E6F9EB)
|
|
298
|
+
|
|
299
|
+
8.1 AAA
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
### Surface Hover
|
|
303
|
+
|
|
304
|
+
colour.system.success.surfaceHover #D5F6DE
|
|
305
|
+
|
|
306
|
+
Used for the hover state of secondary success buttons.
|
|
307
|
+
|
|
308
|
+
#### Allowed foregrounds
|
|
309
|
+
|
|
310
|
+
* colour.system.success.text (#015537)
|
|
311
|
+
|
|
312
|
+
7.7 AAA
|
|
313
|
+
|
|
314
|
+
* colour.neutral.80 (#393F46)
|
|
315
|
+
|
|
316
|
+
9.2 AAA
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
* * *
|
|
320
|
+
|
|
321
|
+
### Danger (Negative)
|
|
322
|
+
|
|
323
|
+
Communicates something went wrong or prevents the user from moving forward with their task, as well as inform a potential action is destructive/negative.
|
|
324
|
+
|
|
325
|
+
### Fill
|
|
326
|
+
|
|
327
|
+
colour.system.danger.fill #C20A0A
|
|
328
|
+
|
|
329
|
+
Used for the background colour of primary danger buttons, as well as the border of alerts and badges. It is also used for the foreground colour of icons inside toasts and alerts.
|
|
330
|
+
|
|
331
|
+
#### Allowed foregrounds
|
|
332
|
+
|
|
333
|
+
* colour.system.danger.onFill (#FFF6F5)
|
|
334
|
+
|
|
335
|
+
5.9 AA
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
### On Fill
|
|
339
|
+
|
|
340
|
+
colour.system.danger.onFill #FFF6F5
|
|
341
|
+
|
|
342
|
+
Used for the foreground colour of primary danger buttons and badges.
|
|
343
|
+
|
|
344
|
+
#### Allowed foregrounds
|
|
345
|
+
|
|
346
|
+
* colour.system.danger.fill (#C20A0A)
|
|
347
|
+
|
|
348
|
+
5.9 AA
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
### Fill Hover
|
|
352
|
+
|
|
353
|
+
colour.system.danger.fillHover #A50606
|
|
354
|
+
|
|
355
|
+
Used for the hover state of primary danger buttons.
|
|
356
|
+
|
|
357
|
+
#### Allowed foregrounds
|
|
358
|
+
|
|
359
|
+
* colour.system.danger.onFill (#FFF6F5)
|
|
360
|
+
|
|
361
|
+
7.5 AAA
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
### Surface
|
|
365
|
+
|
|
366
|
+
colour.system.danger.surface #FEE8E7
|
|
367
|
+
|
|
368
|
+
Used for the background colour of danger alerts and toasts, and the background of secondary danger buttons.
|
|
369
|
+
|
|
370
|
+
#### Allowed foregrounds
|
|
371
|
+
|
|
372
|
+
* colour.system.danger.text (#970202)
|
|
373
|
+
|
|
374
|
+
7.7 AAA
|
|
375
|
+
|
|
376
|
+
* colour.neutral.80 (#393F46)
|
|
377
|
+
|
|
378
|
+
9.1 AAA
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
### Text
|
|
382
|
+
|
|
383
|
+
colour.system.danger.text #970202
|
|
384
|
+
|
|
385
|
+
Used for the text colour of danger alerts and toasts, and danger tertiary buttons.
|
|
386
|
+
|
|
387
|
+
#### Allowed foregrounds
|
|
388
|
+
|
|
389
|
+
* colour.system.danger.surface (#FEE8E7)
|
|
390
|
+
|
|
391
|
+
7.7 AAA
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
### Surface Hover
|
|
395
|
+
|
|
396
|
+
colour.system.danger.surfaceHover #FEDEDC
|
|
397
|
+
|
|
398
|
+
Used for the hover state of secondary danger buttons.
|
|
399
|
+
|
|
400
|
+
#### Allowed foregrounds
|
|
401
|
+
|
|
402
|
+
* colour.system.danger.text (#970202)
|
|
403
|
+
|
|
404
|
+
7.2 AAA
|
|
405
|
+
|
|
406
|
+
* colour.neutral.80 (#393F46)
|
|
407
|
+
|
|
408
|
+
8.5 AAA
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
* * *
|
|
412
|
+
|
|
413
|
+
### Warning
|
|
414
|
+
|
|
415
|
+
Communicates attention required but does not prevent the user from moving forward with their task.
|
|
416
|
+
|
|
417
|
+
### Fill
|
|
418
|
+
|
|
419
|
+
colour.system.warning.fill #F6C84C
|
|
420
|
+
|
|
421
|
+
Used for the border of warning alerts and the background of warning badges.
|
|
422
|
+
|
|
423
|
+
#### Allowed foregrounds
|
|
424
|
+
|
|
425
|
+
* colour.system.warning.onFill (#1A1200)
|
|
426
|
+
|
|
427
|
+
11.8 AAA
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
### On Fill
|
|
431
|
+
|
|
432
|
+
colour.system.warning.onFill #1A1200
|
|
433
|
+
|
|
434
|
+
Used for the foreground colour of warning badges.
|
|
435
|
+
|
|
436
|
+
#### Allowed foregrounds
|
|
437
|
+
|
|
438
|
+
* colour.system.warning.fill (#F6C84C)
|
|
439
|
+
|
|
440
|
+
11.8 AAA
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
### Surface
|
|
444
|
+
|
|
445
|
+
colour.system.warning.surface #FEF4CD
|
|
446
|
+
|
|
447
|
+
Used for the background colour of warning alerts.
|
|
448
|
+
|
|
449
|
+
#### Allowed foregrounds
|
|
450
|
+
|
|
451
|
+
* colour.system.warning.text (#1A1200)
|
|
452
|
+
|
|
453
|
+
16.8 AAA
|
|
454
|
+
|
|
455
|
+
* colour.neutral.80 (#393F46)
|
|
456
|
+
|
|
457
|
+
9.6 AAA
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
### Text
|
|
461
|
+
|
|
462
|
+
colour.system.warning.text #1A1200
|
|
463
|
+
|
|
464
|
+
Used for the text colour of warning alerts.
|
|
465
|
+
|
|
466
|
+
#### Allowed foregrounds
|
|
467
|
+
|
|
468
|
+
* colour.system.warning.surface (#FEF4CD)
|
|
469
|
+
|
|
470
|
+
16.8 AAA
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
* * *
|
|
474
|
+
|
|
475
|
+
### Information
|
|
476
|
+
|
|
477
|
+
* * *
|
|
478
|
+
|
|
479
|
+
### Backdrop
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
Elevation
|
|
2
|
+
=========
|
|
3
|
+
|
|
4
|
+
Elevation is a design concept that adds depth and hierarchy to user interfaces by using shadows and layers. It helps users understand the relationship between different elements on the page, guiding their attention and interaction.
|
|
5
|
+
|
|
6
|
+
Raised
|
|
7
|
+
------
|
|
8
|
+
|
|
9
|
+
Raised elevations sit slightly higher than default elevations. They are reserved for cards that can be moved, such as Jira issue cards and Trello cards. In special circumstances, they can be used for cards as a way to provide additional heirarchy or emphasis.
|
|
10
|
+
|
|
11
|
+
elevation.raised
|
|
12
|
+
|
|
13
|
+
Floating
|
|
14
|
+
--------
|
|
15
|
+
|
|
16
|
+
Floating is the highest elevation available. It is reserved for a UI that sits over another UI, such as modals, dialogs, dropdown menus, floating toolbars, and floating single-action buttons.
|
|
17
|
+
|
|
18
|
+
elevation.floating
|
|
19
|
+
|
|
20
|
+
Overflow
|
|
21
|
+
--------
|
|
22
|
+
|
|
23
|
+
Overflow is a shadow indicating content has scrolled outside a view. It can be used for vertical or horizontal scroll. An example of overflow shadows is the horizontal scroll in tables on a Confluence page.
|
|
24
|
+
|
|
25
|
+
elevation.overflow
|
|
26
|
+
|
|
27
|
+
Focus
|
|
28
|
+
-----
|
|
29
|
+
|
|
30
|
+
Focus is an outline indicating that an element is focused, usually via keyboard interaction. It is user when a user cannot interact with the page using a mouse/touch.
|
|
31
|
+
|
|
32
|
+
elevation.focus
|
|
33
|
+
|
|
34
|
+
Focus Compact
|
|
35
|
+
-------------
|
|
36
|
+
|
|
37
|
+
Focus compact is a variation of the focus elevation to indicate focus on elements that have restricted space making the default focus not aesthetically pleasing (for example, a search input in a dropdown like rich select). Avoid using where possible, as it makes the focus state less obvious.
|
|
38
|
+
|
|
39
|
+
elevation.focusCompact
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
Tokens
|
|
2
|
+
======
|
|
3
|
+
|
|
4
|
+
Design tokens are an integral part of the design system. They help us create consistency across components by sharing common design decisions and simplify our theming ecosystem.
|
|
5
|
+
|
|
6
|
+
What are tokens?
|
|
7
|
+
----------------
|
|
8
|
+
|
|
9
|
+
Tokens are a set of variables that define the design properties of a component. They are used to define the visual properties of a component, such as colours, typography, spacing, and more.
|
|
10
|
+
|
|
11
|
+
Token list
|
|
12
|
+
----------
|
|
13
|
+
|
|
14
|
+
The table below shows all the new and old tokens in the design system. Use the filters to narrow down the list of tokens.
|
|
15
|
+
|
|
16
|
+
Columns: 4 selected
|
|
17
|
+
|
|
18
|
+
labelaliasdescriptionreadonly
|
|
19
|
+
|
|
20
|
+
* * *
|
|
21
|
+
|
|
22
|
+
typedefaultValuedeprecated
|
|
23
|
+
|
|
24
|
+
None selected
|
|
25
|
+
|
|
26
|
+
Show deprecated tokens
|
|
27
|
+
|
|
28
|
+
Tokens (88)
|
|
29
|
+
| Name
|
|
30
|
+
| Alias
|
|
31
|
+
|
|
32
|
+
| Description
|
|
33
|
+
|
|
34
|
+
| Themeable
|
|
35
|
+
|
|
36
|
+
|
|
|
37
|
+
| --- | --- | --- | --- |
|
|
38
|
+
| colour.primary.fill | | Used for primary buttons and the active state of form controls such as checkboxes and radio buttons. Also used for the border of tags when they have a custom button. | |
|
|
39
|
+
| colour.primary.fillHover | | Used for the hover state of primary buttons as well as hovering over active form controls. | |
|
|
40
|
+
| colour.primary.onFill | | Used as the foreground colour on primary buttons and active form controls. | |
|
|
41
|
+
| colour.primary.surface | | Used as the background colour for secondary buttons and the focused state of menu and tab items. Also used as the background colour of active buttons. | |
|
|
42
|
+
| colour.primary.surfaceHover | | Used for the hover state of secondary buttons, form controls and hovering over focused menu and tab items. Also used when hovering over table rows. | |
|
|
43
|
+
| colour.primary.text | | Used for text on primary buttons, active form controls and focused tab and menu items. Also used for the link text colour and tertiary buttons. | |
|
|
44
|
+
| colour.neutral.10 | page | Used as the default background colour for most components. For tooltips, it is used as the foreground colour for the tooltip content. | |
|
|
45
|
+
| colour.neutral.20 | alt | Used as the alternating background colour for components such as tables. Used as the background colour behind panels and cards for highly interactive screens. | |
|
|
46
|
+
| colour.neutral.30 | | Used as the border colour for dividers, and the default divider colour for components with in-built headers and footers such as cards. | |
|
|
47
|
+
| colour.neutral.40 | | Used for borders in subtle interactive components, such as checkboxes and radios with hidden controls and the progress bar. | |
|
|
48
|
+
| colour.neutral.50 | | Used as the background colour for interactive components such as the slider. | |
|
|
49
|
+
| colour.neutral.60 | | Used for placeholder text in form controls and disabled states. | |
|
|
50
|
+
| colour.neutral.70 | muted | Used for muted text such as hints and descriptions to allow for content hierarchy. | |
|
|
51
|
+
| colour.neutral.80 | text | Used as the default text colour for most components. For tooltips, it is used as the background colour. | |
|
|
52
|
+
| colour.accent.brand | | The brand accent is useful for grabbing attention and to support your primary/brand colour. It should be used sparingly to draw attention to key elements. | |
|
|
53
|
+
| colour.system.success.fill | | Used for the background colour of primary success buttons, as well as the border of alerts and badges. It is also used for the foreground colour of icons inside toasts and alerts. | |
|
|
54
|
+
| colour.system.success.fillHover | | Used for the hover state of primary success buttons. | |
|
|
55
|
+
| colour.system.success.onFill | | Used for the foreground colour of primary success buttons and badges. | |
|
|
56
|
+
| colour.system.success.surface | | Used for the background colour of success alerts and toasts, and the background of secondary success buttons. | |
|
|
57
|
+
| colour.system.success.surfaceHover | | Used for the hover state of secondary success buttons. | |
|
|
58
|
+
| colour.system.success.text | | Used for the text colour of success alerts and toasts, and success tertiary buttons. | |
|
|
59
|
+
| colour.system.danger.fill | | Used for the background colour of primary danger buttons, as well as the border of alerts and badges. It is also used for the foreground colour of icons inside toasts and alerts. | |
|
|
60
|
+
| colour.system.danger.fillHover | | Used for the hover state of primary danger buttons. | |
|
|
61
|
+
| colour.system.danger.onFill | | Used for the foreground colour of primary danger buttons and badges. | |
|
|
62
|
+
| colour.system.danger.surface | | Used for the background colour of danger alerts and toasts, and the background of secondary danger buttons. | |
|
|
63
|
+
| colour.system.danger.surfaceHover | | Used for the hover state of secondary danger buttons. | |
|
|
64
|
+
| colour.system.danger.text | | Used for the text colour of danger alerts and toasts, and danger tertiary buttons. | |
|
|
65
|
+
| colour.system.warning.fill | | Used for the border of warning alerts and the background of warning badges. | |
|
|
66
|
+
| colour.system.warning.onFill | | Used for the foreground colour of warning badges. | |
|
|
67
|
+
| colour.system.warning.surface | | Used for the background colour of warning alerts. | |
|
|
68
|
+
| colour.system.warning.text | | Used for the text colour of warning alerts. | |
|
|
69
|
+
| colour.system.info.fill | | Used for the border of info alerts and toasts and the background of info badges. | |
|
|
70
|
+
| colour.system.info.onFill | | Used for the foreground colour of info badges. | |
|
|
71
|
+
| colour.system.info.surface | | Used for the background colour of info alerts and toasts. | |
|
|
72
|
+
| colour.system.info.text | | Used for the text colour of info alerts and toasts. | |
|
|
73
|
+
| colour.system.backdrop.fill | | Used for the background colour of the backdrop. | |
|
|
74
|
+
| elevation.raised.shadow | | Shadow for raised elevations | |
|
|
75
|
+
| elevation.raised.border | | Border for raised elevations | |
|
|
76
|
+
| elevation.floating.shadow | | Shadow for floating elevations | |
|
|
77
|
+
| elevation.floating.border | | Border for floating elevations | |
|
|
78
|
+
| elevation.overflow.shadow | | Shadow for overflow elevations | |
|
|
79
|
+
| elevation.overflow.border | | Border for overflow elevations | |
|
|
80
|
+
| elevation.focus.shadow | | Shadow for focus elevations | |
|
|
81
|
+
| elevation.focusCompact.shadow | | Shadow for focus compact elevations | |
|
|
82
|
+
| elevation.focusCompact.borderColor | | Border color for focus compact elevations | |
|
|
83
|
+
| radius.100 | | The base unit for radius | |
|
|
84
|
+
| radius.000 | none | No radius | |
|
|
85
|
+
| radius.025 | | 25% (0.25x) radius | |
|
|
86
|
+
| radius.050 | | 50% (0.5x) radius | |
|
|
87
|
+
| radius.075 | | 75% (0.75x) radius | |
|
|
88
|
+
| radius.system.badge | | Applies to badges and tags (that have not been designated to be a circle). | |
|
|
89
|
+
| radius.system.button | | Applies to buttons and other interactive elements such as the hover state of links. | |
|
|
90
|
+
| radius.system.form | | Applies to form inputs and alerts. | |
|
|
91
|
+
| radius.system.layout | | Applies to panels, modals and slideouts. | |
|
|
92
|
+
| spacing.100 | xs | The base unit for spacing | |
|
|
93
|
+
| spacing.150 | | 150% (1.5x) spacing | |
|
|
94
|
+
| spacing.200 | sm | 200% (2x) spacing | |
|
|
95
|
+
| spacing.250 | | 250% (2.5x) spacing | |
|
|
96
|
+
| spacing.300 | | 300% (3x) spacing | |
|
|
97
|
+
| spacing.350 | | 350% (3.5x) spacing | |
|
|
98
|
+
| spacing.400 | md | 400% (4x) spacing | |
|
|
99
|
+
| spacing.500 | | 500% (5x) spacing | |
|
|
100
|
+
| spacing.600 | lg | 600% (6x) spacing | |
|
|
101
|
+
| spacing.700 | | 700% (7x) spacing | |
|
|
102
|
+
| spacing.800 | | 800% (8x) spacing | |
|
|
103
|
+
| spacing.900 | | 900% (9x) spacing | |
|
|
104
|
+
| spacing.1000 | | 1000% (10x) spacing | |
|
|
105
|
+
| spacing.1200 | xl | 1200% (12x) spacing | |
|
|
106
|
+
| spacing.000 | none | No spacing | |
|
|
107
|
+
| spacing.050 | | 50% (0.5x) spacing | |
|
|
108
|
+
| typography.base.size | | This is the base font size, and is used to calculate the font sizes of each token. | |
|
|
109
|
+
| typography.base.headingFont | | This is the base font family for headings, used for heading tokens. | |
|
|
110
|
+
| typography.base.bodyFont | | This is the base font family for body, used for body tokens. | |
|
|
111
|
+
| typography.heading.1 | | Use for the main page title to establish a clear hierarchy. There is only one H1 per screen, emphasising the primary purpose or context of the page. | |
|
|
112
|
+
| typography.heading.2 | | Use for \*\*primary section headings\*\* within a page to organise content and guide the user through key areas. Also suitable for large components—such as modals—where space allows and where it pairs well with: body.md or body.lg. | |
|
|
113
|
+
| typography.heading.3 | | Use for: sub-sections under H2s to further structure content and maintain a clear visual hierarchy. Ideal for breaking down complex sections into manageable parts. | |
|
|
114
|
+
| typography.heading.4 | | Use for: supporting headings within content blocks or small components where space is limited—such as table headers, cards, or side panels. Provides structure without overwhelming the layout. | |
|
|
115
|
+
| typography.heading.5 | | Use for: minor labels or titles in compact UI elements, such as cards, sidebars, or inline labels. Best used to emphasise supplementary information without drawing too much attention. Works well with body.sm and is ideal for subtle content like fine print. Use sparingly to preserve typographic hierarchy. | |
|
|
116
|
+
| typography.body.sm.regular | | The default small text, most commonly used to display text in small components and compact tables and lists. | |
|
|
117
|
+
| typography.body.sm.strong | | Strong text is used to highlight important information in a paragraph of text. | |
|
|
118
|
+
| typography.body.sm.em | | Emphasised text is used to highlight a term or definition in a paragraph of text. It is used sparingly, usually for legal purposes. | |
|
|
119
|
+
| typography.body.md.regular | | The default medium text, most commonly used to display text across all products. | |
|
|
120
|
+
| typography.body.md.strong | | Strong text is used to highlight important information in a paragraph of text. | |
|
|
121
|
+
| typography.body.md.em | | Emphasised text is used to highlight a term or definition in a paragraph of text. It is used sparingly, usually for legal purposes. | |
|
|
122
|
+
| typography.body.lg.regular | | The default large text, most commonly used to display large text across all products. | |
|
|
123
|
+
| typography.body.lg.strong | | Strong text is used to highlight important information in a paragraph of text. | |
|
|
124
|
+
| typography.body.lg.em | | Emphasised text is used to highlight a term or definition in a paragraph of text. It is used sparingly, usually for legal purposes. | |
|
|
125
|
+
| typography.code | | Used to display code snippets in the product, such as in the API documentation. | |
|
|
126
|
+
|
|
127
|
+
* * *
|
|
128
|
+
|
|
129
|
+
For developers
|
|
130
|
+
--------------
|
|
131
|
+
|
|
132
|
+
If you are using the IDS components, the tokens have already been mapped out to their respective components. You can use the tokens in the component props to change the visual properties of the component.
|
|
133
|
+
|
|
134
|
+
[
|
|
135
|
+
|
|
136
|
+
Learn more about styling props
|
|
137
|
+
|
|
138
|
+
](/?path=/docs/styling-props-reference--docs)
|
|
139
|
+
|
|
140
|
+
import { IressText } from '@iress-oss/ids-components';
|
|
141
|
+
<IressText color\="colour.primary.text"\>I am branded text</IressText\>;
|
|
142
|
+
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
If you are not using the IDS components, you can use the tokens directly by using the `cssVars` object from `@iress-oss/ids-tokens`.
|
|
146
|
+
|
|
147
|
+
import { cssVars } from '@iress-oss/ids-tokens';
|
|
148
|
+
<div style\={{ color: cssVars.colour.primary.text }}\>I am branded text</div\>;
|
|
149
|
+
|
|
150
|
+
```
|