@elastic/eui-theme-borealis 3.0.0 → 3.2.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/lib/cjs/variables/_components.js +160 -135
- package/lib/esm/variables/_components.js +13 -0
- package/package.json +2 -2
|
@@ -87,6 +87,7 @@ var component_colors = {
|
|
|
87
87
|
textParagraph = _ref22[0];
|
|
88
88
|
return textParagraph;
|
|
89
89
|
}, ['colors.textParagraph']),
|
|
90
|
+
codeInlineBackground: _semantic_colors.SEMANTIC_COLORS.shade15,
|
|
90
91
|
codeInlineColor: _semantic_colors.SEMANTIC_COLORS.assistance100,
|
|
91
92
|
codeCommentColor: (0, _euiThemeCommon.computed)(function (_ref23) {
|
|
92
93
|
var _ref24 = _slicedToArray(_ref23, 1),
|
|
@@ -152,235 +153,254 @@ var component_colors = {
|
|
|
152
153
|
backgroundBaseInteractiveSelectHover = _ref40[0];
|
|
153
154
|
return backgroundBaseInteractiveSelectHover;
|
|
154
155
|
}, ['colors.backgroundBaseInteractiveSelectHover']),
|
|
155
|
-
|
|
156
|
+
dataGridRowBackgroundMarked: _semantic_colors.SEMANTIC_COLORS.warning10,
|
|
157
|
+
dataGridRowBackgroundMarkedHover: _semantic_colors.SEMANTIC_COLORS.warning20,
|
|
158
|
+
dataGridRowBorderActive: (0, _euiThemeCommon.computed)(function (_ref41) {
|
|
156
159
|
var _ref42 = _slicedToArray(_ref41, 1),
|
|
157
|
-
|
|
160
|
+
borderStrongPrimary = _ref42[0];
|
|
161
|
+
return borderStrongPrimary;
|
|
162
|
+
}, ['colors.borderStrongPrimary']),
|
|
163
|
+
dataGridRowBorderHover: (0, _euiThemeCommon.computed)(function (_ref43) {
|
|
164
|
+
var _ref44 = _slicedToArray(_ref43, 1),
|
|
165
|
+
borderStrongText = _ref44[0];
|
|
166
|
+
return borderStrongText;
|
|
167
|
+
}, ['colors.borderStrongText']),
|
|
168
|
+
dataGridRowBorderMarked: (0, _euiThemeCommon.computed)(function (_ref45) {
|
|
169
|
+
var _ref46 = _slicedToArray(_ref45, 1),
|
|
170
|
+
borderStrongWarning = _ref46[0];
|
|
171
|
+
return borderStrongWarning;
|
|
172
|
+
}, ['colors.borderStrongWarning']),
|
|
173
|
+
dataGridRowStripesBackground: (0, _euiThemeCommon.computed)(function (_ref47) {
|
|
174
|
+
var _ref48 = _slicedToArray(_ref47, 1),
|
|
175
|
+
backgroundBasePlain = _ref48[0];
|
|
158
176
|
return backgroundBasePlain;
|
|
159
177
|
}, ['colors.backgroundBasePlain']),
|
|
160
|
-
dataGridRowStripesBackgroundHover: (0, _euiThemeCommon.computed)(function (
|
|
161
|
-
var
|
|
162
|
-
backgroundBasePlain =
|
|
178
|
+
dataGridRowStripesBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref49) {
|
|
179
|
+
var _ref50 = _slicedToArray(_ref49, 1),
|
|
180
|
+
backgroundBasePlain = _ref50[0];
|
|
163
181
|
return backgroundBasePlain;
|
|
164
182
|
}, ['colors.backgroundBasePlain']),
|
|
165
|
-
dataGridRowStripesBackgroundStriped: (0, _euiThemeCommon.computed)(function (
|
|
166
|
-
var
|
|
167
|
-
backgroundBaseSubdued =
|
|
183
|
+
dataGridRowStripesBackgroundStriped: (0, _euiThemeCommon.computed)(function (_ref51) {
|
|
184
|
+
var _ref52 = _slicedToArray(_ref51, 1),
|
|
185
|
+
backgroundBaseSubdued = _ref52[0];
|
|
168
186
|
return backgroundBaseSubdued;
|
|
169
187
|
}, ['colors.backgroundBaseSubdued']),
|
|
170
|
-
dataGridRowStripesBackgroundStripedHover: (0, _euiThemeCommon.computed)(function (
|
|
171
|
-
var
|
|
172
|
-
backgroundBaseSubdued =
|
|
188
|
+
dataGridRowStripesBackgroundStripedHover: (0, _euiThemeCommon.computed)(function (_ref53) {
|
|
189
|
+
var _ref54 = _slicedToArray(_ref53, 1),
|
|
190
|
+
backgroundBaseSubdued = _ref54[0];
|
|
173
191
|
return backgroundBaseSubdued;
|
|
174
192
|
}, ['colors.backgroundBaseSubdued']),
|
|
175
|
-
dataGridRowStripesBackgroundSelect: (0, _euiThemeCommon.computed)(function (
|
|
176
|
-
var
|
|
177
|
-
backgroundBaseInteractiveSelect =
|
|
193
|
+
dataGridRowStripesBackgroundSelect: (0, _euiThemeCommon.computed)(function (_ref55) {
|
|
194
|
+
var _ref56 = _slicedToArray(_ref55, 1),
|
|
195
|
+
backgroundBaseInteractiveSelect = _ref56[0];
|
|
178
196
|
return backgroundBaseInteractiveSelect;
|
|
179
197
|
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
180
|
-
dataGridRowStripesBackgroundSelectHover: (0, _euiThemeCommon.computed)(function (
|
|
181
|
-
var
|
|
182
|
-
backgroundBaseInteractiveSelect =
|
|
198
|
+
dataGridRowStripesBackgroundSelectHover: (0, _euiThemeCommon.computed)(function (_ref57) {
|
|
199
|
+
var _ref58 = _slicedToArray(_ref57, 1),
|
|
200
|
+
backgroundBaseInteractiveSelect = _ref58[0];
|
|
183
201
|
return backgroundBaseInteractiveSelect;
|
|
184
202
|
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
185
|
-
dragDropDraggingBackground: (0, _euiThemeCommon.computed)(function (
|
|
186
|
-
var
|
|
187
|
-
backgroundBaseSuccess =
|
|
203
|
+
dragDropDraggingBackground: (0, _euiThemeCommon.computed)(function (_ref59) {
|
|
204
|
+
var _ref60 = _slicedToArray(_ref59, 1),
|
|
205
|
+
backgroundBaseSuccess = _ref60[0];
|
|
188
206
|
return backgroundBaseSuccess;
|
|
189
207
|
}, ['colors.backgroundBaseSuccess']),
|
|
190
|
-
dragDropDraggingOverBackground: (0, _euiThemeCommon.computed)(function (
|
|
191
|
-
var
|
|
192
|
-
backgroundLightSuccess =
|
|
208
|
+
dragDropDraggingOverBackground: (0, _euiThemeCommon.computed)(function (_ref61) {
|
|
209
|
+
var _ref62 = _slicedToArray(_ref61, 1),
|
|
210
|
+
backgroundLightSuccess = _ref62[0];
|
|
193
211
|
return backgroundLightSuccess;
|
|
194
212
|
}, ['colors.backgroundLightSuccess']),
|
|
195
213
|
filterButtonBadgeBackgroundHover: _semantic_colors.SEMANTIC_COLORS.shade25,
|
|
196
|
-
filterSelectItemBackgroundFocusDisabled: (0, _euiThemeCommon.computed)(function (
|
|
197
|
-
var
|
|
198
|
-
backgroundBaseDisabled =
|
|
214
|
+
filterSelectItemBackgroundFocusDisabled: (0, _euiThemeCommon.computed)(function (_ref63) {
|
|
215
|
+
var _ref64 = _slicedToArray(_ref63, 1),
|
|
216
|
+
backgroundBaseDisabled = _ref64[0];
|
|
199
217
|
return backgroundBaseDisabled;
|
|
200
218
|
}, ['colors.backgroundBaseDisabled']),
|
|
201
|
-
flyoutFooterBackground: (0, _euiThemeCommon.computed)(function (
|
|
202
|
-
var
|
|
203
|
-
backgroundBaseHighlighted =
|
|
219
|
+
flyoutFooterBackground: (0, _euiThemeCommon.computed)(function (_ref65) {
|
|
220
|
+
var _ref66 = _slicedToArray(_ref65, 1),
|
|
221
|
+
backgroundBaseHighlighted = _ref66[0];
|
|
204
222
|
return backgroundBaseHighlighted;
|
|
205
223
|
}, ['colors.backgroundBaseHighlighted']),
|
|
206
|
-
flyoutCloseButtonInsideBackground: (0, _euiThemeCommon.computed)(function (
|
|
207
|
-
var
|
|
208
|
-
backgroundBasePlain =
|
|
224
|
+
flyoutCloseButtonInsideBackground: (0, _euiThemeCommon.computed)(function (_ref67) {
|
|
225
|
+
var _ref68 = _slicedToArray(_ref67, 1),
|
|
226
|
+
backgroundBasePlain = _ref68[0];
|
|
209
227
|
return backgroundBasePlain;
|
|
210
228
|
}, ['colors.backgroundBasePlain']),
|
|
211
|
-
headerBackground: (0, _euiThemeCommon.computed)(function (
|
|
212
|
-
var
|
|
213
|
-
backgroundBasePlain =
|
|
229
|
+
headerBackground: (0, _euiThemeCommon.computed)(function (_ref69) {
|
|
230
|
+
var _ref70 = _slicedToArray(_ref69, 1),
|
|
231
|
+
backgroundBasePlain = _ref70[0];
|
|
214
232
|
return backgroundBasePlain;
|
|
215
233
|
}, ['colors.backgroundBasePlain']),
|
|
216
234
|
headerDarkBackground: _colors_dark.dark_background_colors.backgroundBasePlain,
|
|
217
235
|
headerDarkSearchBorderColor: _colors_dark.dark_border_colors.borderBasePlain,
|
|
218
236
|
headerDarkSectionItemBackgroundFocus: _colors_dark.dark_background_colors.backgroundBasePrimary,
|
|
219
|
-
keyPadMenuItemBackgroundDisabledSelect: (0, _euiThemeCommon.computed)(function (
|
|
220
|
-
var
|
|
221
|
-
backgroundBaseDisabled =
|
|
237
|
+
keyPadMenuItemBackgroundDisabledSelect: (0, _euiThemeCommon.computed)(function (_ref71) {
|
|
238
|
+
var _ref72 = _slicedToArray(_ref71, 1),
|
|
239
|
+
backgroundBaseDisabled = _ref72[0];
|
|
222
240
|
return backgroundBaseDisabled;
|
|
223
241
|
}, ['colors.backgroundBaseDisabled']),
|
|
224
|
-
listGroupItemBackgroundPrimaryActive: (0, _euiThemeCommon.computed)(function (
|
|
225
|
-
var
|
|
226
|
-
backgroundBaseInteractiveSelect =
|
|
242
|
+
listGroupItemBackgroundPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref73) {
|
|
243
|
+
var _ref74 = _slicedToArray(_ref73, 1),
|
|
244
|
+
backgroundBaseInteractiveSelect = _ref74[0];
|
|
227
245
|
return backgroundBaseInteractiveSelect;
|
|
228
246
|
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
229
|
-
listGroupItemBackgroundSubduedActive: (0, _euiThemeCommon.computed)(function (
|
|
230
|
-
var
|
|
231
|
-
backgroundBaseInteractiveSelect =
|
|
247
|
+
listGroupItemBackgroundSubduedActive: (0, _euiThemeCommon.computed)(function (_ref75) {
|
|
248
|
+
var _ref76 = _slicedToArray(_ref75, 1),
|
|
249
|
+
backgroundBaseInteractiveSelect = _ref76[0];
|
|
232
250
|
return backgroundBaseInteractiveSelect;
|
|
233
251
|
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
234
|
-
listGroupItemBackgroundHover: (0, _euiThemeCommon.computed)(function (
|
|
235
|
-
var
|
|
236
|
-
backgroundBaseInteractiveHover =
|
|
252
|
+
listGroupItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref77) {
|
|
253
|
+
var _ref78 = _slicedToArray(_ref77, 1),
|
|
254
|
+
backgroundBaseInteractiveHover = _ref78[0];
|
|
237
255
|
return backgroundBaseInteractiveHover;
|
|
238
256
|
}, ['colors.backgroundBaseInteractiveHover']),
|
|
239
|
-
listGroupItemBackgroundPrimaryHover: (0, _euiThemeCommon.computed)(function (
|
|
240
|
-
var
|
|
241
|
-
backgroundBaseInteractiveHover =
|
|
257
|
+
listGroupItemBackgroundPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref79) {
|
|
258
|
+
var _ref80 = _slicedToArray(_ref79, 1),
|
|
259
|
+
backgroundBaseInteractiveHover = _ref80[0];
|
|
242
260
|
return backgroundBaseInteractiveHover;
|
|
243
261
|
}, ['colors.backgroundBaseInteractiveHover']),
|
|
244
262
|
// we don't want to inherit overrides (e.g. HCM)
|
|
245
263
|
loadingSpinnerBorder: _colors_light.border_colors.borderBasePlain,
|
|
246
|
-
loadingSpinnerHighlight: (0, _euiThemeCommon.computed)(function (
|
|
247
|
-
var
|
|
248
|
-
borderStrongPrimary =
|
|
264
|
+
loadingSpinnerHighlight: (0, _euiThemeCommon.computed)(function (_ref81) {
|
|
265
|
+
var _ref82 = _slicedToArray(_ref81, 1),
|
|
266
|
+
borderStrongPrimary = _ref82[0];
|
|
249
267
|
return borderStrongPrimary;
|
|
250
268
|
}, ['colors.borderStrongPrimary']),
|
|
251
269
|
loadingChartMonoBackground0: _semantic_colors.SEMANTIC_COLORS.shade20,
|
|
252
270
|
loadingChartMonoBackground1: _semantic_colors.SEMANTIC_COLORS.shade30,
|
|
253
271
|
loadingChartMonoBackground2: _semantic_colors.SEMANTIC_COLORS.shade40,
|
|
254
272
|
loadingChartMonoBackground3: _semantic_colors.SEMANTIC_COLORS.shade50,
|
|
255
|
-
markBackground: (0, _euiThemeCommon.computed)(function (
|
|
256
|
-
var
|
|
257
|
-
backgroundLightPrimary =
|
|
273
|
+
markBackground: (0, _euiThemeCommon.computed)(function (_ref83) {
|
|
274
|
+
var _ref84 = _slicedToArray(_ref83, 1),
|
|
275
|
+
backgroundLightPrimary = _ref84[0];
|
|
258
276
|
return backgroundLightPrimary;
|
|
259
277
|
}, ['colors.backgroundLightPrimary']),
|
|
260
|
-
markdownFormatTableBorderColor: (0, _euiThemeCommon.computed)(function (
|
|
261
|
-
var
|
|
262
|
-
borderBasePlain =
|
|
278
|
+
markdownFormatTableBorderColor: (0, _euiThemeCommon.computed)(function (_ref85) {
|
|
279
|
+
var _ref86 = _slicedToArray(_ref85, 1),
|
|
280
|
+
borderBasePlain = _ref86[0];
|
|
263
281
|
return borderBasePlain;
|
|
264
282
|
}, ['colors.borderBasePlain']),
|
|
265
|
-
overlayMaskBackground: (0, _euiThemeCommon.computed)(function (
|
|
266
|
-
var
|
|
267
|
-
backgroundBaseInteractiveOverlay =
|
|
283
|
+
overlayMaskBackground: (0, _euiThemeCommon.computed)(function (_ref87) {
|
|
284
|
+
var _ref88 = _slicedToArray(_ref87, 1),
|
|
285
|
+
backgroundBaseInteractiveOverlay = _ref88[0];
|
|
268
286
|
return backgroundBaseInteractiveOverlay;
|
|
269
287
|
}, ['colors.backgroundBaseInteractiveOverlay']),
|
|
270
288
|
overlayMaskBackgroundHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.shade140RGB, ", 0.9)"),
|
|
271
|
-
popoverPanelBackground: (0, _euiThemeCommon.computed)(function (
|
|
272
|
-
var
|
|
273
|
-
backgroundBasePlain =
|
|
289
|
+
popoverPanelBackground: (0, _euiThemeCommon.computed)(function (_ref89) {
|
|
290
|
+
var _ref90 = _slicedToArray(_ref89, 1),
|
|
291
|
+
backgroundBasePlain = _ref90[0];
|
|
274
292
|
return backgroundBasePlain;
|
|
275
293
|
}, ['colors.backgroundBasePlain']),
|
|
276
|
-
popoverFooterBorderColor: (0, _euiThemeCommon.computed)(function (
|
|
277
|
-
var
|
|
278
|
-
borderBaseSubdued =
|
|
294
|
+
popoverFooterBorderColor: (0, _euiThemeCommon.computed)(function (_ref91) {
|
|
295
|
+
var _ref92 = _slicedToArray(_ref91, 1),
|
|
296
|
+
borderBaseSubdued = _ref92[0];
|
|
279
297
|
return borderBaseSubdued;
|
|
280
298
|
}, ['colors.borderBaseSubdued']),
|
|
281
299
|
scrollbarTrackColor: _semantic_colors.SEMANTIC_COLORS.shade15,
|
|
282
|
-
sideNavItemEmphasizedBackground: (0, _euiThemeCommon.computed)(function (
|
|
283
|
-
var
|
|
284
|
-
backgroundBaseInteractiveSelect =
|
|
300
|
+
sideNavItemEmphasizedBackground: (0, _euiThemeCommon.computed)(function (_ref93) {
|
|
301
|
+
var _ref94 = _slicedToArray(_ref93, 1),
|
|
302
|
+
backgroundBaseInteractiveSelect = _ref94[0];
|
|
285
303
|
return backgroundBaseInteractiveSelect;
|
|
286
304
|
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
287
|
-
selectableListItemBorderColor: (0, _euiThemeCommon.computed)(function (
|
|
288
|
-
var
|
|
289
|
-
borderBaseSubdued =
|
|
305
|
+
selectableListItemBorderColor: (0, _euiThemeCommon.computed)(function (_ref95) {
|
|
306
|
+
var _ref96 = _slicedToArray(_ref95, 1),
|
|
307
|
+
borderBaseSubdued = _ref96[0];
|
|
290
308
|
return borderBaseSubdued;
|
|
291
309
|
}, ['colors.borderBaseSubdued']),
|
|
292
310
|
skeletonBackgroundSkeletonMiddleHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.shade100RGB, ", 0.04)"),
|
|
293
|
-
superDatePickerBackgroundSuccees: (0, _euiThemeCommon.computed)(function (
|
|
294
|
-
var
|
|
295
|
-
backgroundBaseSuccess =
|
|
311
|
+
superDatePickerBackgroundSuccees: (0, _euiThemeCommon.computed)(function (_ref97) {
|
|
312
|
+
var _ref98 = _slicedToArray(_ref97, 1),
|
|
313
|
+
backgroundBaseSuccess = _ref98[0];
|
|
296
314
|
return backgroundBaseSuccess;
|
|
297
315
|
}, ['colors.backgroundBaseSuccess']),
|
|
298
|
-
switchBackgroundOn: (0, _euiThemeCommon.computed)(function (
|
|
299
|
-
var
|
|
300
|
-
backgroundFilledPrimary =
|
|
316
|
+
switchBackgroundOn: (0, _euiThemeCommon.computed)(function (_ref99) {
|
|
317
|
+
var _ref100 = _slicedToArray(_ref99, 1),
|
|
318
|
+
backgroundFilledPrimary = _ref100[0];
|
|
301
319
|
return backgroundFilledPrimary;
|
|
302
320
|
}, ['colors.backgroundFilledPrimary']),
|
|
303
|
-
switchBackgroundOff: (0, _euiThemeCommon.computed)(function (
|
|
304
|
-
var
|
|
305
|
-
backgroundFilledText =
|
|
321
|
+
switchBackgroundOff: (0, _euiThemeCommon.computed)(function (_ref101) {
|
|
322
|
+
var _ref102 = _slicedToArray(_ref101, 1),
|
|
323
|
+
backgroundFilledText = _ref102[0];
|
|
306
324
|
return backgroundFilledText;
|
|
307
325
|
}, ['colors.backgroundFilledText']),
|
|
308
|
-
switchUncompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (
|
|
309
|
-
var
|
|
310
|
-
backgroundBaseFormsControlDisabled =
|
|
326
|
+
switchUncompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref103) {
|
|
327
|
+
var _ref104 = _slicedToArray(_ref103, 1),
|
|
328
|
+
backgroundBaseFormsControlDisabled = _ref104[0];
|
|
311
329
|
return backgroundBaseFormsControlDisabled;
|
|
312
330
|
}, ['colors.backgroundBaseFormsControlDisabled']),
|
|
313
|
-
switchCompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (
|
|
314
|
-
var
|
|
315
|
-
backgroundBaseFormsControlDisabled =
|
|
331
|
+
switchCompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref105) {
|
|
332
|
+
var _ref106 = _slicedToArray(_ref105, 1),
|
|
333
|
+
backgroundBaseFormsControlDisabled = _ref106[0];
|
|
316
334
|
return backgroundBaseFormsControlDisabled;
|
|
317
335
|
}, ['colors.backgroundBaseFormsControlDisabled']),
|
|
318
|
-
switchMiniBackgroundDisabled: (0, _euiThemeCommon.computed)(function (
|
|
319
|
-
var
|
|
320
|
-
backgroundBaseFormsControlDisabled =
|
|
336
|
+
switchMiniBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref107) {
|
|
337
|
+
var _ref108 = _slicedToArray(_ref107, 1),
|
|
338
|
+
backgroundBaseFormsControlDisabled = _ref108[0];
|
|
321
339
|
return backgroundBaseFormsControlDisabled;
|
|
322
340
|
}, ['colors.backgroundBaseFormsControlDisabled']),
|
|
323
|
-
switchThumbBackgroundDisabled: (0, _euiThemeCommon.computed)(function (
|
|
324
|
-
var
|
|
325
|
-
backgroundBasePlain =
|
|
341
|
+
switchThumbBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref109) {
|
|
342
|
+
var _ref110 = _slicedToArray(_ref109, 1),
|
|
343
|
+
backgroundBasePlain = _ref110[0];
|
|
326
344
|
return backgroundBasePlain;
|
|
327
345
|
}, ['colors.backgroundBasePlain']),
|
|
328
|
-
switchThumbBorderOn: (0, _euiThemeCommon.computed)(function (
|
|
329
|
-
var
|
|
330
|
-
backgroundFilledPrimary =
|
|
346
|
+
switchThumbBorderOn: (0, _euiThemeCommon.computed)(function (_ref111) {
|
|
347
|
+
var _ref112 = _slicedToArray(_ref111, 1),
|
|
348
|
+
backgroundFilledPrimary = _ref112[0];
|
|
331
349
|
return backgroundFilledPrimary;
|
|
332
350
|
}, ['colors.backgroundFilledPrimary']),
|
|
333
|
-
switchThumbBorderOff: (0, _euiThemeCommon.computed)(function (
|
|
334
|
-
var
|
|
335
|
-
backgroundFilledText =
|
|
351
|
+
switchThumbBorderOff: (0, _euiThemeCommon.computed)(function (_ref113) {
|
|
352
|
+
var _ref114 = _slicedToArray(_ref113, 1),
|
|
353
|
+
backgroundFilledText = _ref114[0];
|
|
336
354
|
return backgroundFilledText;
|
|
337
355
|
}, ['colors.backgroundFilledText']),
|
|
338
356
|
switchIconDisabled: _forms.forms.LIGHT.iconDisabled,
|
|
339
|
-
tableRowBackgroundHover: (0, _euiThemeCommon.computed)(function (
|
|
340
|
-
var
|
|
341
|
-
backgroundBaseInteractiveHover =
|
|
357
|
+
tableRowBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref115) {
|
|
358
|
+
var _ref116 = _slicedToArray(_ref115, 1),
|
|
359
|
+
backgroundBaseInteractiveHover = _ref116[0];
|
|
342
360
|
return backgroundBaseInteractiveHover;
|
|
343
361
|
}, ['colors.backgroundBaseInteractiveHover']),
|
|
344
|
-
tableRowBackgroundSelected: (0, _euiThemeCommon.computed)(function (
|
|
345
|
-
var
|
|
346
|
-
backgroundBaseInteractiveSelect =
|
|
362
|
+
tableRowBackgroundSelected: (0, _euiThemeCommon.computed)(function (_ref117) {
|
|
363
|
+
var _ref118 = _slicedToArray(_ref117, 1),
|
|
364
|
+
backgroundBaseInteractiveSelect = _ref118[0];
|
|
347
365
|
return backgroundBaseInteractiveSelect;
|
|
348
366
|
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
349
|
-
tableRowBackgroundSelectedHover: (0, _euiThemeCommon.computed)(function (
|
|
350
|
-
var
|
|
351
|
-
backgroundBaseInteractiveSelectHover =
|
|
367
|
+
tableRowBackgroundSelectedHover: (0, _euiThemeCommon.computed)(function (_ref119) {
|
|
368
|
+
var _ref120 = _slicedToArray(_ref119, 1),
|
|
369
|
+
backgroundBaseInteractiveSelectHover = _ref120[0];
|
|
352
370
|
return backgroundBaseInteractiveSelectHover;
|
|
353
371
|
}, ['colors.backgroundBaseInteractiveSelectHover']),
|
|
354
|
-
tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (
|
|
355
|
-
var
|
|
356
|
-
backgroundBaseInteractiveSelect =
|
|
372
|
+
tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref121) {
|
|
373
|
+
var _ref122 = _slicedToArray(_ref121, 1),
|
|
374
|
+
backgroundBaseInteractiveSelect = _ref122[0];
|
|
357
375
|
return backgroundBaseInteractiveSelect;
|
|
358
376
|
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
359
|
-
tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (
|
|
360
|
-
var
|
|
361
|
-
backgroundBaseInteractiveHover =
|
|
377
|
+
tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref123) {
|
|
378
|
+
var _ref124 = _slicedToArray(_ref123, 1),
|
|
379
|
+
backgroundBaseInteractiveHover = _ref124[0];
|
|
362
380
|
return backgroundBaseInteractiveHover;
|
|
363
381
|
}, ['colors.backgroundBaseInteractiveHover']),
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
382
|
+
tableRowBackgroundMarked: _semantic_colors.SEMANTIC_COLORS.warning10,
|
|
383
|
+
tableRowBackgroundMarkedHover: _semantic_colors.SEMANTIC_COLORS.warning20,
|
|
384
|
+
tableCellSortableIconColor: (0, _euiThemeCommon.computed)(function (_ref125) {
|
|
385
|
+
var _ref126 = _slicedToArray(_ref125, 1),
|
|
386
|
+
backgroundFilledText = _ref126[0];
|
|
367
387
|
return backgroundFilledText;
|
|
368
388
|
}, ['colors.backgroundFilledText']),
|
|
369
389
|
tooltipBackground: _colors_dark.dark_background_colors.backgroundBaseSubdued,
|
|
370
390
|
tooltipBorder: _colors_dark.dark_border_colors.borderBaseSubdued,
|
|
371
|
-
tooltipBorderFloating: (0, _euiThemeCommon.computed)(function (
|
|
372
|
-
var
|
|
373
|
-
borderBaseFloating =
|
|
391
|
+
tooltipBorderFloating: (0, _euiThemeCommon.computed)(function (_ref127) {
|
|
392
|
+
var _ref128 = _slicedToArray(_ref127, 1),
|
|
393
|
+
borderBaseFloating = _ref128[0];
|
|
374
394
|
return borderBaseFloating;
|
|
375
395
|
}, ['colors.borderBaseFloating']),
|
|
376
|
-
tourFooterBackground: (0, _euiThemeCommon.computed)(function (
|
|
377
|
-
var
|
|
378
|
-
backgroundBaseHighlighted =
|
|
396
|
+
tourFooterBackground: (0, _euiThemeCommon.computed)(function (_ref129) {
|
|
397
|
+
var _ref130 = _slicedToArray(_ref129, 1),
|
|
398
|
+
backgroundBaseHighlighted = _ref130[0];
|
|
379
399
|
return backgroundBaseHighlighted;
|
|
380
400
|
}, ['colors.backgroundBaseHighlighted']),
|
|
381
|
-
treeViewItemBackgroundHover: (0, _euiThemeCommon.computed)(function (
|
|
382
|
-
var
|
|
383
|
-
backgroundBaseInteractiveHover =
|
|
401
|
+
treeViewItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref131) {
|
|
402
|
+
var _ref132 = _slicedToArray(_ref131, 1),
|
|
403
|
+
backgroundBaseInteractiveHover = _ref132[0];
|
|
384
404
|
return backgroundBaseInteractiveHover;
|
|
385
405
|
}, ['colors.backgroundBaseInteractiveHover'])
|
|
386
406
|
};
|
|
@@ -390,6 +410,9 @@ var components = exports.components = {
|
|
|
390
410
|
LIGHT: component_colors,
|
|
391
411
|
DARK: _objectSpread(_objectSpread({}, component_colors), {}, {
|
|
392
412
|
buttonGroupFocusColor: _semantic_colors.SEMANTIC_COLORS.plainLight,
|
|
413
|
+
dataGridRowBackgroundMarked: _semantic_colors.SEMANTIC_COLORS.warning140,
|
|
414
|
+
dataGridRowBackgroundMarkedHover: _semantic_colors.SEMANTIC_COLORS.warning130,
|
|
415
|
+
codeInlineBackground: _semantic_colors.SEMANTIC_COLORS.shade135,
|
|
393
416
|
codeInlineColor: _semantic_colors.SEMANTIC_COLORS.assistance60,
|
|
394
417
|
codeStringColor: _semantic_colors.SEMANTIC_COLORS.accent60,
|
|
395
418
|
codeTagColor: _semantic_colors.SEMANTIC_COLORS.primary60,
|
|
@@ -414,15 +437,17 @@ var components = exports.components = {
|
|
|
414
437
|
skeletonBackgroundSkeletonMiddleHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.plainLightRGB, ", 0.3)"),
|
|
415
438
|
switchIconDisabled: _forms.forms.DARK.iconDisabled,
|
|
416
439
|
// TODO: align table hover states
|
|
417
|
-
tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (
|
|
418
|
-
var
|
|
419
|
-
backgroundBaseInteractiveHover =
|
|
440
|
+
tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref133) {
|
|
441
|
+
var _ref134 = _slicedToArray(_ref133, 1),
|
|
442
|
+
backgroundBaseInteractiveHover = _ref134[0];
|
|
420
443
|
return backgroundBaseInteractiveHover;
|
|
421
444
|
}, ['colors.backgroundBaseInteractiveHover']),
|
|
422
|
-
tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (
|
|
423
|
-
var
|
|
424
|
-
backgroundBaseInteractiveHover =
|
|
445
|
+
tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref135) {
|
|
446
|
+
var _ref136 = _slicedToArray(_ref135, 1),
|
|
447
|
+
backgroundBaseInteractiveHover = _ref136[0];
|
|
425
448
|
return backgroundBaseInteractiveHover;
|
|
426
|
-
}, ['colors.backgroundBaseInteractiveHover'])
|
|
449
|
+
}, ['colors.backgroundBaseInteractiveHover']),
|
|
450
|
+
tableRowBackgroundMarked: _semantic_colors.SEMANTIC_COLORS.warning140,
|
|
451
|
+
tableRowBackgroundMarkedHover: _semantic_colors.SEMANTIC_COLORS.warning130
|
|
427
452
|
})
|
|
428
453
|
};
|
|
@@ -26,6 +26,7 @@ const component_colors = {
|
|
|
26
26
|
codeBackground: computed(([backgroundBaseHighlighted]) => backgroundBaseHighlighted, ['colors.backgroundBaseHighlighted']),
|
|
27
27
|
codeBackgroundSelected: 'inherit',
|
|
28
28
|
codeColor: computed(([textParagraph]) => textParagraph, ['colors.textParagraph']),
|
|
29
|
+
codeInlineBackground: SEMANTIC_COLORS.shade15,
|
|
29
30
|
codeInlineColor: SEMANTIC_COLORS.assistance100,
|
|
30
31
|
codeCommentColor: computed(([textSubdued]) => textSubdued, ['colors.textSubdued']),
|
|
31
32
|
codeSelectorColor: 'inherit',
|
|
@@ -55,6 +56,11 @@ const component_colors = {
|
|
|
55
56
|
dataGridRowBackgroundHover: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
|
|
56
57
|
dataGridRowBackgroundSelect: computed(([backgroundBaseInteractiveSelect]) => backgroundBaseInteractiveSelect, ['colors.backgroundBaseInteractiveSelect']),
|
|
57
58
|
dataGridRowBackgroundSelectHover: computed(([backgroundBaseInteractiveSelectHover]) => backgroundBaseInteractiveSelectHover, ['colors.backgroundBaseInteractiveSelectHover']),
|
|
59
|
+
dataGridRowBackgroundMarked: SEMANTIC_COLORS.warning10,
|
|
60
|
+
dataGridRowBackgroundMarkedHover: SEMANTIC_COLORS.warning20,
|
|
61
|
+
dataGridRowBorderActive: computed(([borderStrongPrimary]) => borderStrongPrimary, ['colors.borderStrongPrimary']),
|
|
62
|
+
dataGridRowBorderHover: computed(([borderStrongText]) => borderStrongText, ['colors.borderStrongText']),
|
|
63
|
+
dataGridRowBorderMarked: computed(([borderStrongWarning]) => borderStrongWarning, ['colors.borderStrongWarning']),
|
|
58
64
|
dataGridRowStripesBackground: computed(([backgroundBasePlain]) => backgroundBasePlain, ['colors.backgroundBasePlain']),
|
|
59
65
|
dataGridRowStripesBackgroundHover: computed(([backgroundBasePlain]) => backgroundBasePlain, ['colors.backgroundBasePlain']),
|
|
60
66
|
dataGridRowStripesBackgroundStriped: computed(([backgroundBaseSubdued]) => backgroundBaseSubdued, ['colors.backgroundBaseSubdued']),
|
|
@@ -108,6 +114,8 @@ const component_colors = {
|
|
|
108
114
|
tableRowBackgroundSelectedHover: computed(([backgroundBaseInteractiveSelectHover]) => backgroundBaseInteractiveSelectHover, ['colors.backgroundBaseInteractiveSelectHover']),
|
|
109
115
|
tableRowInteractiveBackgroundHover: computed(([backgroundBaseInteractiveSelect]) => backgroundBaseInteractiveSelect, ['colors.backgroundBaseInteractiveSelect']),
|
|
110
116
|
tableRowInteractiveBackgroundFocus: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
|
|
117
|
+
tableRowBackgroundMarked: SEMANTIC_COLORS.warning10,
|
|
118
|
+
tableRowBackgroundMarkedHover: SEMANTIC_COLORS.warning20,
|
|
111
119
|
tableCellSortableIconColor: computed(([backgroundFilledText]) => backgroundFilledText, ['colors.backgroundFilledText']),
|
|
112
120
|
tooltipBackground: dark_background_colors.backgroundBaseSubdued,
|
|
113
121
|
tooltipBorder: dark_border_colors.borderBaseSubdued,
|
|
@@ -122,6 +130,9 @@ export const components = {
|
|
|
122
130
|
DARK: {
|
|
123
131
|
...component_colors,
|
|
124
132
|
buttonGroupFocusColor: SEMANTIC_COLORS.plainLight,
|
|
133
|
+
dataGridRowBackgroundMarked: SEMANTIC_COLORS.warning140,
|
|
134
|
+
dataGridRowBackgroundMarkedHover: SEMANTIC_COLORS.warning130,
|
|
135
|
+
codeInlineBackground: SEMANTIC_COLORS.shade135,
|
|
125
136
|
codeInlineColor: SEMANTIC_COLORS.assistance60,
|
|
126
137
|
codeStringColor: SEMANTIC_COLORS.accent60,
|
|
127
138
|
codeTagColor: SEMANTIC_COLORS.primary60,
|
|
@@ -148,5 +159,7 @@ export const components = {
|
|
|
148
159
|
// TODO: align table hover states
|
|
149
160
|
tableRowInteractiveBackgroundHover: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
|
|
150
161
|
tableRowInteractiveBackgroundFocus: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
|
|
162
|
+
tableRowBackgroundMarked: SEMANTIC_COLORS.warning140,
|
|
163
|
+
tableRowBackgroundMarkedHover: SEMANTIC_COLORS.warning130,
|
|
151
164
|
},
|
|
152
165
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/eui-theme-borealis",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "A visual theme for EUI",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"scripts": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@babel/preset-env": "^7.21.5",
|
|
34
34
|
"@babel/preset-react": "^7.18.6",
|
|
35
35
|
"@babel/preset-typescript": "^7.21.5",
|
|
36
|
-
"@elastic/eui-theme-common": "2.
|
|
36
|
+
"@elastic/eui-theme-common": "2.2.0",
|
|
37
37
|
"@types/chroma-js": "^2.4.0",
|
|
38
38
|
"@types/jest": "^29.5.12",
|
|
39
39
|
"@types/prettier": "2.7.3",
|