@carbon/themes 10.31.0 → 10.33.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/src/v9.js CHANGED
@@ -101,6 +101,99 @@ export const buttonSeparator = '#e0e0e0';
101
101
  export const skeleton01 = 'rgba(61, 112, 178, .1)';
102
102
  export const skeleton02 = 'rgba(61, 112, 178, .1)';
103
103
 
104
+ // New color tokens
105
+ // TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
106
+ export const background = uiBackground;
107
+ export const layer = ui01;
108
+ export const layerAccent = ui03;
109
+ export const field = field01;
110
+ export const backgroundInverse = inverse02;
111
+ export const backgroundBrand = interactive01;
112
+ export const interactive = interactive04;
113
+
114
+ export const borderSubtle = ui03;
115
+ export const borderStrong = ui04;
116
+ export const borderInverse = ui05;
117
+ export const borderInteractive = interactive04;
118
+
119
+ export const textPrimary = text01;
120
+ export const textSecondary = text02;
121
+ export const textPlaceholder = text03;
122
+ export const textHelper = text05;
123
+ export const textOnColor = text04;
124
+ export const textInverse = inverse01;
125
+
126
+ export const linkPrimary = link01;
127
+ export const linkSecondary = link02;
128
+ export const linkVisited = visitedLink;
129
+ export const linkInverse = inverseLink;
130
+
131
+ export const iconPrimary = icon01;
132
+ export const iconSecondary = icon02;
133
+ export const iconOnColor = icon03;
134
+ export const iconInverse = inverse01;
135
+
136
+ export const supportError = support01;
137
+ export const supportSuccess = support02;
138
+ export const supportWarning = support03;
139
+ export const supportInfo = support04;
140
+ export const supportErrorInverse = inverseSupport01;
141
+ export const supportSuccessInverse = inverseSupport02;
142
+ export const supportWarningInverse = inverseSupport03;
143
+ export const supportInfoInverse = inverseSupport04;
144
+
145
+ export const overlay = overlay01;
146
+ export const toggleOff = ui04;
147
+
148
+ export const buttonPrimary = interactive01;
149
+ export const buttonSecondary = interactive02;
150
+ export const buttonTertiary = interactive03;
151
+ export const buttonDangerPrimary = danger01;
152
+ export const buttonDangerSecondary = danger02;
153
+
154
+ export const backgroundActive = activeUI;
155
+ export const layerActive = activeUI;
156
+
157
+ export const buttonDangerActive = activeDanger;
158
+ export const buttonPrimaryActive = activePrimary;
159
+ export const buttonSecondaryActive = activeSecondary;
160
+ export const buttonTertiaryActive = activeTertiary;
161
+
162
+ export const focusInset = inverse01;
163
+ export const focusInverse = inverseFocusUi;
164
+
165
+ export const backgroundHover = hoverUI;
166
+ export const layerHover = hoverUI;
167
+ export const fieldHover = hoverUI;
168
+ export const backgroundInverseHover = inverseHoverUI;
169
+ export const linkPrimaryHover = hoverPrimaryText;
170
+ export const buttonDangerHover = hoverDanger;
171
+ export const buttonPrimaryHover = hoverPrimary;
172
+ export const buttonSecondaryHover = hoverSecondary;
173
+ export const buttonTertiaryHover = hoverTertiary;
174
+
175
+ export const backgroundSelected = selectedUI;
176
+ export const backgroundSelectedHover = hoverSelectedUI;
177
+ export const layerSelected = selectedUI;
178
+ export const layerSelectedHover = hoverSelectedUI;
179
+ export const layerSelectedInverse = ui05;
180
+ export const borderSubtleSelected = activeUI;
181
+
182
+ export const layerDisabled = disabled01;
183
+ export const fieldDisabled = disabled01;
184
+ export const borderDisabled = disabled01;
185
+
186
+ export const textDisabled = disabled02;
187
+ export const buttonDisabled = disabled02;
188
+ export const iconDisabled = disabled02;
189
+
190
+ export const textOnColorDisabled = disabled03;
191
+ export const iconOnColorDisabled = disabled03;
192
+ export const layerSelectedDisabled = disabled03;
193
+
194
+ export const skeletonBackground = skeleton01;
195
+ export const skeletonElement = skeleton02;
196
+
104
197
  export {
105
198
  // Type
106
199
  caption01,
package/src/white.js CHANGED
@@ -137,6 +137,99 @@ export const buttonSeparator = '#e0e0e0';
137
137
  export const skeleton01 = '#e5e5e5';
138
138
  export const skeleton02 = gray30;
139
139
 
140
+ // New color tokens
141
+ // TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
142
+ export const background = uiBackground;
143
+ export const layer = ui01;
144
+ export const layerAccent = ui03;
145
+ export const field = field01;
146
+ export const backgroundInverse = inverse02;
147
+ export const backgroundBrand = interactive01;
148
+ export const interactive = interactive04;
149
+
150
+ export const borderSubtle = ui03;
151
+ export const borderStrong = ui04;
152
+ export const borderInverse = ui05;
153
+ export const borderInteractive = interactive04;
154
+
155
+ export const textPrimary = text01;
156
+ export const textSecondary = text02;
157
+ export const textPlaceholder = text03;
158
+ export const textHelper = text05;
159
+ export const textOnColor = text04;
160
+ export const textInverse = inverse01;
161
+
162
+ export const linkPrimary = link01;
163
+ export const linkSecondary = link02;
164
+ export const linkVisited = visitedLink;
165
+ export const linkInverse = inverseLink;
166
+
167
+ export const iconPrimary = icon01;
168
+ export const iconSecondary = icon02;
169
+ export const iconOnColor = icon03;
170
+ export const iconInverse = inverse01;
171
+
172
+ export const supportError = support01;
173
+ export const supportSuccess = support02;
174
+ export const supportWarning = support03;
175
+ export const supportInfo = support04;
176
+ export const supportErrorInverse = inverseSupport01;
177
+ export const supportSuccessInverse = inverseSupport02;
178
+ export const supportWarningInverse = inverseSupport03;
179
+ export const supportInfoInverse = inverseSupport04;
180
+
181
+ export const overlay = overlay01;
182
+ export const toggleOff = ui04;
183
+
184
+ export const buttonPrimary = interactive01;
185
+ export const buttonSecondary = interactive02;
186
+ export const buttonTertiary = interactive03;
187
+ export const buttonDangerPrimary = danger01;
188
+ export const buttonDangerSecondary = danger02;
189
+
190
+ export const backgroundActive = activeUI;
191
+ export const layerActive = activeUI;
192
+
193
+ export const buttonDangerActive = activeDanger;
194
+ export const buttonPrimaryActive = activePrimary;
195
+ export const buttonSecondaryActive = activeSecondary;
196
+ export const buttonTertiaryActive = activeTertiary;
197
+
198
+ export const focusInset = inverse01;
199
+ export const focusInverse = inverseFocusUi;
200
+
201
+ export const backgroundHover = hoverUI;
202
+ export const layerHover = hoverUI;
203
+ export const fieldHover = hoverUI;
204
+ export const backgroundInverseHover = inverseHoverUI;
205
+ export const linkPrimaryHover = hoverPrimaryText;
206
+ export const buttonDangerHover = hoverDanger;
207
+ export const buttonPrimaryHover = hoverPrimary;
208
+ export const buttonSecondaryHover = hoverSecondary;
209
+ export const buttonTertiaryHover = hoverTertiary;
210
+
211
+ export const backgroundSelected = selectedUI;
212
+ export const backgroundSelectedHover = hoverSelectedUI;
213
+ export const layerSelected = selectedUI;
214
+ export const layerSelectedHover = hoverSelectedUI;
215
+ export const layerSelectedInverse = ui05;
216
+ export const borderSubtleSelected = activeUI;
217
+
218
+ export const layerDisabled = disabled01;
219
+ export const fieldDisabled = disabled01;
220
+ export const borderDisabled = disabled01;
221
+
222
+ export const textDisabled = disabled02;
223
+ export const buttonDisabled = disabled02;
224
+ export const iconDisabled = disabled02;
225
+
226
+ export const textOnColorDisabled = disabled03;
227
+ export const iconOnColorDisabled = disabled03;
228
+ export const layerSelectedDisabled = disabled03;
229
+
230
+ export const skeletonBackground = skeleton01;
231
+ export const skeletonElement = skeleton02;
232
+
140
233
  // Type
141
234
  export {
142
235
  caption01,