@carbon/themes 11.77.0 → 11.78.0
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/es/index.js +1360 -1722
- package/js/generated/component-tokens/button.d.ts +98 -0
- package/{src/component-tokens/button/tokens.ts → js/generated/component-tokens/button.js} +65 -97
- package/js/generated/component-tokens/content-switcher.d.ts +25 -0
- package/js/generated/component-tokens/content-switcher.js +25 -0
- package/js/generated/component-tokens/notification.d.ts +65 -0
- package/js/generated/component-tokens/notification.js +65 -0
- package/js/generated/component-tokens/status.d.ts +63 -0
- package/js/generated/component-tokens/status.js +63 -0
- package/js/generated/component-tokens/tag.d.ts +247 -0
- package/js/generated/component-tokens/tag.js +247 -0
- package/js/generated/themes/g10.d.ts +242 -0
- package/js/generated/themes/g10.js +242 -0
- package/js/generated/themes/g100.d.ts +242 -0
- package/js/generated/themes/g100.js +242 -0
- package/js/generated/themes/g90.d.ts +242 -0
- package/js/generated/themes/g90.js +242 -0
- package/js/generated/themes/white.d.ts +242 -0
- package/js/generated/themes/white.js +242 -0
- package/lib/index.d.ts +12 -10
- package/lib/index.js +1360 -1722
- package/package.json +12 -9
- package/scss/generated/_button-tokens.scss +2 -2
- package/src/dtcg/README.md +210 -0
- package/src/dtcg/color-palette.json +3204 -0
- package/src/dtcg/components/button.json +193 -0
- package/src/dtcg/components/content-switcher.json +60 -0
- package/src/dtcg/components/notification.json +130 -0
- package/src/dtcg/components/status.json +122 -0
- package/src/dtcg/components/tag.json +486 -0
- package/src/dtcg/g10.json +1453 -0
- package/src/dtcg/g100.json +1478 -0
- package/src/dtcg/g90.json +1478 -0
- package/src/dtcg/white.json +1345 -0
- package/src/index.ts +96 -10
- package/test-dtcg.scss +28 -0
- package/umd/index.js +1363 -1725
- package/lib/component-tokens/button/index.d.ts +0 -7
- package/lib/component-tokens/button/tokens.d.ts +0 -98
- package/lib/component-tokens/content-switcher/index.d.ts +0 -7
- package/lib/component-tokens/content-switcher/tokens.d.ts +0 -24
- package/lib/component-tokens/notification/index.d.ts +0 -7
- package/lib/component-tokens/notification/tokens.d.ts +0 -64
- package/lib/component-tokens/status/index.d.ts +0 -7
- package/lib/component-tokens/status/tokens.d.ts +0 -62
- package/lib/component-tokens/tag/index.d.ts +0 -7
- package/lib/component-tokens/tag/tokens.d.ts +0 -246
- package/lib/g10.d.ts +0 -242
- package/lib/g100.d.ts +0 -242
- package/lib/g90.d.ts +0 -242
- package/lib/white.d.ts +0 -243
- package/src/component-tokens/button/index.ts +0 -8
- package/src/component-tokens/content-switcher/index.ts +0 -7
- package/src/component-tokens/content-switcher/tokens.ts +0 -29
- package/src/component-tokens/notification/index.ts +0 -8
- package/src/component-tokens/notification/tokens.ts +0 -105
- package/src/component-tokens/status/index.ts +0 -8
- package/src/component-tokens/status/tokens.ts +0 -90
- package/src/component-tokens/tag/index.ts +0 -8
- package/src/component-tokens/tag/tokens.ts +0 -353
- package/src/g10.ts +0 -452
- package/src/g100.ts +0 -453
- package/src/g90.ts +0 -455
- package/src/white.ts +0 -455
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://tr.designtokens.org/format/",
|
|
3
|
+
"$description": "Button component color tokens for all button variants and states.",
|
|
4
|
+
"button": {
|
|
5
|
+
"danger-active": {
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"$description": "Background color for danger buttons in active/pressed state. Use when user clicks or presses a destructive action button.",
|
|
8
|
+
"$extensions": {
|
|
9
|
+
"carbon.themes": {
|
|
10
|
+
"white": "{red.80}",
|
|
11
|
+
"g10": "{red.80}",
|
|
12
|
+
"g90": "{red.80}",
|
|
13
|
+
"g100": "{red.80}"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"danger-hover": {
|
|
18
|
+
"$type": "color",
|
|
19
|
+
"$description": "Background color for danger buttons on hover. Use when user hovers over a destructive action button to provide visual feedback.",
|
|
20
|
+
"$extensions": {
|
|
21
|
+
"carbon.themes": {
|
|
22
|
+
"white": "#b81921",
|
|
23
|
+
"g10": "#b81921",
|
|
24
|
+
"g90": "#b81921",
|
|
25
|
+
"g100": "#b81921"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"danger-primary": {
|
|
30
|
+
"$type": "color",
|
|
31
|
+
"$description": "Background color for primary danger buttons in default state. Use for destructive actions like delete, remove, or cancel that require high emphasis.",
|
|
32
|
+
"$extensions": {
|
|
33
|
+
"carbon.themes": {
|
|
34
|
+
"white": "{red.60}",
|
|
35
|
+
"g10": "{red.60}",
|
|
36
|
+
"g90": "{red.60}",
|
|
37
|
+
"g100": "{red.60}"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"danger-secondary": {
|
|
42
|
+
"$type": "color",
|
|
43
|
+
"$description": "Border and text color for secondary danger buttons. Use for destructive actions that need less emphasis than primary danger buttons.",
|
|
44
|
+
"$extensions": {
|
|
45
|
+
"carbon.themes": {
|
|
46
|
+
"white": "{red.60}",
|
|
47
|
+
"g10": "{red.60}",
|
|
48
|
+
"g90": "{red.40}",
|
|
49
|
+
"g100": "{red.50}"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"disabled": {
|
|
54
|
+
"$type": "color",
|
|
55
|
+
"$description": "Background color for disabled buttons across all variants. Use when a button action is temporarily unavailable or not applicable in the current context.",
|
|
56
|
+
"$extensions": {
|
|
57
|
+
"carbon.themes": {
|
|
58
|
+
"white": "{gray.30}",
|
|
59
|
+
"g10": "{gray.30}",
|
|
60
|
+
"g90": "{gray.50}",
|
|
61
|
+
"g100": "{gray.50}"
|
|
62
|
+
},
|
|
63
|
+
"org.carbon": {
|
|
64
|
+
"alphaModifiers": {
|
|
65
|
+
"g90": 0.3,
|
|
66
|
+
"g100": 0.3
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"primary": {
|
|
72
|
+
"$type": "color",
|
|
73
|
+
"$description": "Background color for primary buttons in default state. Use for the main call-to-action on a page or in a workflow step.",
|
|
74
|
+
"$extensions": {
|
|
75
|
+
"carbon.themes": {
|
|
76
|
+
"white": "{blue.60}",
|
|
77
|
+
"g10": "{blue.60}",
|
|
78
|
+
"g90": "{blue.60}",
|
|
79
|
+
"g100": "{blue.60}"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"primary-active": {
|
|
84
|
+
"$type": "color",
|
|
85
|
+
"$description": "Background color for primary buttons in active/pressed state. Use when user clicks or presses the primary action button.",
|
|
86
|
+
"$extensions": {
|
|
87
|
+
"carbon.themes": {
|
|
88
|
+
"white": "{blue.80}",
|
|
89
|
+
"g10": "{blue.80}",
|
|
90
|
+
"g90": "{blue.80}",
|
|
91
|
+
"g100": "{blue.80}"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"primary-hover": {
|
|
96
|
+
"$type": "color",
|
|
97
|
+
"$description": "Background color for primary buttons on hover. Use when user hovers over the primary action button to provide visual feedback.",
|
|
98
|
+
"$extensions": {
|
|
99
|
+
"carbon.themes": {
|
|
100
|
+
"white": "{blue.60Hover}",
|
|
101
|
+
"g10": "{blue.60Hover}",
|
|
102
|
+
"g90": "{blue.60Hover}",
|
|
103
|
+
"g100": "{blue.60Hover}"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"secondary": {
|
|
108
|
+
"$type": "color",
|
|
109
|
+
"$description": "Background color for secondary buttons in default state. Use for secondary actions that support the primary action or provide alternative paths.",
|
|
110
|
+
"$extensions": {
|
|
111
|
+
"carbon.themes": {
|
|
112
|
+
"white": "{gray.80}",
|
|
113
|
+
"g10": "{gray.80}",
|
|
114
|
+
"g90": "{gray.60}",
|
|
115
|
+
"g100": "{gray.60}"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"secondary-active": {
|
|
120
|
+
"$type": "color",
|
|
121
|
+
"$description": "Background color for secondary buttons in active/pressed state. Use when user clicks or presses a secondary action button.",
|
|
122
|
+
"$extensions": {
|
|
123
|
+
"carbon.themes": {
|
|
124
|
+
"white": "{gray.60}",
|
|
125
|
+
"g10": "{gray.60}",
|
|
126
|
+
"g90": "{gray.80}",
|
|
127
|
+
"g100": "{gray.80}"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"secondary-hover": {
|
|
132
|
+
"$type": "color",
|
|
133
|
+
"$description": "Background color for secondary buttons on hover. Use when user hovers over a secondary action button to provide visual feedback.",
|
|
134
|
+
"$extensions": {
|
|
135
|
+
"carbon.themes": {
|
|
136
|
+
"white": "{gray.80Hover}",
|
|
137
|
+
"g10": "{gray.80Hover}",
|
|
138
|
+
"g90": "{gray.60Hover}",
|
|
139
|
+
"g100": "{gray.60Hover}"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"separator": {
|
|
144
|
+
"$type": "color",
|
|
145
|
+
"$description": "Border color for button separators in button groups or split buttons. Use to visually divide adjacent buttons while maintaining their connection.",
|
|
146
|
+
"$extensions": {
|
|
147
|
+
"carbon.themes": {
|
|
148
|
+
"fallback": "{gray.20}",
|
|
149
|
+
"white": "{gray.20}",
|
|
150
|
+
"g10": "{gray.20}",
|
|
151
|
+
"g90": "{gray.100}",
|
|
152
|
+
"g100": "{gray.100}"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"tertiary": {
|
|
157
|
+
"$type": "color",
|
|
158
|
+
"$description": "Text and icon color for tertiary buttons in default state. Use for low-emphasis actions or when multiple actions need equal visual weight.",
|
|
159
|
+
"$extensions": {
|
|
160
|
+
"carbon.themes": {
|
|
161
|
+
"white": "{blue.60}",
|
|
162
|
+
"g10": "{blue.60}",
|
|
163
|
+
"g90": "{white.default}",
|
|
164
|
+
"g100": "{white.default}"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"tertiary-active": {
|
|
169
|
+
"$type": "color",
|
|
170
|
+
"$description": "Text and icon color for tertiary buttons in active/pressed state. Use when user clicks or presses a tertiary action button.",
|
|
171
|
+
"$extensions": {
|
|
172
|
+
"carbon.themes": {
|
|
173
|
+
"white": "{blue.80}",
|
|
174
|
+
"g10": "{blue.80}",
|
|
175
|
+
"g90": "{gray.30}",
|
|
176
|
+
"g100": "{gray.30}"
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"tertiary-hover": {
|
|
181
|
+
"$type": "color",
|
|
182
|
+
"$description": "Background color for tertiary buttons on hover. Use when user hovers over a tertiary action button to provide subtle visual feedback.",
|
|
183
|
+
"$extensions": {
|
|
184
|
+
"carbon.themes": {
|
|
185
|
+
"white": "{blue.60Hover}",
|
|
186
|
+
"g10": "{blue.60Hover}",
|
|
187
|
+
"g90": "{gray.10}",
|
|
188
|
+
"g100": "{gray.10}"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://tr.designtokens.org/format/",
|
|
3
|
+
"$description": "Content switcher component color tokens for tab-like navigation between content views.",
|
|
4
|
+
"content-switcher": {
|
|
5
|
+
"background": {
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"$description": "Background color for the content switcher container. Provides the base surface for unselected switcher options.",
|
|
8
|
+
"$extensions": {
|
|
9
|
+
"carbon.themes": {
|
|
10
|
+
"white": "{gray.20}",
|
|
11
|
+
"g10": "{gray.20}",
|
|
12
|
+
"g90": "{black.default}",
|
|
13
|
+
"g100": "{black.default}"
|
|
14
|
+
},
|
|
15
|
+
"org.carbon": {
|
|
16
|
+
"alphaModifiers": {
|
|
17
|
+
"g90": 0,
|
|
18
|
+
"g100": 0
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"background-hover": {
|
|
24
|
+
"$type": "color",
|
|
25
|
+
"$description": "Background color for content switcher options on hover. Use to provide visual feedback when hovering over unselected options.",
|
|
26
|
+
"$extensions": {
|
|
27
|
+
"carbon.themes": {
|
|
28
|
+
"white": "{gray.20Hover}",
|
|
29
|
+
"g10": "{gray.20Hover}",
|
|
30
|
+
"g90": "{gray.50}",
|
|
31
|
+
"g100": "{gray.50}"
|
|
32
|
+
},
|
|
33
|
+
"org.carbon": {
|
|
34
|
+
"alphaModifiers": {
|
|
35
|
+
"g90": 0.12,
|
|
36
|
+
"g100": 0.12
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"selected": {
|
|
42
|
+
"$type": "color",
|
|
43
|
+
"$description": "Background color for the selected content switcher option. Use to highlight the currently active view or tab.",
|
|
44
|
+
"$extensions": {
|
|
45
|
+
"carbon.themes": {
|
|
46
|
+
"white": "{white.default}",
|
|
47
|
+
"g10": "{white.default}",
|
|
48
|
+
"g90": "{gray.50}",
|
|
49
|
+
"g100": "{gray.50}"
|
|
50
|
+
},
|
|
51
|
+
"org.carbon": {
|
|
52
|
+
"alphaModifiers": {
|
|
53
|
+
"g90": 0.24,
|
|
54
|
+
"g100": 0.24
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://tr.designtokens.org/format/",
|
|
3
|
+
"$description": "Notification component color tokens for inline and toast notifications across all severity levels.",
|
|
4
|
+
"notification": {
|
|
5
|
+
"action-hover": {
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"$description": "Background color for notification action buttons on hover. Use for interactive elements within light-themed notifications.",
|
|
8
|
+
"$extensions": {
|
|
9
|
+
"carbon.themes": {
|
|
10
|
+
"white": "{white.default}",
|
|
11
|
+
"g10": "{white.default}"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"action-tertiary-inverse": {
|
|
16
|
+
"$type": "color",
|
|
17
|
+
"$description": "Background color for tertiary action buttons in inverse (dark) notifications. Use for low-emphasis actions in dark notification variants.",
|
|
18
|
+
"$extensions": {
|
|
19
|
+
"carbon.themes": {
|
|
20
|
+
"white": "{white.default}",
|
|
21
|
+
"g10": "{white.default}",
|
|
22
|
+
"g90": "{blue.60}",
|
|
23
|
+
"g100": "{blue.60}"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"action-tertiary-inverse-active": {
|
|
28
|
+
"$type": "color",
|
|
29
|
+
"$description": "Background color for tertiary action buttons in active/pressed state within inverse notifications. Use when user clicks action in dark notifications.",
|
|
30
|
+
"$extensions": {
|
|
31
|
+
"carbon.themes": {
|
|
32
|
+
"white": "{gray.30}",
|
|
33
|
+
"g10": "{gray.30}",
|
|
34
|
+
"g90": "{blue.80}",
|
|
35
|
+
"g100": "{blue.80}"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"action-tertiary-inverse-hover": {
|
|
40
|
+
"$type": "color",
|
|
41
|
+
"$description": "Background color for tertiary action buttons on hover within inverse notifications. Use to provide feedback in dark notification variants.",
|
|
42
|
+
"$extensions": {
|
|
43
|
+
"carbon.themes": {
|
|
44
|
+
"white": "{gray.10}",
|
|
45
|
+
"g10": "{gray.10}",
|
|
46
|
+
"g90": "{blue.60Hover}",
|
|
47
|
+
"g100": "{blue.60Hover}"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"action-tertiary-inverse-text": {
|
|
52
|
+
"$type": "color",
|
|
53
|
+
"$description": "Text color for tertiary action buttons in inverse notifications. Ensures readable contrast for action text in dark notification variants.",
|
|
54
|
+
"$extensions": {
|
|
55
|
+
"carbon.themes": {
|
|
56
|
+
"white": "{gray.100}",
|
|
57
|
+
"g10": "{gray.100}",
|
|
58
|
+
"g90": "{white.default}",
|
|
59
|
+
"g100": "{white.default}"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"action-tertiary-inverse-text-on-color-disabled": {
|
|
64
|
+
"$type": "color",
|
|
65
|
+
"$description": "Text color for disabled tertiary action buttons in inverse notifications. Use when actions are temporarily unavailable in dark notifications.",
|
|
66
|
+
"$extensions": {
|
|
67
|
+
"carbon.themes": {
|
|
68
|
+
"white": "{white.default}",
|
|
69
|
+
"g10": "{white.default}",
|
|
70
|
+
"g90": "{gray.50}",
|
|
71
|
+
"g100": "{gray.50}"
|
|
72
|
+
},
|
|
73
|
+
"org.carbon": {
|
|
74
|
+
"alphaModifiers": {
|
|
75
|
+
"white": 0.25,
|
|
76
|
+
"g10": 0.25
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"background-error": {
|
|
82
|
+
"$type": "color",
|
|
83
|
+
"$description": "Background color for error notifications. Use to alert users of critical issues, failures, or actions that require immediate attention.",
|
|
84
|
+
"$extensions": {
|
|
85
|
+
"carbon.themes": {
|
|
86
|
+
"white": "{red.10}",
|
|
87
|
+
"g10": "{red.10}",
|
|
88
|
+
"g90": "{gray.80}",
|
|
89
|
+
"g100": "{gray.90}"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"background-info": {
|
|
94
|
+
"$type": "color",
|
|
95
|
+
"$description": "Background color for informational notifications. Use to provide helpful context, tips, or non-critical updates to users.",
|
|
96
|
+
"$extensions": {
|
|
97
|
+
"carbon.themes": {
|
|
98
|
+
"white": "{blue.10}",
|
|
99
|
+
"g10": "{blue.10}",
|
|
100
|
+
"g90": "{gray.80}",
|
|
101
|
+
"g100": "{gray.90}"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"background-success": {
|
|
106
|
+
"$type": "color",
|
|
107
|
+
"$description": "Background color for success notifications. Use to confirm successful actions, completed processes, or positive outcomes.",
|
|
108
|
+
"$extensions": {
|
|
109
|
+
"carbon.themes": {
|
|
110
|
+
"white": "{green.10}",
|
|
111
|
+
"g10": "{green.10}",
|
|
112
|
+
"g90": "{gray.80}",
|
|
113
|
+
"g100": "{gray.90}"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"background-warning": {
|
|
118
|
+
"$type": "color",
|
|
119
|
+
"$description": "Background color for warning notifications. Use to alert users of potential issues, cautions, or actions that need attention but aren't critical.",
|
|
120
|
+
"$extensions": {
|
|
121
|
+
"carbon.themes": {
|
|
122
|
+
"white": "{yellow.10}",
|
|
123
|
+
"g10": "{yellow.10}",
|
|
124
|
+
"g90": "{gray.80}",
|
|
125
|
+
"g100": "{gray.90}"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://tr.designtokens.org/format/",
|
|
3
|
+
"$description": "Status indicator component color tokens for displaying system and content states.",
|
|
4
|
+
"status": {
|
|
5
|
+
"accessibility-background": {
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"$description": "Background color for accessibility status indicators. Use to highlight accessibility-related features or compliance status.",
|
|
8
|
+
"$extensions": {
|
|
9
|
+
"carbon.themes": {
|
|
10
|
+
"white": "{white.default}",
|
|
11
|
+
"g10": "{white.default}",
|
|
12
|
+
"g90": "{gray.100}",
|
|
13
|
+
"g100": "{gray.100}"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"blue": {
|
|
18
|
+
"$type": "color",
|
|
19
|
+
"$description": "Color for blue status indicators. Use for informational states, in-progress items, or neutral status without specific semantic meaning.",
|
|
20
|
+
"$extensions": {
|
|
21
|
+
"carbon.themes": {
|
|
22
|
+
"white": "{blue.70}",
|
|
23
|
+
"g10": "{blue.70}",
|
|
24
|
+
"g90": "{blue.50}",
|
|
25
|
+
"g100": "{blue.50}"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"gray": {
|
|
30
|
+
"$type": "color",
|
|
31
|
+
"$description": "Color for gray status indicators. Use for inactive, disabled, or neutral states that don't require color semantics.",
|
|
32
|
+
"$extensions": {
|
|
33
|
+
"carbon.themes": {
|
|
34
|
+
"white": "{gray.60}",
|
|
35
|
+
"g10": "{gray.60}",
|
|
36
|
+
"g90": "{gray.50}",
|
|
37
|
+
"g100": "{gray.50}"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"green": {
|
|
42
|
+
"$type": "color",
|
|
43
|
+
"$description": "Color for green status indicators. Use for success states, completed items, active/running status, or positive conditions.",
|
|
44
|
+
"$extensions": {
|
|
45
|
+
"carbon.themes": {
|
|
46
|
+
"white": "{green.50}",
|
|
47
|
+
"g10": "{green.50}",
|
|
48
|
+
"g90": "{green.40}",
|
|
49
|
+
"g100": "{green.40}"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"orange": {
|
|
54
|
+
"$type": "color",
|
|
55
|
+
"$description": "Color for orange status indicators. Use for warning states, items needing attention, or moderate priority issues.",
|
|
56
|
+
"$extensions": {
|
|
57
|
+
"carbon.themes": {
|
|
58
|
+
"white": "{orange.40}",
|
|
59
|
+
"g10": "{orange.40}",
|
|
60
|
+
"g90": "{orange.40}",
|
|
61
|
+
"g100": "{orange.40}"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"orange-outline": {
|
|
66
|
+
"$type": "color",
|
|
67
|
+
"$description": "Outline/border color for orange status indicators in light themes. Provides visual definition for outlined warning status variants.",
|
|
68
|
+
"$extensions": {
|
|
69
|
+
"carbon.themes": {
|
|
70
|
+
"white": "{orange.60}",
|
|
71
|
+
"g10": "{orange.60}"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"purple": {
|
|
76
|
+
"$type": "color",
|
|
77
|
+
"$description": "Color for purple status indicators. Use for special states, premium features, or custom priority levels.",
|
|
78
|
+
"$extensions": {
|
|
79
|
+
"carbon.themes": {
|
|
80
|
+
"white": "{purple.60}",
|
|
81
|
+
"g10": "{purple.60}",
|
|
82
|
+
"g90": "{purple.50}",
|
|
83
|
+
"g100": "{purple.50}"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"red": {
|
|
88
|
+
"$type": "color",
|
|
89
|
+
"$description": "Color for red status indicators. Use for error states, failed items, critical issues, or stopped/inactive status.",
|
|
90
|
+
"$extensions": {
|
|
91
|
+
"carbon.themes": {
|
|
92
|
+
"white": "{red.60}",
|
|
93
|
+
"g10": "{red.60}",
|
|
94
|
+
"g90": "{red.50}",
|
|
95
|
+
"g100": "{red.50}"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"yellow": {
|
|
100
|
+
"$type": "color",
|
|
101
|
+
"$description": "Color for yellow status indicators. Use for caution states, pending items, or situations requiring user awareness.",
|
|
102
|
+
"$extensions": {
|
|
103
|
+
"carbon.themes": {
|
|
104
|
+
"white": "{yellow.30}",
|
|
105
|
+
"g10": "{yellow.30}",
|
|
106
|
+
"g90": "{yellow.30}",
|
|
107
|
+
"g100": "{yellow.30}"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"yellow-outline": {
|
|
112
|
+
"$type": "color",
|
|
113
|
+
"$description": "Outline/border color for yellow status indicators in light themes. Provides visual definition for outlined caution status variants.",
|
|
114
|
+
"$extensions": {
|
|
115
|
+
"carbon.themes": {
|
|
116
|
+
"white": "{yellow.60}",
|
|
117
|
+
"g10": "{yellow.60}"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|