@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.
Files changed (64) hide show
  1. package/es/index.js +1360 -1722
  2. package/js/generated/component-tokens/button.d.ts +98 -0
  3. package/{src/component-tokens/button/tokens.ts → js/generated/component-tokens/button.js} +65 -97
  4. package/js/generated/component-tokens/content-switcher.d.ts +25 -0
  5. package/js/generated/component-tokens/content-switcher.js +25 -0
  6. package/js/generated/component-tokens/notification.d.ts +65 -0
  7. package/js/generated/component-tokens/notification.js +65 -0
  8. package/js/generated/component-tokens/status.d.ts +63 -0
  9. package/js/generated/component-tokens/status.js +63 -0
  10. package/js/generated/component-tokens/tag.d.ts +247 -0
  11. package/js/generated/component-tokens/tag.js +247 -0
  12. package/js/generated/themes/g10.d.ts +242 -0
  13. package/js/generated/themes/g10.js +242 -0
  14. package/js/generated/themes/g100.d.ts +242 -0
  15. package/js/generated/themes/g100.js +242 -0
  16. package/js/generated/themes/g90.d.ts +242 -0
  17. package/js/generated/themes/g90.js +242 -0
  18. package/js/generated/themes/white.d.ts +242 -0
  19. package/js/generated/themes/white.js +242 -0
  20. package/lib/index.d.ts +12 -10
  21. package/lib/index.js +1360 -1722
  22. package/package.json +12 -9
  23. package/scss/generated/_button-tokens.scss +2 -2
  24. package/src/dtcg/README.md +210 -0
  25. package/src/dtcg/color-palette.json +3204 -0
  26. package/src/dtcg/components/button.json +193 -0
  27. package/src/dtcg/components/content-switcher.json +60 -0
  28. package/src/dtcg/components/notification.json +130 -0
  29. package/src/dtcg/components/status.json +122 -0
  30. package/src/dtcg/components/tag.json +486 -0
  31. package/src/dtcg/g10.json +1453 -0
  32. package/src/dtcg/g100.json +1478 -0
  33. package/src/dtcg/g90.json +1478 -0
  34. package/src/dtcg/white.json +1345 -0
  35. package/src/index.ts +96 -10
  36. package/test-dtcg.scss +28 -0
  37. package/umd/index.js +1363 -1725
  38. package/lib/component-tokens/button/index.d.ts +0 -7
  39. package/lib/component-tokens/button/tokens.d.ts +0 -98
  40. package/lib/component-tokens/content-switcher/index.d.ts +0 -7
  41. package/lib/component-tokens/content-switcher/tokens.d.ts +0 -24
  42. package/lib/component-tokens/notification/index.d.ts +0 -7
  43. package/lib/component-tokens/notification/tokens.d.ts +0 -64
  44. package/lib/component-tokens/status/index.d.ts +0 -7
  45. package/lib/component-tokens/status/tokens.d.ts +0 -62
  46. package/lib/component-tokens/tag/index.d.ts +0 -7
  47. package/lib/component-tokens/tag/tokens.d.ts +0 -246
  48. package/lib/g10.d.ts +0 -242
  49. package/lib/g100.d.ts +0 -242
  50. package/lib/g90.d.ts +0 -242
  51. package/lib/white.d.ts +0 -243
  52. package/src/component-tokens/button/index.ts +0 -8
  53. package/src/component-tokens/content-switcher/index.ts +0 -7
  54. package/src/component-tokens/content-switcher/tokens.ts +0 -29
  55. package/src/component-tokens/notification/index.ts +0 -8
  56. package/src/component-tokens/notification/tokens.ts +0 -105
  57. package/src/component-tokens/status/index.ts +0 -8
  58. package/src/component-tokens/status/tokens.ts +0 -90
  59. package/src/component-tokens/tag/index.ts +0 -8
  60. package/src/component-tokens/tag/tokens.ts +0 -353
  61. package/src/g10.ts +0 -452
  62. package/src/g100.ts +0 -453
  63. package/src/g90.ts +0 -455
  64. package/src/white.ts +0 -455
@@ -0,0 +1,247 @@
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 tagBackgroundBlue: {
9
+ whiteTheme: string;
10
+ g10: string;
11
+ g90: string;
12
+ g100: string;
13
+ };
14
+ export declare const tagBackgroundCoolGray: {
15
+ whiteTheme: string;
16
+ g10: string;
17
+ g90: string;
18
+ g100: string;
19
+ };
20
+ export declare const tagBackgroundCyan: {
21
+ whiteTheme: string;
22
+ g10: string;
23
+ g90: string;
24
+ g100: string;
25
+ };
26
+ export declare const tagBackgroundGray: {
27
+ whiteTheme: string;
28
+ g10: string;
29
+ g90: string;
30
+ g100: string;
31
+ };
32
+ export declare const tagBackgroundGreen: {
33
+ whiteTheme: string;
34
+ g10: string;
35
+ g90: string;
36
+ g100: string;
37
+ };
38
+ export declare const tagBackgroundMagenta: {
39
+ whiteTheme: string;
40
+ g10: string;
41
+ g90: string;
42
+ g100: string;
43
+ };
44
+ export declare const tagBackgroundPurple: {
45
+ whiteTheme: string;
46
+ g10: string;
47
+ g90: string;
48
+ g100: string;
49
+ };
50
+ export declare const tagBackgroundRed: {
51
+ whiteTheme: string;
52
+ g10: string;
53
+ g90: string;
54
+ g100: string;
55
+ };
56
+ export declare const tagBackgroundTeal: {
57
+ whiteTheme: string;
58
+ g10: string;
59
+ g90: string;
60
+ g100: string;
61
+ };
62
+ export declare const tagBackgroundWarmGray: {
63
+ whiteTheme: string;
64
+ g10: string;
65
+ g90: string;
66
+ g100: string;
67
+ };
68
+ export declare const tagBorderBlue: {
69
+ whiteTheme: string;
70
+ g10: string;
71
+ g90: string;
72
+ g100: string;
73
+ };
74
+ export declare const tagBorderCoolGray: {
75
+ whiteTheme: string;
76
+ g10: string;
77
+ g90: string;
78
+ g100: string;
79
+ };
80
+ export declare const tagBorderCyan: {
81
+ whiteTheme: string;
82
+ g10: string;
83
+ g90: string;
84
+ g100: string;
85
+ };
86
+ export declare const tagBorderGray: {
87
+ whiteTheme: string;
88
+ g10: string;
89
+ g90: string;
90
+ g100: string;
91
+ };
92
+ export declare const tagBorderGreen: {
93
+ whiteTheme: string;
94
+ g10: string;
95
+ g90: string;
96
+ g100: string;
97
+ };
98
+ export declare const tagBorderMagenta: {
99
+ whiteTheme: string;
100
+ g10: string;
101
+ g90: string;
102
+ g100: string;
103
+ };
104
+ export declare const tagBorderPurple: {
105
+ whiteTheme: string;
106
+ g10: string;
107
+ g90: string;
108
+ g100: string;
109
+ };
110
+ export declare const tagBorderRed: {
111
+ whiteTheme: string;
112
+ g10: string;
113
+ g90: string;
114
+ g100: string;
115
+ };
116
+ export declare const tagBorderTeal: {
117
+ whiteTheme: string;
118
+ g10: string;
119
+ g90: string;
120
+ g100: string;
121
+ };
122
+ export declare const tagBorderWarmGray: {
123
+ whiteTheme: string;
124
+ g10: string;
125
+ g90: string;
126
+ g100: string;
127
+ };
128
+ export declare const tagColorBlue: {
129
+ whiteTheme: string;
130
+ g10: string;
131
+ g90: string;
132
+ g100: string;
133
+ };
134
+ export declare const tagColorCoolGray: {
135
+ whiteTheme: string;
136
+ g10: string;
137
+ g90: string;
138
+ g100: string;
139
+ };
140
+ export declare const tagColorCyan: {
141
+ whiteTheme: string;
142
+ g10: string;
143
+ g90: string;
144
+ g100: string;
145
+ };
146
+ export declare const tagColorGray: {
147
+ whiteTheme: string;
148
+ g10: string;
149
+ g90: string;
150
+ g100: string;
151
+ };
152
+ export declare const tagColorGreen: {
153
+ whiteTheme: string;
154
+ g10: string;
155
+ g90: string;
156
+ g100: string;
157
+ };
158
+ export declare const tagColorMagenta: {
159
+ whiteTheme: string;
160
+ g10: string;
161
+ g90: string;
162
+ g100: string;
163
+ };
164
+ export declare const tagColorPurple: {
165
+ whiteTheme: string;
166
+ g10: string;
167
+ g90: string;
168
+ g100: string;
169
+ };
170
+ export declare const tagColorRed: {
171
+ whiteTheme: string;
172
+ g10: string;
173
+ g90: string;
174
+ g100: string;
175
+ };
176
+ export declare const tagColorTeal: {
177
+ whiteTheme: string;
178
+ g10: string;
179
+ g90: string;
180
+ g100: string;
181
+ };
182
+ export declare const tagColorWarmGray: {
183
+ whiteTheme: string;
184
+ g10: string;
185
+ g90: string;
186
+ g100: string;
187
+ };
188
+ export declare const tagHoverBlue: {
189
+ whiteTheme: string;
190
+ g10: string;
191
+ g90: string;
192
+ g100: string;
193
+ };
194
+ export declare const tagHoverCoolGray: {
195
+ whiteTheme: string;
196
+ g10: string;
197
+ g90: string;
198
+ g100: string;
199
+ };
200
+ export declare const tagHoverCyan: {
201
+ whiteTheme: string;
202
+ g10: string;
203
+ g90: string;
204
+ g100: string;
205
+ };
206
+ export declare const tagHoverGray: {
207
+ whiteTheme: string;
208
+ g10: string;
209
+ g90: string;
210
+ g100: string;
211
+ };
212
+ export declare const tagHoverGreen: {
213
+ whiteTheme: string;
214
+ g10: string;
215
+ g90: string;
216
+ g100: string;
217
+ };
218
+ export declare const tagHoverMagenta: {
219
+ whiteTheme: string;
220
+ g10: string;
221
+ g90: string;
222
+ g100: string;
223
+ };
224
+ export declare const tagHoverPurple: {
225
+ whiteTheme: string;
226
+ g10: string;
227
+ g90: string;
228
+ g100: string;
229
+ };
230
+ export declare const tagHoverRed: {
231
+ whiteTheme: string;
232
+ g10: string;
233
+ g90: string;
234
+ g100: string;
235
+ };
236
+ export declare const tagHoverTeal: {
237
+ whiteTheme: string;
238
+ g10: string;
239
+ g90: string;
240
+ g100: string;
241
+ };
242
+ export declare const tagHoverWarmGray: {
243
+ whiteTheme: string;
244
+ g10: string;
245
+ g90: string;
246
+ g100: string;
247
+ };
@@ -0,0 +1,247 @@
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 tagBackgroundBlue = {
9
+ whiteTheme: '#d0e2ff',
10
+ g10: '#d0e2ff',
11
+ g90: '#0043ce',
12
+ g100: '#0043ce',
13
+ };
14
+ export const tagBackgroundCoolGray = {
15
+ whiteTheme: '#dde1e6',
16
+ g10: '#dde1e6',
17
+ g90: '#4d5358',
18
+ g100: '#4d5358',
19
+ };
20
+ export const tagBackgroundCyan = {
21
+ whiteTheme: '#bae6ff',
22
+ g10: '#bae6ff',
23
+ g90: '#00539a',
24
+ g100: '#00539a',
25
+ };
26
+ export const tagBackgroundGray = {
27
+ whiteTheme: '#e0e0e0',
28
+ g10: '#e0e0e0',
29
+ g90: '#525252',
30
+ g100: '#525252',
31
+ };
32
+ export const tagBackgroundGreen = {
33
+ whiteTheme: '#a7f0ba',
34
+ g10: '#a7f0ba',
35
+ g90: '#0e6027',
36
+ g100: '#0e6027',
37
+ };
38
+ export const tagBackgroundMagenta = {
39
+ whiteTheme: '#ffd6e8',
40
+ g10: '#ffd6e8',
41
+ g90: '#9f1853',
42
+ g100: '#9f1853',
43
+ };
44
+ export const tagBackgroundPurple = {
45
+ whiteTheme: '#e8daff',
46
+ g10: '#e8daff',
47
+ g90: '#6929c4',
48
+ g100: '#6929c4',
49
+ };
50
+ export const tagBackgroundRed = {
51
+ whiteTheme: '#ffd7d9',
52
+ g10: '#ffd7d9',
53
+ g90: '#a2191f',
54
+ g100: '#a2191f',
55
+ };
56
+ export const tagBackgroundTeal = {
57
+ whiteTheme: '#9ef0f0',
58
+ g10: '#9ef0f0',
59
+ g90: '#005d5d',
60
+ g100: '#005d5d',
61
+ };
62
+ export const tagBackgroundWarmGray = {
63
+ whiteTheme: '#e5e0df',
64
+ g10: '#e5e0df',
65
+ g90: '#565151',
66
+ g100: '#565151',
67
+ };
68
+ export const tagBorderBlue = {
69
+ whiteTheme: '#78a9ff',
70
+ g10: '#78a9ff',
71
+ g90: '#4589ff',
72
+ g100: '#4589ff',
73
+ };
74
+ export const tagBorderCoolGray = {
75
+ whiteTheme: '#a2a9b0',
76
+ g10: '#a2a9b0',
77
+ g90: '#878d96',
78
+ g100: '#878d96',
79
+ };
80
+ export const tagBorderCyan = {
81
+ whiteTheme: '#33b1ff',
82
+ g10: '#33b1ff',
83
+ g90: '#1192e8',
84
+ g100: '#1192e8',
85
+ };
86
+ export const tagBorderGray = {
87
+ whiteTheme: '#a8a8a8',
88
+ g10: '#a8a8a8',
89
+ g90: '#8d8d8d',
90
+ g100: '#8d8d8d',
91
+ };
92
+ export const tagBorderGreen = {
93
+ whiteTheme: '#42be65',
94
+ g10: '#42be65',
95
+ g90: '#24a148',
96
+ g100: '#24a148',
97
+ };
98
+ export const tagBorderMagenta = {
99
+ whiteTheme: '#ff7eb6',
100
+ g10: '#ff7eb6',
101
+ g90: '#ee5396',
102
+ g100: '#ee5396',
103
+ };
104
+ export const tagBorderPurple = {
105
+ whiteTheme: '#be95ff',
106
+ g10: '#be95ff',
107
+ g90: '#a56eff',
108
+ g100: '#a56eff',
109
+ };
110
+ export const tagBorderRed = {
111
+ whiteTheme: '#ff8389',
112
+ g10: '#ff8389',
113
+ g90: '#fa4d56',
114
+ g100: '#fa4d56',
115
+ };
116
+ export const tagBorderTeal = {
117
+ whiteTheme: '#08bdba',
118
+ g10: '#08bdba',
119
+ g90: '#009d9a',
120
+ g100: '#009d9a',
121
+ };
122
+ export const tagBorderWarmGray = {
123
+ whiteTheme: '#ada8a8',
124
+ g10: '#ada8a8',
125
+ g90: '#8f8b8b',
126
+ g100: '#8f8b8b',
127
+ };
128
+ export const tagColorBlue = {
129
+ whiteTheme: '#0043ce',
130
+ g10: '#0043ce',
131
+ g90: '#d0e2ff',
132
+ g100: '#d0e2ff',
133
+ };
134
+ export const tagColorCoolGray = {
135
+ whiteTheme: '#121619',
136
+ g10: '#121619',
137
+ g90: '#f2f4f8',
138
+ g100: '#f2f4f8',
139
+ };
140
+ export const tagColorCyan = {
141
+ whiteTheme: '#00539a',
142
+ g10: '#00539a',
143
+ g90: '#bae6ff',
144
+ g100: '#bae6ff',
145
+ };
146
+ export const tagColorGray = {
147
+ whiteTheme: '#161616',
148
+ g10: '#161616',
149
+ g90: '#f4f4f4',
150
+ g100: '#f4f4f4',
151
+ };
152
+ export const tagColorGreen = {
153
+ whiteTheme: '#0e6027',
154
+ g10: '#0e6027',
155
+ g90: '#a7f0ba',
156
+ g100: '#a7f0ba',
157
+ };
158
+ export const tagColorMagenta = {
159
+ whiteTheme: '#9f1853',
160
+ g10: '#9f1853',
161
+ g90: '#ffd6e8',
162
+ g100: '#ffd6e8',
163
+ };
164
+ export const tagColorPurple = {
165
+ whiteTheme: '#6929c4',
166
+ g10: '#6929c4',
167
+ g90: '#e8daff',
168
+ g100: '#e8daff',
169
+ };
170
+ export const tagColorRed = {
171
+ whiteTheme: '#a2191f',
172
+ g10: '#a2191f',
173
+ g90: '#ffd7d9',
174
+ g100: '#ffd7d9',
175
+ };
176
+ export const tagColorTeal = {
177
+ whiteTheme: '#005d5d',
178
+ g10: '#005d5d',
179
+ g90: '#9ef0f0',
180
+ g100: '#9ef0f0',
181
+ };
182
+ export const tagColorWarmGray = {
183
+ whiteTheme: '#171414',
184
+ g10: '#171414',
185
+ g90: '#f7f3f2',
186
+ g100: '#f7f3f2',
187
+ };
188
+ export const tagHoverBlue = {
189
+ whiteTheme: '#b8d3ff',
190
+ g10: '#b8d3ff',
191
+ g90: '#0053ff',
192
+ g100: '#0053ff',
193
+ };
194
+ export const tagHoverCoolGray = {
195
+ whiteTheme: '#cdd3da',
196
+ g10: '#cdd3da',
197
+ g90: '#5d646a',
198
+ g100: '#5d646a',
199
+ };
200
+ export const tagHoverCyan = {
201
+ whiteTheme: '#99daff',
202
+ g10: '#99daff',
203
+ g90: '#0066bd',
204
+ g100: '#0066bd',
205
+ };
206
+ export const tagHoverGray = {
207
+ whiteTheme: '#d1d1d1',
208
+ g10: '#d1d1d1',
209
+ g90: '#636363',
210
+ g100: '#636363',
211
+ };
212
+ export const tagHoverGreen = {
213
+ whiteTheme: '#74e792',
214
+ g10: '#74e792',
215
+ g90: '#11742f',
216
+ g100: '#11742f',
217
+ };
218
+ export const tagHoverMagenta = {
219
+ whiteTheme: '#ffbdda',
220
+ g10: '#ffbdda',
221
+ g90: '#bf1d63',
222
+ g100: '#bf1d63',
223
+ };
224
+ export const tagHoverPurple = {
225
+ whiteTheme: '#dcc7ff',
226
+ g10: '#dcc7ff',
227
+ g90: '#7c3dd6',
228
+ g100: '#7c3dd6',
229
+ };
230
+ export const tagHoverRed = {
231
+ whiteTheme: '#ffc2c5',
232
+ g10: '#ffc2c5',
233
+ g90: '#c21e25',
234
+ g100: '#c21e25',
235
+ };
236
+ export const tagHoverTeal = {
237
+ whiteTheme: '#57e5e5',
238
+ g10: '#57e5e5',
239
+ g90: '#007070',
240
+ g100: '#007070',
241
+ };
242
+ export const tagHoverWarmGray = {
243
+ whiteTheme: '#d8d0cf',
244
+ g10: '#d8d0cf',
245
+ g90: '#696363',
246
+ g100: '#696363',
247
+ };