@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,242 @@
|
|
|
1
|
+
// Code generated by @carbon/themes. DO NOT EDIT.
|
|
2
|
+
//
|
|
3
|
+
// Copyright IBM Corp. 2018, 2025
|
|
4
|
+
//
|
|
5
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
6
|
+
// LICENSE file in the root directory of this source tree.
|
|
7
|
+
|
|
8
|
+
export declare const colorScheme: string;
|
|
9
|
+
export declare const background: string;
|
|
10
|
+
export declare const backgroundInverse: string;
|
|
11
|
+
export declare const backgroundBrand: string;
|
|
12
|
+
export declare const backgroundActive: string;
|
|
13
|
+
export declare const backgroundHover: string;
|
|
14
|
+
export declare const backgroundInverseHover: string;
|
|
15
|
+
export declare const backgroundSelected: string;
|
|
16
|
+
export declare const backgroundSelectedHover: string;
|
|
17
|
+
export declare const layer01: string;
|
|
18
|
+
export declare const layerActive01: string;
|
|
19
|
+
export declare const layerBackground01: string;
|
|
20
|
+
export declare const layerHover01: string;
|
|
21
|
+
export declare const layerSelected01: string;
|
|
22
|
+
export declare const layerSelectedHover01: string;
|
|
23
|
+
export declare const layer02: string;
|
|
24
|
+
export declare const layerActive02: string;
|
|
25
|
+
export declare const layerBackground02: string;
|
|
26
|
+
export declare const layerHover02: string;
|
|
27
|
+
export declare const layerSelected02: string;
|
|
28
|
+
export declare const layerSelectedHover02: string;
|
|
29
|
+
export declare const layer03: string;
|
|
30
|
+
export declare const layerActive03: string;
|
|
31
|
+
export declare const layerBackground03: string;
|
|
32
|
+
export declare const layerHover03: string;
|
|
33
|
+
export declare const layerSelected03: string;
|
|
34
|
+
export declare const layerSelectedHover03: string;
|
|
35
|
+
export declare const layerSelectedInverse: string;
|
|
36
|
+
export declare const layerSelectedDisabled: string;
|
|
37
|
+
export declare const layerAccent01: string;
|
|
38
|
+
export declare const layerAccentActive01: string;
|
|
39
|
+
export declare const layerAccentHover01: string;
|
|
40
|
+
export declare const layerAccent02: string;
|
|
41
|
+
export declare const layerAccentActive02: string;
|
|
42
|
+
export declare const layerAccentHover02: string;
|
|
43
|
+
export declare const layerAccent03: string;
|
|
44
|
+
export declare const layerAccentActive03: string;
|
|
45
|
+
export declare const layerAccentHover03: string;
|
|
46
|
+
export declare const field01: string;
|
|
47
|
+
export declare const fieldHover01: string;
|
|
48
|
+
export declare const field02: string;
|
|
49
|
+
export declare const fieldHover02: string;
|
|
50
|
+
export declare const field03: string;
|
|
51
|
+
export declare const fieldHover03: string;
|
|
52
|
+
export declare const borderSubtle00: string;
|
|
53
|
+
export declare const borderSubtle01: string;
|
|
54
|
+
export declare const borderSubtleSelected01: string;
|
|
55
|
+
export declare const borderSubtle02: string;
|
|
56
|
+
export declare const borderSubtleSelected02: string;
|
|
57
|
+
export declare const borderSubtle03: string;
|
|
58
|
+
export declare const borderSubtleSelected03: string;
|
|
59
|
+
export declare const borderStrong01: string;
|
|
60
|
+
export declare const borderStrong02: string;
|
|
61
|
+
export declare const borderStrong03: string;
|
|
62
|
+
export declare const borderTile01: string;
|
|
63
|
+
export declare const borderTile02: string;
|
|
64
|
+
export declare const borderTile03: string;
|
|
65
|
+
export declare const borderInverse: string;
|
|
66
|
+
export declare const borderInteractive: string;
|
|
67
|
+
export declare const borderDisabled: string;
|
|
68
|
+
export declare const textPrimary: string;
|
|
69
|
+
export declare const textSecondary: string;
|
|
70
|
+
export declare const textPlaceholder: string;
|
|
71
|
+
export declare const textHelper: string;
|
|
72
|
+
export declare const textError: string;
|
|
73
|
+
export declare const textInverse: string;
|
|
74
|
+
export declare const textOnColor: string;
|
|
75
|
+
export declare const textOnColorDisabled: string;
|
|
76
|
+
export declare const textDisabled: string;
|
|
77
|
+
export declare const linkPrimary: string;
|
|
78
|
+
export declare const linkPrimaryHover: string;
|
|
79
|
+
export declare const linkSecondary: string;
|
|
80
|
+
export declare const linkInverse: string;
|
|
81
|
+
export declare const linkVisited: string;
|
|
82
|
+
export declare const linkInverseVisited: string;
|
|
83
|
+
export declare const linkInverseActive: string;
|
|
84
|
+
export declare const linkInverseHover: string;
|
|
85
|
+
export declare const iconPrimary: string;
|
|
86
|
+
export declare const iconSecondary: string;
|
|
87
|
+
export declare const iconInverse: string;
|
|
88
|
+
export declare const iconOnColor: string;
|
|
89
|
+
export declare const iconOnColorDisabled: string;
|
|
90
|
+
export declare const iconDisabled: string;
|
|
91
|
+
export declare const iconInteractive: string;
|
|
92
|
+
export declare const supportError: string;
|
|
93
|
+
export declare const supportSuccess: string;
|
|
94
|
+
export declare const supportWarning: string;
|
|
95
|
+
export declare const supportInfo: string;
|
|
96
|
+
export declare const supportErrorInverse: string;
|
|
97
|
+
export declare const supportSuccessInverse: string;
|
|
98
|
+
export declare const supportWarningInverse: string;
|
|
99
|
+
export declare const supportInfoInverse: string;
|
|
100
|
+
export declare const supportCautionMinor: string;
|
|
101
|
+
export declare const supportCautionMajor: string;
|
|
102
|
+
export declare const supportCautionUndefined: string;
|
|
103
|
+
export declare const focus: string;
|
|
104
|
+
export declare const focusInset: string;
|
|
105
|
+
export declare const focusInverse: string;
|
|
106
|
+
export declare const interactive: string;
|
|
107
|
+
export declare const highlight: string;
|
|
108
|
+
export declare const overlay: string;
|
|
109
|
+
export declare const toggleOff: string;
|
|
110
|
+
export declare const shadow: string;
|
|
111
|
+
export declare const skeletonBackground: string;
|
|
112
|
+
export declare const skeletonElement: string;
|
|
113
|
+
export declare const syntaxComment: string;
|
|
114
|
+
export declare const syntaxLineComment: string;
|
|
115
|
+
export declare const syntaxBlockComment: string;
|
|
116
|
+
export declare const syntaxDocComment: string;
|
|
117
|
+
export declare const syntaxString: string;
|
|
118
|
+
export declare const syntaxDocString: string;
|
|
119
|
+
export declare const syntaxKeyword: string;
|
|
120
|
+
export declare const syntaxOperatorKeyword: string;
|
|
121
|
+
export declare const syntaxControlKeyword: string;
|
|
122
|
+
export declare const syntaxDefinitionKeyword: string;
|
|
123
|
+
export declare const syntaxModuleKeyword: string;
|
|
124
|
+
export declare const syntaxVariable: string;
|
|
125
|
+
export declare const syntaxName: string;
|
|
126
|
+
export declare const syntaxVariableName: string;
|
|
127
|
+
export declare const syntaxLabelName: string;
|
|
128
|
+
export declare const syntaxAttribute: string;
|
|
129
|
+
export declare const syntaxAttributeName: string;
|
|
130
|
+
export declare const syntaxPropertyName: string;
|
|
131
|
+
export declare const syntaxTag: string;
|
|
132
|
+
export declare const syntaxTagName: string;
|
|
133
|
+
export declare const syntaxType: string;
|
|
134
|
+
export declare const syntaxTypeName: string;
|
|
135
|
+
export declare const syntaxClassName: string;
|
|
136
|
+
export declare const syntaxNamespace: string;
|
|
137
|
+
export declare const syntaxMacroName: string;
|
|
138
|
+
export declare const syntaxAtom: string;
|
|
139
|
+
export declare const syntaxLiteral: string;
|
|
140
|
+
export declare const syntaxBool: string;
|
|
141
|
+
export declare const syntaxNull: string;
|
|
142
|
+
export declare const syntaxSelf: string;
|
|
143
|
+
export declare const syntaxNumber: string;
|
|
144
|
+
export declare const syntaxInteger: string;
|
|
145
|
+
export declare const syntaxFloat: string;
|
|
146
|
+
export declare const syntaxUnit: string;
|
|
147
|
+
export declare const syntaxCharacter: string;
|
|
148
|
+
export declare const syntaxAttributeValue: string;
|
|
149
|
+
export declare const syntaxSpecialString: string;
|
|
150
|
+
export declare const syntaxRegexp: string;
|
|
151
|
+
export declare const syntaxEscape: string;
|
|
152
|
+
export declare const syntaxUrl: string;
|
|
153
|
+
export declare const syntaxColor: string;
|
|
154
|
+
export declare const syntaxOperator: string;
|
|
155
|
+
export declare const syntaxDerefOperator: string;
|
|
156
|
+
export declare const syntaxArithmeticOperator: string;
|
|
157
|
+
export declare const syntaxLogicOperator: string;
|
|
158
|
+
export declare const syntaxBitwiseOperator: string;
|
|
159
|
+
export declare const syntaxCompareOperator: string;
|
|
160
|
+
export declare const syntaxUpdateOperator: string;
|
|
161
|
+
export declare const syntaxDefinitionOperator: string;
|
|
162
|
+
export declare const syntaxTypeOperator: string;
|
|
163
|
+
export declare const syntaxControlOperator: string;
|
|
164
|
+
export declare const syntaxModifier: string;
|
|
165
|
+
export declare const syntaxPunctuation: string;
|
|
166
|
+
export declare const syntaxSeparator: string;
|
|
167
|
+
export declare const syntaxBracket: string;
|
|
168
|
+
export declare const syntaxAngleBracket: string;
|
|
169
|
+
export declare const syntaxSquareBracket: string;
|
|
170
|
+
export declare const syntaxParen: string;
|
|
171
|
+
export declare const syntaxBrace: string;
|
|
172
|
+
export declare const syntaxContent: string;
|
|
173
|
+
export declare const syntaxList: string;
|
|
174
|
+
export declare const syntaxEmphasis: string;
|
|
175
|
+
export declare const syntaxStrong: string;
|
|
176
|
+
export declare const syntaxMonospace: string;
|
|
177
|
+
export declare const syntaxStrikethrough: string;
|
|
178
|
+
export declare const syntaxHeading: string;
|
|
179
|
+
export declare const syntaxContentSeparator: string;
|
|
180
|
+
export declare const syntaxQuote: string;
|
|
181
|
+
export declare const syntaxLink: string;
|
|
182
|
+
export declare const syntaxInvalid: string;
|
|
183
|
+
export declare const syntaxMeta: string;
|
|
184
|
+
export declare const syntaxDocumentMeta: string;
|
|
185
|
+
export declare const syntaxAnnotation: string;
|
|
186
|
+
export declare const syntaxProcessingInstruction: string;
|
|
187
|
+
export declare const syntaxDefinition: string;
|
|
188
|
+
export declare const syntaxConstant: string;
|
|
189
|
+
export declare const syntaxFunction: string;
|
|
190
|
+
export declare const syntaxStandard: string;
|
|
191
|
+
export declare const syntaxLocal: string;
|
|
192
|
+
export declare const syntaxSpecial: string;
|
|
193
|
+
export declare const syntaxInserted: string;
|
|
194
|
+
export declare const syntaxDeleted: string;
|
|
195
|
+
export declare const syntaxHeading1: string;
|
|
196
|
+
export declare const syntaxHeading2: string;
|
|
197
|
+
export declare const syntaxHeading3: string;
|
|
198
|
+
export declare const syntaxHeading4: string;
|
|
199
|
+
export declare const syntaxHeading5: string;
|
|
200
|
+
export declare const syntaxHeading6: string;
|
|
201
|
+
export declare const aiInnerShadow: string;
|
|
202
|
+
export declare const aiAuraStartSm: string;
|
|
203
|
+
export declare const aiAuraStart: string;
|
|
204
|
+
export declare const aiAuraEnd: string;
|
|
205
|
+
export declare const aiBorderStrong: string;
|
|
206
|
+
export declare const aiBorderStart: string;
|
|
207
|
+
export declare const aiBorderEnd: string;
|
|
208
|
+
export declare const aiDropShadow: string;
|
|
209
|
+
export declare const aiAuraHoverBackground: string;
|
|
210
|
+
export declare const aiAuraHoverStart: string;
|
|
211
|
+
export declare const aiAuraHoverEnd: string;
|
|
212
|
+
export declare const aiPopoverBackground: string;
|
|
213
|
+
export declare const aiPopoverShadowOuter01: string;
|
|
214
|
+
export declare const aiPopoverShadowOuter02: string;
|
|
215
|
+
export declare const aiSkeletonBackground: string;
|
|
216
|
+
export declare const aiSkeletonElementBackground: string;
|
|
217
|
+
export declare const aiOverlay: string;
|
|
218
|
+
export declare const aiPopoverCaretCenter: string;
|
|
219
|
+
export declare const aiPopoverCaretBottom: string;
|
|
220
|
+
export declare const aiPopoverCaretBottomBackgroundActions: string;
|
|
221
|
+
export declare const aiPopoverCaretBottomBackground: string;
|
|
222
|
+
export declare const chatPromptBackground: string;
|
|
223
|
+
export declare const chatPromptBorderStart: string;
|
|
224
|
+
export declare const chatPromptBorderEnd: string;
|
|
225
|
+
export declare const chatPromptText: string;
|
|
226
|
+
export declare const chatBubbleUser: string;
|
|
227
|
+
export declare const chatBubbleUserText: string;
|
|
228
|
+
export declare const chatBubbleAgent: string;
|
|
229
|
+
export declare const chatBubbleAgentText: string;
|
|
230
|
+
export declare const chatBubbleBorder: string;
|
|
231
|
+
export declare const chatAvatarBot: string;
|
|
232
|
+
export declare const chatAvatarAgent: string;
|
|
233
|
+
export declare const chatAvatarUser: string;
|
|
234
|
+
export declare const chatShellBackground: string;
|
|
235
|
+
export declare const chatHeaderBackground: string;
|
|
236
|
+
export declare const chatHeaderText: string;
|
|
237
|
+
export declare const chatButton: string;
|
|
238
|
+
export declare const chatButtonHover: string;
|
|
239
|
+
export declare const chatButtonTextHover: string;
|
|
240
|
+
export declare const chatButtonActive: string;
|
|
241
|
+
export declare const chatButtonSelected: string;
|
|
242
|
+
export declare const chatButtonTextSelected: string;
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
// Code generated by @carbon/themes. DO NOT EDIT.
|
|
2
|
+
//
|
|
3
|
+
// Copyright IBM Corp. 2018, 2025
|
|
4
|
+
//
|
|
5
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
6
|
+
// LICENSE file in the root directory of this source tree.
|
|
7
|
+
|
|
8
|
+
export const colorScheme = 'light';
|
|
9
|
+
export const background = '#ffffff';
|
|
10
|
+
export const backgroundInverse = '#393939';
|
|
11
|
+
export const backgroundBrand = '#0f62fe';
|
|
12
|
+
export const backgroundActive = 'rgba(141, 141, 141, 0.5)';
|
|
13
|
+
export const backgroundHover = 'rgba(141, 141, 141, 0.12)';
|
|
14
|
+
export const backgroundInverseHover = '#474747';
|
|
15
|
+
export const backgroundSelected = 'rgba(141, 141, 141, 0.2)';
|
|
16
|
+
export const backgroundSelectedHover = 'rgba(141, 141, 141, 0.32)';
|
|
17
|
+
export const layer01 = '#f4f4f4';
|
|
18
|
+
export const layerActive01 = '#c6c6c6';
|
|
19
|
+
export const layerBackground01 = '#ffffff';
|
|
20
|
+
export const layerHover01 = '#e8e8e8';
|
|
21
|
+
export const layerSelected01 = '#e0e0e0';
|
|
22
|
+
export const layerSelectedHover01 = '#d1d1d1';
|
|
23
|
+
export const layer02 = '#ffffff';
|
|
24
|
+
export const layerActive02 = '#c6c6c6';
|
|
25
|
+
export const layerBackground02 = '#f4f4f4';
|
|
26
|
+
export const layerHover02 = '#e8e8e8';
|
|
27
|
+
export const layerSelected02 = '#e0e0e0';
|
|
28
|
+
export const layerSelectedHover02 = '#d1d1d1';
|
|
29
|
+
export const layer03 = '#f4f4f4';
|
|
30
|
+
export const layerActive03 = '#c6c6c6';
|
|
31
|
+
export const layerBackground03 = '#ffffff';
|
|
32
|
+
export const layerHover03 = '#e8e8e8';
|
|
33
|
+
export const layerSelected03 = '#e0e0e0';
|
|
34
|
+
export const layerSelectedHover03 = '#d1d1d1';
|
|
35
|
+
export const layerSelectedInverse = '#161616';
|
|
36
|
+
export const layerSelectedDisabled = '#8d8d8d';
|
|
37
|
+
export const layerAccent01 = '#e0e0e0';
|
|
38
|
+
export const layerAccentActive01 = '#a8a8a8';
|
|
39
|
+
export const layerAccentHover01 = '#d1d1d1';
|
|
40
|
+
export const layerAccent02 = '#e0e0e0';
|
|
41
|
+
export const layerAccentActive02 = '#a8a8a8';
|
|
42
|
+
export const layerAccentHover02 = '#d1d1d1';
|
|
43
|
+
export const layerAccent03 = '#e0e0e0';
|
|
44
|
+
export const layerAccentActive03 = '#a8a8a8';
|
|
45
|
+
export const layerAccentHover03 = '#d1d1d1';
|
|
46
|
+
export const field01 = '#f4f4f4';
|
|
47
|
+
export const fieldHover01 = '#e8e8e8';
|
|
48
|
+
export const field02 = '#ffffff';
|
|
49
|
+
export const fieldHover02 = '#e8e8e8';
|
|
50
|
+
export const field03 = '#f4f4f4';
|
|
51
|
+
export const fieldHover03 = '#e8e8e8';
|
|
52
|
+
export const borderSubtle00 = '#e0e0e0';
|
|
53
|
+
export const borderSubtle01 = '#c6c6c6';
|
|
54
|
+
export const borderSubtleSelected01 = '#c6c6c6';
|
|
55
|
+
export const borderSubtle02 = '#e0e0e0';
|
|
56
|
+
export const borderSubtleSelected02 = '#c6c6c6';
|
|
57
|
+
export const borderSubtle03 = '#c6c6c6';
|
|
58
|
+
export const borderSubtleSelected03 = '#c6c6c6';
|
|
59
|
+
export const borderStrong01 = '#8d8d8d';
|
|
60
|
+
export const borderStrong02 = '#8d8d8d';
|
|
61
|
+
export const borderStrong03 = '#8d8d8d';
|
|
62
|
+
export const borderTile01 = '#c6c6c6';
|
|
63
|
+
export const borderTile02 = '#a8a8a8';
|
|
64
|
+
export const borderTile03 = '#c6c6c6';
|
|
65
|
+
export const borderInverse = '#161616';
|
|
66
|
+
export const borderInteractive = '#0f62fe';
|
|
67
|
+
export const borderDisabled = '#c6c6c6';
|
|
68
|
+
export const textPrimary = '#161616';
|
|
69
|
+
export const textSecondary = '#525252';
|
|
70
|
+
export const textPlaceholder = 'rgba(22, 22, 22, 0.4)';
|
|
71
|
+
export const textHelper = '#6f6f6f';
|
|
72
|
+
export const textError = '#da1e28';
|
|
73
|
+
export const textInverse = '#ffffff';
|
|
74
|
+
export const textOnColor = '#ffffff';
|
|
75
|
+
export const textOnColorDisabled = '#8d8d8d';
|
|
76
|
+
export const textDisabled = 'rgba(22, 22, 22, 0.25)';
|
|
77
|
+
export const linkPrimary = '#0f62fe';
|
|
78
|
+
export const linkPrimaryHover = '#0043ce';
|
|
79
|
+
export const linkSecondary = '#0043ce';
|
|
80
|
+
export const linkInverse = '#78a9ff';
|
|
81
|
+
export const linkVisited = '#8a3ffc';
|
|
82
|
+
export const linkInverseVisited = '#be95ff';
|
|
83
|
+
export const linkInverseActive = '#f4f4f4';
|
|
84
|
+
export const linkInverseHover = '#a6c8ff';
|
|
85
|
+
export const iconPrimary = '#161616';
|
|
86
|
+
export const iconSecondary = '#525252';
|
|
87
|
+
export const iconInverse = '#ffffff';
|
|
88
|
+
export const iconOnColor = '#ffffff';
|
|
89
|
+
export const iconOnColorDisabled = '#8d8d8d';
|
|
90
|
+
export const iconDisabled = 'rgba(22, 22, 22, 0.25)';
|
|
91
|
+
export const iconInteractive = '#0f62fe';
|
|
92
|
+
export const supportError = '#da1e28';
|
|
93
|
+
export const supportSuccess = '#24a148';
|
|
94
|
+
export const supportWarning = '#f1c21b';
|
|
95
|
+
export const supportInfo = '#0043ce';
|
|
96
|
+
export const supportErrorInverse = '#fa4d56';
|
|
97
|
+
export const supportSuccessInverse = '#42be65';
|
|
98
|
+
export const supportWarningInverse = '#f1c21b';
|
|
99
|
+
export const supportInfoInverse = '#4589ff';
|
|
100
|
+
export const supportCautionMinor = '#f1c21b';
|
|
101
|
+
export const supportCautionMajor = '#ff832b';
|
|
102
|
+
export const supportCautionUndefined = '#8a3ffc';
|
|
103
|
+
export const focus = '#0f62fe';
|
|
104
|
+
export const focusInset = '#ffffff';
|
|
105
|
+
export const focusInverse = '#ffffff';
|
|
106
|
+
export const interactive = '#0f62fe';
|
|
107
|
+
export const highlight = '#d0e2ff';
|
|
108
|
+
export const overlay = 'rgba(0, 0, 0, 0.6)';
|
|
109
|
+
export const toggleOff = '#8d8d8d';
|
|
110
|
+
export const shadow = 'rgba(0, 0, 0, 0.3)';
|
|
111
|
+
export const skeletonBackground = '#e8e8e8';
|
|
112
|
+
export const skeletonElement = '#c6c6c6';
|
|
113
|
+
export const syntaxComment = '#198038';
|
|
114
|
+
export const syntaxLineComment = '#198038';
|
|
115
|
+
export const syntaxBlockComment = '#198038';
|
|
116
|
+
export const syntaxDocComment = '#198038';
|
|
117
|
+
export const syntaxString = '#161616';
|
|
118
|
+
export const syntaxDocString = '#161616';
|
|
119
|
+
export const syntaxKeyword = '#0f62fe';
|
|
120
|
+
export const syntaxOperatorKeyword = '#0f62fe';
|
|
121
|
+
export const syntaxControlKeyword = '#6929c4';
|
|
122
|
+
export const syntaxDefinitionKeyword = '#00539a';
|
|
123
|
+
export const syntaxModuleKeyword = '#6929c4';
|
|
124
|
+
export const syntaxVariable = '#0f62fe';
|
|
125
|
+
export const syntaxName = '#0f62fe';
|
|
126
|
+
export const syntaxVariableName = '#0f62fe';
|
|
127
|
+
export const syntaxLabelName = '#0f62fe';
|
|
128
|
+
export const syntaxAttribute = '#00539a';
|
|
129
|
+
export const syntaxAttributeName = '#00539a';
|
|
130
|
+
export const syntaxPropertyName = '#00539a';
|
|
131
|
+
export const syntaxTag = '#007d79';
|
|
132
|
+
export const syntaxTagName = '#007d79';
|
|
133
|
+
export const syntaxType = '#007d79';
|
|
134
|
+
export const syntaxTypeName = '#007d79';
|
|
135
|
+
export const syntaxClassName = '#007d79';
|
|
136
|
+
export const syntaxNamespace = '#007d79';
|
|
137
|
+
export const syntaxMacroName = '#161616';
|
|
138
|
+
export const syntaxAtom = '#161616';
|
|
139
|
+
export const syntaxLiteral = '#161616';
|
|
140
|
+
export const syntaxBool = '#161616';
|
|
141
|
+
export const syntaxNull = '#161616';
|
|
142
|
+
export const syntaxSelf = '#007d79';
|
|
143
|
+
export const syntaxNumber = '#198038';
|
|
144
|
+
export const syntaxInteger = '#198038';
|
|
145
|
+
export const syntaxFloat = '#198038';
|
|
146
|
+
export const syntaxUnit = '#198038';
|
|
147
|
+
export const syntaxCharacter = '#161616';
|
|
148
|
+
export const syntaxAttributeValue = '#161616';
|
|
149
|
+
export const syntaxSpecialString = '#8a3ffc';
|
|
150
|
+
export const syntaxRegexp = '#6929c4';
|
|
151
|
+
export const syntaxEscape = '#343a3f';
|
|
152
|
+
export const syntaxUrl = '#343a3f';
|
|
153
|
+
export const syntaxColor = '#161616';
|
|
154
|
+
export const syntaxOperator = '#343a3f';
|
|
155
|
+
export const syntaxDerefOperator = '#343a3f';
|
|
156
|
+
export const syntaxArithmeticOperator = '#343a3f';
|
|
157
|
+
export const syntaxLogicOperator = '#343a3f';
|
|
158
|
+
export const syntaxBitwiseOperator = '#343a3f';
|
|
159
|
+
export const syntaxCompareOperator = '#343a3f';
|
|
160
|
+
export const syntaxUpdateOperator = '#343a3f';
|
|
161
|
+
export const syntaxDefinitionOperator = '#00539a';
|
|
162
|
+
export const syntaxTypeOperator = '#007d79';
|
|
163
|
+
export const syntaxControlOperator = '#6929c4';
|
|
164
|
+
export const syntaxModifier = '#0f62fe';
|
|
165
|
+
export const syntaxPunctuation = '#343a3f';
|
|
166
|
+
export const syntaxSeparator = '#343a3f';
|
|
167
|
+
export const syntaxBracket = '#343a3f';
|
|
168
|
+
export const syntaxAngleBracket = '#697077';
|
|
169
|
+
export const syntaxSquareBracket = '#343a3f';
|
|
170
|
+
export const syntaxParen = '#343a3f';
|
|
171
|
+
export const syntaxBrace = '#343a3f';
|
|
172
|
+
export const syntaxContent = '#161616';
|
|
173
|
+
export const syntaxList = '#161616';
|
|
174
|
+
export const syntaxEmphasis = '#161616';
|
|
175
|
+
export const syntaxStrong = '#161616';
|
|
176
|
+
export const syntaxMonospace = '#161616';
|
|
177
|
+
export const syntaxStrikethrough = '#161616';
|
|
178
|
+
export const syntaxHeading = '#00539a';
|
|
179
|
+
export const syntaxContentSeparator = '#343a3f';
|
|
180
|
+
export const syntaxQuote = '#198038';
|
|
181
|
+
export const syntaxLink = '#0f62fe';
|
|
182
|
+
export const syntaxInvalid = '#da1e28';
|
|
183
|
+
export const syntaxMeta = '#198038';
|
|
184
|
+
export const syntaxDocumentMeta = '#198038';
|
|
185
|
+
export const syntaxAnnotation = '#007d79';
|
|
186
|
+
export const syntaxProcessingInstruction = '#161616';
|
|
187
|
+
export const syntaxDefinition = '#00539a';
|
|
188
|
+
export const syntaxConstant = '#0f62fe';
|
|
189
|
+
export const syntaxFunction = '#8e6a00';
|
|
190
|
+
export const syntaxStandard = '#0f62fe';
|
|
191
|
+
export const syntaxLocal = '#0f62fe';
|
|
192
|
+
export const syntaxSpecial = '#0f62fe';
|
|
193
|
+
export const syntaxInserted = '#a7f0ba';
|
|
194
|
+
export const syntaxDeleted = '#ffd7d9';
|
|
195
|
+
export const syntaxHeading1 = '#00539a';
|
|
196
|
+
export const syntaxHeading2 = '#00539a';
|
|
197
|
+
export const syntaxHeading3 = '#00539a';
|
|
198
|
+
export const syntaxHeading4 = '#00539a';
|
|
199
|
+
export const syntaxHeading5 = '#00539a';
|
|
200
|
+
export const syntaxHeading6 = '#00539a';
|
|
201
|
+
export const aiInnerShadow = 'rgba(69, 137, 255, 0.1)';
|
|
202
|
+
export const aiAuraStartSm = 'rgba(69, 137, 255, 0.16)';
|
|
203
|
+
export const aiAuraStart = 'rgba(69, 137, 255, 0.1)';
|
|
204
|
+
export const aiAuraEnd = 'rgba(255, 255, 255, 0)';
|
|
205
|
+
export const aiBorderStrong = '#4589ff';
|
|
206
|
+
export const aiBorderStart = 'rgba(166, 200, 255, 0.64)';
|
|
207
|
+
export const aiBorderEnd = '#78a9ff';
|
|
208
|
+
export const aiDropShadow = 'rgba(15, 98, 254, 0.1)';
|
|
209
|
+
export const aiAuraHoverBackground = '#edf5ff';
|
|
210
|
+
export const aiAuraHoverStart = 'rgba(69, 137, 255, 0.32)';
|
|
211
|
+
export const aiAuraHoverEnd = 'rgba(255, 255, 255, 0)';
|
|
212
|
+
export const aiPopoverBackground = '#ffffff';
|
|
213
|
+
export const aiPopoverShadowOuter01 = 'rgba(0, 67, 206, 0.06)';
|
|
214
|
+
export const aiPopoverShadowOuter02 = 'rgba(0, 0, 0, 0.04)';
|
|
215
|
+
export const aiSkeletonBackground = '#d0e2ff';
|
|
216
|
+
export const aiSkeletonElementBackground = '#4589ff';
|
|
217
|
+
export const aiOverlay = 'rgba(0, 17, 65, 0.5)';
|
|
218
|
+
export const aiPopoverCaretCenter = '#a0c3ff';
|
|
219
|
+
export const aiPopoverCaretBottom = '#78a9ff';
|
|
220
|
+
export const aiPopoverCaretBottomBackgroundActions = '#e9effa';
|
|
221
|
+
export const aiPopoverCaretBottomBackground = '#eaf1ff';
|
|
222
|
+
export const chatPromptBackground = '#ffffff';
|
|
223
|
+
export const chatPromptBorderStart = '#f4f4f4';
|
|
224
|
+
export const chatPromptBorderEnd = 'rgba(244, 244, 244, 0)';
|
|
225
|
+
export const chatPromptText = '#161616';
|
|
226
|
+
export const chatBubbleUser = '#e0e0e0';
|
|
227
|
+
export const chatBubbleUserText = '#161616';
|
|
228
|
+
export const chatBubbleAgent = '#ffffff';
|
|
229
|
+
export const chatBubbleAgentText = '#161616';
|
|
230
|
+
export const chatBubbleBorder = '#e0e0e0';
|
|
231
|
+
export const chatAvatarBot = '#6f6f6f';
|
|
232
|
+
export const chatAvatarAgent = '#393939';
|
|
233
|
+
export const chatAvatarUser = '#0f62fe';
|
|
234
|
+
export const chatShellBackground = '#ffffff';
|
|
235
|
+
export const chatHeaderBackground = '#ffffff';
|
|
236
|
+
export const chatHeaderText = '#161616';
|
|
237
|
+
export const chatButton = '#0f62fe';
|
|
238
|
+
export const chatButtonHover = 'rgba(141, 141, 141, 0.12)';
|
|
239
|
+
export const chatButtonTextHover = '#0043ce';
|
|
240
|
+
export const chatButtonActive = 'rgba(141, 141, 141, 0.5)';
|
|
241
|
+
export const chatButtonSelected = 'rgba(141, 141, 141, 0.2)';
|
|
242
|
+
export const chatButtonTextSelected = '#525252';
|
package/lib/index.d.ts
CHANGED
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import * as white from '
|
|
8
|
-
import * as g10 from '
|
|
9
|
-
import * as g90 from '
|
|
10
|
-
import * as g100 from '
|
|
7
|
+
import * as white from '../js/generated/themes/white.js';
|
|
8
|
+
import * as g10 from '../js/generated/themes/g10.js';
|
|
9
|
+
import * as g90 from '../js/generated/themes/g90.js';
|
|
10
|
+
import * as g100 from '../js/generated/themes/g100.js';
|
|
11
11
|
import * as v10 from './v10';
|
|
12
|
-
import * as buttonTokens from '
|
|
13
|
-
import * as tagTokens from '
|
|
14
|
-
import * as notificationTokens from '
|
|
15
|
-
import * as statusTokens from '
|
|
16
|
-
import * as contentSwitcherTokens from '
|
|
12
|
+
import * as buttonTokens from '../js/generated/component-tokens/button.js';
|
|
13
|
+
import * as tagTokens from '../js/generated/component-tokens/tag.js';
|
|
14
|
+
import * as notificationTokens from '../js/generated/component-tokens/notification.js';
|
|
15
|
+
import * as statusTokens from '../js/generated/component-tokens/status.js';
|
|
16
|
+
import * as contentSwitcherTokens from '../js/generated/component-tokens/content-switcher.js';
|
|
17
17
|
import { formatTokenName } from './tools';
|
|
18
18
|
import { unstable_metadata } from './tokens';
|
|
19
19
|
declare const themes: {
|
|
@@ -22,5 +22,7 @@ declare const themes: {
|
|
|
22
22
|
g90: typeof g90;
|
|
23
23
|
g100: typeof g100;
|
|
24
24
|
};
|
|
25
|
-
export * from '
|
|
25
|
+
export * from '../js/generated/themes/white.js';
|
|
26
26
|
export { white, g10, g90, g100, themes, v10, buttonTokens, tagTokens, notificationTokens, statusTokens, contentSwitcherTokens, unstable_metadata, formatTokenName, };
|
|
27
|
+
export { caption01, caption02, label01, label02, helperText01, helperText02, bodyShort01, bodyLong01, bodyShort02, bodyLong02, code01, code02, heading01, productiveHeading01, heading02, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, quotation01, quotation02, display01, display02, display03, display04, } from '@carbon/type';
|
|
28
|
+
export { spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12, spacing13, fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04, container01, container02, container03, container04, container05, sizeXSmall, sizeSmall, sizeMedium, sizeLarge, sizeXLarge, size2XLarge, iconSize01, iconSize02, layout01, layout02, layout03, layout04, layout05, layout06, layout07, } from '@carbon/layout';
|