@elastic/eui-theme-borealis 2.0.0 → 3.1.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 (34) hide show
  1. package/lib/cjs/index.d.ts +3 -1
  2. package/lib/cjs/index.js +15 -2
  3. package/lib/cjs/variables/_components.js +187 -150
  4. package/lib/cjs/variables/colors/_colors_dark.js +3 -1
  5. package/lib/cjs/variables/colors/_colors_light.js +3 -1
  6. package/lib/cjs/variables/colors/{_colors_vis.d.ts → _colors_vis_dark.d.ts} +1 -1
  7. package/lib/cjs/variables/colors/_colors_vis_dark.js +32 -0
  8. package/lib/cjs/variables/colors/_colors_vis_light.d.ts +2 -0
  9. package/lib/cjs/variables/colors/{_colors_vis.js → _colors_vis_light.js} +12 -16
  10. package/lib/cjs/variables/colors/index.js +15 -7
  11. package/lib/esm/index.d.ts +3 -1
  12. package/lib/esm/index.js +3 -1
  13. package/lib/esm/variables/_components.js +38 -29
  14. package/lib/esm/variables/colors/_colors_dark.js +2 -0
  15. package/lib/esm/variables/colors/_colors_light.js +2 -0
  16. package/lib/esm/variables/colors/{_colors_vis.d.ts → _colors_vis_dark.d.ts} +1 -1
  17. package/lib/esm/variables/colors/_colors_vis_dark.js +22 -0
  18. package/lib/esm/variables/colors/_colors_vis_light.d.ts +2 -0
  19. package/lib/esm/variables/colors/{_colors_vis.js → _colors_vis_light.js} +11 -15
  20. package/lib/esm/variables/colors/index.js +10 -4
  21. package/lib/eui_theme_borealis_dark.json +13 -15
  22. package/lib/eui_theme_borealis_dark.json.d.ts +12 -14
  23. package/lib/eui_theme_borealis_light.json +13 -15
  24. package/lib/eui_theme_borealis_light.json.d.ts +12 -14
  25. package/package.json +2 -2
  26. package/src/theme_dark.scss +1 -0
  27. package/src/theme_light.scss +1 -0
  28. package/src/variables/_index.scss +0 -1
  29. package/src/variables/colors/_colors_dark.scss +2 -0
  30. package/src/variables/colors/_colors_light.scss +2 -0
  31. package/src/variables/colors/_colors_vis.scss +18 -18
  32. package/src/variables/colors/_colors_vis_dark.scss +14 -0
  33. package/src/variables/colors/_colors_vis_light.scss +14 -0
  34. package/src/variables/colors/_semantic_colors.scss +28 -28
@@ -1,5 +1,7 @@
1
1
  import { EuiThemeShape } from '@elastic/eui-theme-common';
2
- export { colorVis } from './variables/colors/_colors_vis';
2
+ import { colorVisLight } from './variables/colors/_colors_vis_light';
3
+ import { colorVisDark } from './variables/colors/_colors_vis_dark';
4
+ export { colorVisLight as colorVis, colorVisLight, colorVisDark };
3
5
  export declare const EUI_THEME_BOREALIS_KEY = "EUI_THEME_BOREALIS";
4
6
  export declare const euiThemeBorealis: EuiThemeShape;
5
7
  export declare const EuiThemeBorealis: {
package/lib/cjs/index.js CHANGED
@@ -7,7 +7,19 @@ exports.EuiThemeBorealis = exports.EUI_THEME_BOREALIS_KEY = void 0;
7
7
  Object.defineProperty(exports, "colorVis", {
8
8
  enumerable: true,
9
9
  get: function get() {
10
- return _colors_vis.colorVis;
10
+ return _colors_vis_light.colorVisLight;
11
+ }
12
+ });
13
+ Object.defineProperty(exports, "colorVisDark", {
14
+ enumerable: true,
15
+ get: function get() {
16
+ return _colors_vis_dark.colorVisDark;
17
+ }
18
+ });
19
+ Object.defineProperty(exports, "colorVisLight", {
20
+ enumerable: true,
21
+ get: function get() {
22
+ return _colors_vis_light.colorVisLight;
11
23
  }
12
24
  });
13
25
  exports.euiThemeBorealis = void 0;
@@ -22,7 +34,8 @@ var _typography = require("./variables/_typography");
22
34
  var _states = require("./variables/_states");
23
35
  var _components = require("./variables/_components");
24
36
  var _overrides = require("./variables/_overrides");
25
- var _colors_vis = require("./variables/colors/_colors_vis");
37
+ var _colors_vis_light = require("./variables/colors/_colors_vis_light");
38
+ var _colors_vis_dark = require("./variables/colors/_colors_vis_dark");
26
39
  /*
27
40
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
28
41
  * or more contributor license agreements. Licensed under the Elastic License
@@ -9,7 +9,6 @@ var _euiThemeCommon = require("@elastic/eui-theme-common");
9
9
  var _semantic_colors = require("./colors/_semantic_colors");
10
10
  var _colors_dark = require("./colors/_colors_dark");
11
11
  var _colors_light = require("./colors/_colors_light");
12
- var _colors_vis = require("./colors/_colors_vis");
13
12
  var _buttons = require("./_buttons");
14
13
  var _forms = require("./_forms");
15
14
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -88,33 +87,34 @@ var component_colors = {
88
87
  textParagraph = _ref22[0];
89
88
  return textParagraph;
90
89
  }, ['colors.textParagraph']),
91
- codeInlineColor: _colors_vis.colorVis.euiColorVisAsTextLight6,
90
+ codeInlineBackground: _semantic_colors.SEMANTIC_COLORS.shade15,
91
+ codeInlineColor: _semantic_colors.SEMANTIC_COLORS.assistance100,
92
92
  codeCommentColor: (0, _euiThemeCommon.computed)(function (_ref23) {
93
93
  var _ref24 = _slicedToArray(_ref23, 1),
94
94
  textSubdued = _ref24[0];
95
95
  return textSubdued;
96
96
  }, ['colors.textSubdued']),
97
97
  codeSelectorColor: 'inherit',
98
- codeStringColor: _colors_vis.colorVis.euiColorVisAsTextLight2,
99
- codeTagColor: _colors_vis.colorVis.euiColorVisAsTextLight1,
100
- codeNameColor: _colors_vis.colorVis.euiColorVisAsTextLight1,
101
- codeNumberColor: _colors_vis.colorVis.euiColorVisAsTextLight0,
102
- codeInlineCodeKeywordColor: _colors_vis.colorVis.euiColorVisAsTextLight6,
103
- codeKeywordColor: _colors_vis.colorVis.euiColorVisAsTextLight1,
98
+ codeStringColor: _semantic_colors.SEMANTIC_COLORS.accent100,
99
+ codeTagColor: _semantic_colors.SEMANTIC_COLORS.primary100,
100
+ codeNameColor: _semantic_colors.SEMANTIC_COLORS.primary100,
101
+ codeNumberColor: _semantic_colors.SEMANTIC_COLORS.accentSecondary100,
102
+ codeInlineCodeKeywordColor: _semantic_colors.SEMANTIC_COLORS.assistance100,
103
+ codeKeywordColor: _semantic_colors.SEMANTIC_COLORS.primary100,
104
104
  codeFunctionTitleColor: 'inherit',
105
- codeTypeColor: _colors_vis.colorVis.euiColorVisAsTextLight1,
105
+ codeTypeColor: _semantic_colors.SEMANTIC_COLORS.primary100,
106
106
  codeAttributeColor: 'inherit',
107
- codeSymbolColor: _colors_vis.colorVis.euiColorVisAsTextLight3,
107
+ codeSymbolColor: _semantic_colors.SEMANTIC_COLORS.danger100,
108
108
  codeParamsColor: 'inherit',
109
109
  codeMetaColor: (0, _euiThemeCommon.computed)(function (_ref25) {
110
110
  var _ref26 = _slicedToArray(_ref25, 1),
111
111
  textSubdued = _ref26[0];
112
112
  return textSubdued;
113
113
  }, ['colors.textSubdued']),
114
- codeTitleColor: _colors_vis.colorVis.euiColorVisAsTextLight4,
115
- codeSectionColor: _colors_vis.colorVis.euiColorVisAsTextLight3,
116
- codeAdditionColor: _colors_vis.colorVis.euiColorVisAsTextLight0,
117
- codeDeletionColor: _colors_vis.colorVis.euiColorVisAsTextLight3,
114
+ codeTitleColor: _semantic_colors.SEMANTIC_COLORS.warning100,
115
+ codeSectionColor: _semantic_colors.SEMANTIC_COLORS.danger100,
116
+ codeAdditionColor: _semantic_colors.SEMANTIC_COLORS.accentSecondary100,
117
+ codeDeletionColor: _semantic_colors.SEMANTIC_COLORS.danger100,
118
118
  codeSelectorClassColor: 'inherit',
119
119
  codeSelectorIdColor: 'inherit',
120
120
  collapsibleNavGroupBackground: (0, _euiThemeCommon.computed)(function (_ref27) {
@@ -133,11 +133,11 @@ var component_colors = {
133
133
  borderBaseSubdued = _ref32[0];
134
134
  return borderBaseSubdued;
135
135
  }, ['colors.borderBaseSubdued']),
136
- dataGridRowBackgroundStriped: (0, _euiThemeCommon.computed)(function (_ref33) {
136
+ dataGridRowBackground: (0, _euiThemeCommon.computed)(function (_ref33) {
137
137
  var _ref34 = _slicedToArray(_ref33, 1),
138
- backgroundBaseSubdued = _ref34[0];
139
- return backgroundBaseSubdued;
140
- }, ['colors.backgroundBaseSubdued']),
138
+ backgroundBasePlain = _ref34[0];
139
+ return backgroundBasePlain;
140
+ }, ['colors.backgroundBasePlain']),
141
141
  dataGridRowBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref35) {
142
142
  var _ref36 = _slicedToArray(_ref35, 1),
143
143
  backgroundBaseInteractiveHover = _ref36[0];
@@ -148,205 +148,240 @@ var component_colors = {
148
148
  backgroundBaseInteractiveSelect = _ref38[0];
149
149
  return backgroundBaseInteractiveSelect;
150
150
  }, ['colors.backgroundBaseInteractiveSelect']),
151
- dragDropDraggingBackground: (0, _euiThemeCommon.computed)(function (_ref39) {
151
+ dataGridRowBackgroundSelectHover: (0, _euiThemeCommon.computed)(function (_ref39) {
152
152
  var _ref40 = _slicedToArray(_ref39, 1),
153
- backgroundBaseSuccess = _ref40[0];
153
+ backgroundBaseInteractiveSelectHover = _ref40[0];
154
+ return backgroundBaseInteractiveSelectHover;
155
+ }, ['colors.backgroundBaseInteractiveSelectHover']),
156
+ dataGridRowStripesBackground: (0, _euiThemeCommon.computed)(function (_ref41) {
157
+ var _ref42 = _slicedToArray(_ref41, 1),
158
+ backgroundBasePlain = _ref42[0];
159
+ return backgroundBasePlain;
160
+ }, ['colors.backgroundBasePlain']),
161
+ dataGridRowStripesBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref43) {
162
+ var _ref44 = _slicedToArray(_ref43, 1),
163
+ backgroundBasePlain = _ref44[0];
164
+ return backgroundBasePlain;
165
+ }, ['colors.backgroundBasePlain']),
166
+ dataGridRowStripesBackgroundStriped: (0, _euiThemeCommon.computed)(function (_ref45) {
167
+ var _ref46 = _slicedToArray(_ref45, 1),
168
+ backgroundBaseSubdued = _ref46[0];
169
+ return backgroundBaseSubdued;
170
+ }, ['colors.backgroundBaseSubdued']),
171
+ dataGridRowStripesBackgroundStripedHover: (0, _euiThemeCommon.computed)(function (_ref47) {
172
+ var _ref48 = _slicedToArray(_ref47, 1),
173
+ backgroundBaseSubdued = _ref48[0];
174
+ return backgroundBaseSubdued;
175
+ }, ['colors.backgroundBaseSubdued']),
176
+ dataGridRowStripesBackgroundSelect: (0, _euiThemeCommon.computed)(function (_ref49) {
177
+ var _ref50 = _slicedToArray(_ref49, 1),
178
+ backgroundBaseInteractiveSelect = _ref50[0];
179
+ return backgroundBaseInteractiveSelect;
180
+ }, ['colors.backgroundBaseInteractiveSelect']),
181
+ dataGridRowStripesBackgroundSelectHover: (0, _euiThemeCommon.computed)(function (_ref51) {
182
+ var _ref52 = _slicedToArray(_ref51, 1),
183
+ backgroundBaseInteractiveSelect = _ref52[0];
184
+ return backgroundBaseInteractiveSelect;
185
+ }, ['colors.backgroundBaseInteractiveSelect']),
186
+ dragDropDraggingBackground: (0, _euiThemeCommon.computed)(function (_ref53) {
187
+ var _ref54 = _slicedToArray(_ref53, 1),
188
+ backgroundBaseSuccess = _ref54[0];
154
189
  return backgroundBaseSuccess;
155
190
  }, ['colors.backgroundBaseSuccess']),
156
- dragDropDraggingOverBackground: (0, _euiThemeCommon.computed)(function (_ref41) {
157
- var _ref42 = _slicedToArray(_ref41, 1),
158
- backgroundLightSuccess = _ref42[0];
191
+ dragDropDraggingOverBackground: (0, _euiThemeCommon.computed)(function (_ref55) {
192
+ var _ref56 = _slicedToArray(_ref55, 1),
193
+ backgroundLightSuccess = _ref56[0];
159
194
  return backgroundLightSuccess;
160
195
  }, ['colors.backgroundLightSuccess']),
161
196
  filterButtonBadgeBackgroundHover: _semantic_colors.SEMANTIC_COLORS.shade25,
162
- filterSelectItemBackgroundFocusDisabled: (0, _euiThemeCommon.computed)(function (_ref43) {
163
- var _ref44 = _slicedToArray(_ref43, 1),
164
- backgroundBaseDisabled = _ref44[0];
197
+ filterSelectItemBackgroundFocusDisabled: (0, _euiThemeCommon.computed)(function (_ref57) {
198
+ var _ref58 = _slicedToArray(_ref57, 1),
199
+ backgroundBaseDisabled = _ref58[0];
165
200
  return backgroundBaseDisabled;
166
201
  }, ['colors.backgroundBaseDisabled']),
167
- flyoutFooterBackground: (0, _euiThemeCommon.computed)(function (_ref45) {
168
- var _ref46 = _slicedToArray(_ref45, 1),
169
- backgroundBaseHighlighted = _ref46[0];
202
+ flyoutFooterBackground: (0, _euiThemeCommon.computed)(function (_ref59) {
203
+ var _ref60 = _slicedToArray(_ref59, 1),
204
+ backgroundBaseHighlighted = _ref60[0];
170
205
  return backgroundBaseHighlighted;
171
206
  }, ['colors.backgroundBaseHighlighted']),
172
- flyoutCloseButtonInsideBackground: (0, _euiThemeCommon.computed)(function (_ref47) {
173
- var _ref48 = _slicedToArray(_ref47, 1),
174
- backgroundBasePlain = _ref48[0];
207
+ flyoutCloseButtonInsideBackground: (0, _euiThemeCommon.computed)(function (_ref61) {
208
+ var _ref62 = _slicedToArray(_ref61, 1),
209
+ backgroundBasePlain = _ref62[0];
175
210
  return backgroundBasePlain;
176
211
  }, ['colors.backgroundBasePlain']),
177
- headerBackground: (0, _euiThemeCommon.computed)(function (_ref49) {
178
- var _ref50 = _slicedToArray(_ref49, 1),
179
- backgroundBasePlain = _ref50[0];
212
+ headerBackground: (0, _euiThemeCommon.computed)(function (_ref63) {
213
+ var _ref64 = _slicedToArray(_ref63, 1),
214
+ backgroundBasePlain = _ref64[0];
180
215
  return backgroundBasePlain;
181
216
  }, ['colors.backgroundBasePlain']),
182
217
  headerDarkBackground: _colors_dark.dark_background_colors.backgroundBasePlain,
183
218
  headerDarkSearchBorderColor: _colors_dark.dark_border_colors.borderBasePlain,
184
219
  headerDarkSectionItemBackgroundFocus: _colors_dark.dark_background_colors.backgroundBasePrimary,
185
- keyPadMenuItemBackgroundDisabledSelect: (0, _euiThemeCommon.computed)(function (_ref51) {
186
- var _ref52 = _slicedToArray(_ref51, 1),
187
- backgroundBaseDisabled = _ref52[0];
220
+ keyPadMenuItemBackgroundDisabledSelect: (0, _euiThemeCommon.computed)(function (_ref65) {
221
+ var _ref66 = _slicedToArray(_ref65, 1),
222
+ backgroundBaseDisabled = _ref66[0];
188
223
  return backgroundBaseDisabled;
189
224
  }, ['colors.backgroundBaseDisabled']),
190
- listGroupItemBackgroundPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref53) {
191
- var _ref54 = _slicedToArray(_ref53, 1),
192
- backgroundBaseInteractiveSelect = _ref54[0];
225
+ listGroupItemBackgroundPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref67) {
226
+ var _ref68 = _slicedToArray(_ref67, 1),
227
+ backgroundBaseInteractiveSelect = _ref68[0];
193
228
  return backgroundBaseInteractiveSelect;
194
229
  }, ['colors.backgroundBaseInteractiveSelect']),
195
- listGroupItemBackgroundSubduedActive: (0, _euiThemeCommon.computed)(function (_ref55) {
196
- var _ref56 = _slicedToArray(_ref55, 1),
197
- backgroundBaseInteractiveSelect = _ref56[0];
230
+ listGroupItemBackgroundSubduedActive: (0, _euiThemeCommon.computed)(function (_ref69) {
231
+ var _ref70 = _slicedToArray(_ref69, 1),
232
+ backgroundBaseInteractiveSelect = _ref70[0];
198
233
  return backgroundBaseInteractiveSelect;
199
234
  }, ['colors.backgroundBaseInteractiveSelect']),
200
- listGroupItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref57) {
201
- var _ref58 = _slicedToArray(_ref57, 1),
202
- backgroundBaseInteractiveHover = _ref58[0];
235
+ listGroupItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref71) {
236
+ var _ref72 = _slicedToArray(_ref71, 1),
237
+ backgroundBaseInteractiveHover = _ref72[0];
203
238
  return backgroundBaseInteractiveHover;
204
239
  }, ['colors.backgroundBaseInteractiveHover']),
205
- listGroupItemBackgroundPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref59) {
206
- var _ref60 = _slicedToArray(_ref59, 1),
207
- backgroundBaseInteractiveHover = _ref60[0];
240
+ listGroupItemBackgroundPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref73) {
241
+ var _ref74 = _slicedToArray(_ref73, 1),
242
+ backgroundBaseInteractiveHover = _ref74[0];
208
243
  return backgroundBaseInteractiveHover;
209
244
  }, ['colors.backgroundBaseInteractiveHover']),
210
245
  // we don't want to inherit overrides (e.g. HCM)
211
246
  loadingSpinnerBorder: _colors_light.border_colors.borderBasePlain,
212
- loadingSpinnerHighlight: (0, _euiThemeCommon.computed)(function (_ref61) {
213
- var _ref62 = _slicedToArray(_ref61, 1),
214
- borderStrongPrimary = _ref62[0];
247
+ loadingSpinnerHighlight: (0, _euiThemeCommon.computed)(function (_ref75) {
248
+ var _ref76 = _slicedToArray(_ref75, 1),
249
+ borderStrongPrimary = _ref76[0];
215
250
  return borderStrongPrimary;
216
251
  }, ['colors.borderStrongPrimary']),
217
252
  loadingChartMonoBackground0: _semantic_colors.SEMANTIC_COLORS.shade20,
218
253
  loadingChartMonoBackground1: _semantic_colors.SEMANTIC_COLORS.shade30,
219
254
  loadingChartMonoBackground2: _semantic_colors.SEMANTIC_COLORS.shade40,
220
255
  loadingChartMonoBackground3: _semantic_colors.SEMANTIC_COLORS.shade50,
221
- markBackground: (0, _euiThemeCommon.computed)(function (_ref63) {
222
- var _ref64 = _slicedToArray(_ref63, 1),
223
- backgroundLightPrimary = _ref64[0];
256
+ markBackground: (0, _euiThemeCommon.computed)(function (_ref77) {
257
+ var _ref78 = _slicedToArray(_ref77, 1),
258
+ backgroundLightPrimary = _ref78[0];
224
259
  return backgroundLightPrimary;
225
260
  }, ['colors.backgroundLightPrimary']),
226
- markdownFormatTableBorderColor: (0, _euiThemeCommon.computed)(function (_ref65) {
227
- var _ref66 = _slicedToArray(_ref65, 1),
228
- borderBasePlain = _ref66[0];
261
+ markdownFormatTableBorderColor: (0, _euiThemeCommon.computed)(function (_ref79) {
262
+ var _ref80 = _slicedToArray(_ref79, 1),
263
+ borderBasePlain = _ref80[0];
229
264
  return borderBasePlain;
230
265
  }, ['colors.borderBasePlain']),
231
- overlayMaskBackground: (0, _euiThemeCommon.computed)(function (_ref67) {
232
- var _ref68 = _slicedToArray(_ref67, 1),
233
- backgroundBaseInteractiveOverlay = _ref68[0];
266
+ overlayMaskBackground: (0, _euiThemeCommon.computed)(function (_ref81) {
267
+ var _ref82 = _slicedToArray(_ref81, 1),
268
+ backgroundBaseInteractiveOverlay = _ref82[0];
234
269
  return backgroundBaseInteractiveOverlay;
235
270
  }, ['colors.backgroundBaseInteractiveOverlay']),
236
271
  overlayMaskBackgroundHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.shade140RGB, ", 0.9)"),
237
- popoverPanelBackground: (0, _euiThemeCommon.computed)(function (_ref69) {
238
- var _ref70 = _slicedToArray(_ref69, 1),
239
- backgroundBasePlain = _ref70[0];
272
+ popoverPanelBackground: (0, _euiThemeCommon.computed)(function (_ref83) {
273
+ var _ref84 = _slicedToArray(_ref83, 1),
274
+ backgroundBasePlain = _ref84[0];
240
275
  return backgroundBasePlain;
241
276
  }, ['colors.backgroundBasePlain']),
242
- popoverFooterBorderColor: (0, _euiThemeCommon.computed)(function (_ref71) {
243
- var _ref72 = _slicedToArray(_ref71, 1),
244
- borderBaseSubdued = _ref72[0];
277
+ popoverFooterBorderColor: (0, _euiThemeCommon.computed)(function (_ref85) {
278
+ var _ref86 = _slicedToArray(_ref85, 1),
279
+ borderBaseSubdued = _ref86[0];
245
280
  return borderBaseSubdued;
246
281
  }, ['colors.borderBaseSubdued']),
247
282
  scrollbarTrackColor: _semantic_colors.SEMANTIC_COLORS.shade15,
248
- sideNavItemEmphasizedBackground: (0, _euiThemeCommon.computed)(function (_ref73) {
249
- var _ref74 = _slicedToArray(_ref73, 1),
250
- backgroundBaseInteractiveSelect = _ref74[0];
283
+ sideNavItemEmphasizedBackground: (0, _euiThemeCommon.computed)(function (_ref87) {
284
+ var _ref88 = _slicedToArray(_ref87, 1),
285
+ backgroundBaseInteractiveSelect = _ref88[0];
251
286
  return backgroundBaseInteractiveSelect;
252
287
  }, ['colors.backgroundBaseInteractiveSelect']),
253
- selectableListItemBorderColor: (0, _euiThemeCommon.computed)(function (_ref75) {
254
- var _ref76 = _slicedToArray(_ref75, 1),
255
- borderBaseSubdued = _ref76[0];
288
+ selectableListItemBorderColor: (0, _euiThemeCommon.computed)(function (_ref89) {
289
+ var _ref90 = _slicedToArray(_ref89, 1),
290
+ borderBaseSubdued = _ref90[0];
256
291
  return borderBaseSubdued;
257
292
  }, ['colors.borderBaseSubdued']),
258
293
  skeletonBackgroundSkeletonMiddleHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.shade100RGB, ", 0.04)"),
259
- superDatePickerBackgroundSuccees: (0, _euiThemeCommon.computed)(function (_ref77) {
260
- var _ref78 = _slicedToArray(_ref77, 1),
261
- backgroundBaseSuccess = _ref78[0];
294
+ superDatePickerBackgroundSuccees: (0, _euiThemeCommon.computed)(function (_ref91) {
295
+ var _ref92 = _slicedToArray(_ref91, 1),
296
+ backgroundBaseSuccess = _ref92[0];
262
297
  return backgroundBaseSuccess;
263
298
  }, ['colors.backgroundBaseSuccess']),
264
- switchBackgroundOn: (0, _euiThemeCommon.computed)(function (_ref79) {
265
- var _ref80 = _slicedToArray(_ref79, 1),
266
- backgroundFilledPrimary = _ref80[0];
299
+ switchBackgroundOn: (0, _euiThemeCommon.computed)(function (_ref93) {
300
+ var _ref94 = _slicedToArray(_ref93, 1),
301
+ backgroundFilledPrimary = _ref94[0];
267
302
  return backgroundFilledPrimary;
268
303
  }, ['colors.backgroundFilledPrimary']),
269
- switchBackgroundOff: (0, _euiThemeCommon.computed)(function (_ref81) {
270
- var _ref82 = _slicedToArray(_ref81, 1),
271
- backgroundFilledText = _ref82[0];
304
+ switchBackgroundOff: (0, _euiThemeCommon.computed)(function (_ref95) {
305
+ var _ref96 = _slicedToArray(_ref95, 1),
306
+ backgroundFilledText = _ref96[0];
272
307
  return backgroundFilledText;
273
308
  }, ['colors.backgroundFilledText']),
274
- switchUncompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref83) {
275
- var _ref84 = _slicedToArray(_ref83, 1),
276
- backgroundBaseFormsControlDisabled = _ref84[0];
309
+ switchUncompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref97) {
310
+ var _ref98 = _slicedToArray(_ref97, 1),
311
+ backgroundBaseFormsControlDisabled = _ref98[0];
277
312
  return backgroundBaseFormsControlDisabled;
278
313
  }, ['colors.backgroundBaseFormsControlDisabled']),
279
- switchCompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref85) {
280
- var _ref86 = _slicedToArray(_ref85, 1),
281
- backgroundBaseFormsControlDisabled = _ref86[0];
314
+ switchCompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref99) {
315
+ var _ref100 = _slicedToArray(_ref99, 1),
316
+ backgroundBaseFormsControlDisabled = _ref100[0];
282
317
  return backgroundBaseFormsControlDisabled;
283
318
  }, ['colors.backgroundBaseFormsControlDisabled']),
284
- switchMiniBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref87) {
285
- var _ref88 = _slicedToArray(_ref87, 1),
286
- backgroundBaseFormsControlDisabled = _ref88[0];
319
+ switchMiniBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref101) {
320
+ var _ref102 = _slicedToArray(_ref101, 1),
321
+ backgroundBaseFormsControlDisabled = _ref102[0];
287
322
  return backgroundBaseFormsControlDisabled;
288
323
  }, ['colors.backgroundBaseFormsControlDisabled']),
289
- switchThumbBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref89) {
290
- var _ref90 = _slicedToArray(_ref89, 1),
291
- backgroundBasePlain = _ref90[0];
324
+ switchThumbBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref103) {
325
+ var _ref104 = _slicedToArray(_ref103, 1),
326
+ backgroundBasePlain = _ref104[0];
292
327
  return backgroundBasePlain;
293
328
  }, ['colors.backgroundBasePlain']),
294
- switchThumbBorderOn: (0, _euiThemeCommon.computed)(function (_ref91) {
295
- var _ref92 = _slicedToArray(_ref91, 1),
296
- backgroundFilledPrimary = _ref92[0];
329
+ switchThumbBorderOn: (0, _euiThemeCommon.computed)(function (_ref105) {
330
+ var _ref106 = _slicedToArray(_ref105, 1),
331
+ backgroundFilledPrimary = _ref106[0];
297
332
  return backgroundFilledPrimary;
298
333
  }, ['colors.backgroundFilledPrimary']),
299
- switchThumbBorderOff: (0, _euiThemeCommon.computed)(function (_ref93) {
300
- var _ref94 = _slicedToArray(_ref93, 1),
301
- backgroundFilledText = _ref94[0];
334
+ switchThumbBorderOff: (0, _euiThemeCommon.computed)(function (_ref107) {
335
+ var _ref108 = _slicedToArray(_ref107, 1),
336
+ backgroundFilledText = _ref108[0];
302
337
  return backgroundFilledText;
303
338
  }, ['colors.backgroundFilledText']),
304
339
  switchIconDisabled: _forms.forms.LIGHT.iconDisabled,
305
- tableRowBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref95) {
306
- var _ref96 = _slicedToArray(_ref95, 1),
307
- backgroundBaseInteractiveHover = _ref96[0];
340
+ tableRowBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref109) {
341
+ var _ref110 = _slicedToArray(_ref109, 1),
342
+ backgroundBaseInteractiveHover = _ref110[0];
308
343
  return backgroundBaseInteractiveHover;
309
344
  }, ['colors.backgroundBaseInteractiveHover']),
310
- tableRowBackgroundSelected: (0, _euiThemeCommon.computed)(function (_ref97) {
311
- var _ref98 = _slicedToArray(_ref97, 1),
312
- backgroundBaseInteractiveSelect = _ref98[0];
313
- return backgroundBaseInteractiveSelect;
314
- }, ['colors.backgroundBaseInteractiveSelect']),
315
- tableRowBackgroundSelectedHover: (0, _euiThemeCommon.computed)(function (_ref99) {
316
- var _ref100 = _slicedToArray(_ref99, 1),
317
- backgroundBaseInteractiveSelect = _ref100[0];
318
- return backgroundBaseInteractiveSelect;
319
- }, ['colors.backgroundBaseInteractiveSelect']),
320
- tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref101) {
321
- var _ref102 = _slicedToArray(_ref101, 1),
322
- backgroundBaseInteractiveSelect = _ref102[0];
345
+ tableRowBackgroundSelected: (0, _euiThemeCommon.computed)(function (_ref111) {
346
+ var _ref112 = _slicedToArray(_ref111, 1),
347
+ backgroundBaseInteractiveSelect = _ref112[0];
323
348
  return backgroundBaseInteractiveSelect;
324
349
  }, ['colors.backgroundBaseInteractiveSelect']),
325
- tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref103) {
326
- var _ref104 = _slicedToArray(_ref103, 1),
327
- backgroundBaseInteractiveSelect = _ref104[0];
350
+ tableRowBackgroundSelectedHover: (0, _euiThemeCommon.computed)(function (_ref113) {
351
+ var _ref114 = _slicedToArray(_ref113, 1),
352
+ backgroundBaseInteractiveSelectHover = _ref114[0];
353
+ return backgroundBaseInteractiveSelectHover;
354
+ }, ['colors.backgroundBaseInteractiveSelectHover']),
355
+ tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref115) {
356
+ var _ref116 = _slicedToArray(_ref115, 1),
357
+ backgroundBaseInteractiveSelect = _ref116[0];
328
358
  return backgroundBaseInteractiveSelect;
329
359
  }, ['colors.backgroundBaseInteractiveSelect']),
330
- tableCellSortableIconColor: (0, _euiThemeCommon.computed)(function (_ref105) {
331
- var _ref106 = _slicedToArray(_ref105, 1),
332
- backgroundFilledText = _ref106[0];
360
+ tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref117) {
361
+ var _ref118 = _slicedToArray(_ref117, 1),
362
+ backgroundBaseInteractiveHover = _ref118[0];
363
+ return backgroundBaseInteractiveHover;
364
+ }, ['colors.backgroundBaseInteractiveHover']),
365
+ tableCellSortableIconColor: (0, _euiThemeCommon.computed)(function (_ref119) {
366
+ var _ref120 = _slicedToArray(_ref119, 1),
367
+ backgroundFilledText = _ref120[0];
333
368
  return backgroundFilledText;
334
369
  }, ['colors.backgroundFilledText']),
335
370
  tooltipBackground: _colors_dark.dark_background_colors.backgroundBaseSubdued,
336
371
  tooltipBorder: _colors_dark.dark_border_colors.borderBaseSubdued,
337
- tooltipBorderFloating: (0, _euiThemeCommon.computed)(function (_ref107) {
338
- var _ref108 = _slicedToArray(_ref107, 1),
339
- borderBaseFloating = _ref108[0];
372
+ tooltipBorderFloating: (0, _euiThemeCommon.computed)(function (_ref121) {
373
+ var _ref122 = _slicedToArray(_ref121, 1),
374
+ borderBaseFloating = _ref122[0];
340
375
  return borderBaseFloating;
341
376
  }, ['colors.borderBaseFloating']),
342
- tourFooterBackground: (0, _euiThemeCommon.computed)(function (_ref109) {
343
- var _ref110 = _slicedToArray(_ref109, 1),
344
- backgroundBaseHighlighted = _ref110[0];
377
+ tourFooterBackground: (0, _euiThemeCommon.computed)(function (_ref123) {
378
+ var _ref124 = _slicedToArray(_ref123, 1),
379
+ backgroundBaseHighlighted = _ref124[0];
345
380
  return backgroundBaseHighlighted;
346
381
  }, ['colors.backgroundBaseHighlighted']),
347
- treeViewItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref111) {
348
- var _ref112 = _slicedToArray(_ref111, 1),
349
- backgroundBaseInteractiveHover = _ref112[0];
382
+ treeViewItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref125) {
383
+ var _ref126 = _slicedToArray(_ref125, 1),
384
+ backgroundBaseInteractiveHover = _ref126[0];
350
385
  return backgroundBaseInteractiveHover;
351
386
  }, ['colors.backgroundBaseInteractiveHover'])
352
387
  };
@@ -356,18 +391,20 @@ var components = exports.components = {
356
391
  LIGHT: component_colors,
357
392
  DARK: _objectSpread(_objectSpread({}, component_colors), {}, {
358
393
  buttonGroupFocusColor: _semantic_colors.SEMANTIC_COLORS.plainLight,
359
- codeInlineColor: _colors_vis.colorVis.euiColorVisAsTextDark6,
360
- codeStringColor: _colors_vis.colorVis.euiColorVisAsTextDark2,
361
- codeTagColor: _colors_vis.colorVis.euiColorVisAsTextDark1,
362
- codeNameColor: _colors_vis.colorVis.euiColorVisAsTextDark1,
363
- codeNumberColor: _colors_vis.colorVis.euiColorVisAsTextDark0,
364
- codeKeywordColor: _colors_vis.colorVis.euiColorVisAsTextDark6,
365
- codeTypeColor: _colors_vis.colorVis.euiColorVisAsTextDark1,
366
- codeSymbolColor: _colors_vis.colorVis.euiColorVisAsTextDark3,
367
- codeTitleColor: _colors_vis.colorVis.euiColorVisAsTextDark4,
368
- codeSectionColor: _colors_vis.colorVis.euiColorVisAsTextDark3,
369
- codeAdditionColor: _colors_vis.colorVis.euiColorVisAsTextDark0,
370
- codeDeletionColor: _colors_vis.colorVis.euiColorVisAsTextDark3,
394
+ codeInlineBackground: _semantic_colors.SEMANTIC_COLORS.shade135,
395
+ codeInlineColor: _semantic_colors.SEMANTIC_COLORS.assistance60,
396
+ codeStringColor: _semantic_colors.SEMANTIC_COLORS.accent60,
397
+ codeTagColor: _semantic_colors.SEMANTIC_COLORS.primary60,
398
+ codeNameColor: _semantic_colors.SEMANTIC_COLORS.primary60,
399
+ codeNumberColor: _semantic_colors.SEMANTIC_COLORS.accentSecondary60,
400
+ codeInlineCodeKeywordColor: _semantic_colors.SEMANTIC_COLORS.assistance60,
401
+ codeKeywordColor: _semantic_colors.SEMANTIC_COLORS.assistance60,
402
+ codeTypeColor: _semantic_colors.SEMANTIC_COLORS.primary60,
403
+ codeSymbolColor: _semantic_colors.SEMANTIC_COLORS.danger60,
404
+ codeTitleColor: _semantic_colors.SEMANTIC_COLORS.warning60,
405
+ codeSectionColor: _semantic_colors.SEMANTIC_COLORS.danger60,
406
+ codeAdditionColor: _semantic_colors.SEMANTIC_COLORS.accentSecondary60,
407
+ codeDeletionColor: _semantic_colors.SEMANTIC_COLORS.danger60,
371
408
  filterButtonBadgeBackgroundHover: _semantic_colors.SEMANTIC_COLORS.shade105,
372
409
  loadingSpinnerBorder: _colors_dark.dark_border_colors.borderBasePlain,
373
410
  loadingChartMonoBackground0: _semantic_colors.SEMANTIC_COLORS.shade110,
@@ -379,14 +416,14 @@ var components = exports.components = {
379
416
  skeletonBackgroundSkeletonMiddleHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.plainLightRGB, ", 0.3)"),
380
417
  switchIconDisabled: _forms.forms.DARK.iconDisabled,
381
418
  // TODO: align table hover states
382
- tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref113) {
383
- var _ref114 = _slicedToArray(_ref113, 1),
384
- backgroundBaseInteractiveHover = _ref114[0];
419
+ tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref127) {
420
+ var _ref128 = _slicedToArray(_ref127, 1),
421
+ backgroundBaseInteractiveHover = _ref128[0];
385
422
  return backgroundBaseInteractiveHover;
386
423
  }, ['colors.backgroundBaseInteractiveHover']),
387
- tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref115) {
388
- var _ref116 = _slicedToArray(_ref115, 1),
389
- backgroundBaseInteractiveHover = _ref116[0];
424
+ tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref129) {
425
+ var _ref130 = _slicedToArray(_ref129, 1),
426
+ backgroundBaseInteractiveHover = _ref130[0];
390
427
  return backgroundBaseInteractiveHover;
391
428
  }, ['colors.backgroundBaseInteractiveHover'])
392
429
  })
@@ -86,6 +86,7 @@ var dark_background_colors = exports.dark_background_colors = {
86
86
  backgroundBaseFormsControlDisabled: _semantic_colors.SEMANTIC_COLORS.shade120,
87
87
  backgroundBaseInteractiveHover: _semantic_colors.SEMANTIC_COLORS.plainLightAlpha8,
88
88
  backgroundBaseInteractiveSelect: _semantic_colors.SEMANTIC_COLORS.primary130,
89
+ backgroundBaseInteractiveSelectHover: _semantic_colors.SEMANTIC_COLORS.primary120,
89
90
  backgroundBaseInteractiveOverlay: _semantic_colors.SEMANTIC_COLORS.shade120Alpha70,
90
91
  backgroundBaseSkeletonEdge: _semantic_colors.SEMANTIC_COLORS.plainLightAlpha16,
91
92
  backgroundBaseSkeletonMiddle: _semantic_colors.SEMANTIC_COLORS.plainLightAlpha8,
@@ -150,7 +151,8 @@ var dark_border_colors = exports.dark_border_colors = {
150
151
  borderStrongSuccess: _semantic_colors.SEMANTIC_COLORS.success60,
151
152
  borderStrongWarning: _semantic_colors.SEMANTIC_COLORS.warning40,
152
153
  borderStrongRisk: _semantic_colors.SEMANTIC_COLORS.risk50,
153
- borderStrongDanger: _semantic_colors.SEMANTIC_COLORS.danger60
154
+ borderStrongDanger: _semantic_colors.SEMANTIC_COLORS.danger60,
155
+ borderStrongText: _semantic_colors.SEMANTIC_COLORS.shade60
154
156
  };
155
157
  var dark_special_colors = exports.dark_special_colors = {
156
158
  body: _semantic_colors.SEMANTIC_COLORS.plainDark,
@@ -86,6 +86,7 @@ var background_colors = exports.background_colors = {
86
86
  backgroundBaseFormsControlDisabled: _semantic_colors.SEMANTIC_COLORS.shade30,
87
87
  backgroundBaseInteractiveHover: _semantic_colors.SEMANTIC_COLORS.primary100Alpha4,
88
88
  backgroundBaseInteractiveSelect: _semantic_colors.SEMANTIC_COLORS.primary10,
89
+ backgroundBaseInteractiveSelectHover: _semantic_colors.SEMANTIC_COLORS.primary20,
89
90
  backgroundBaseInteractiveOverlay: _semantic_colors.SEMANTIC_COLORS.shade100Alpha70,
90
91
  backgroundBaseSkeletonEdge: _semantic_colors.SEMANTIC_COLORS.shade100Alpha16,
91
92
  backgroundBaseSkeletonMiddle: _semantic_colors.SEMANTIC_COLORS.shade100Alpha4,
@@ -150,7 +151,8 @@ var border_colors = exports.border_colors = {
150
151
  borderStrongSuccess: _semantic_colors.SEMANTIC_COLORS.success100,
151
152
  borderStrongWarning: _semantic_colors.SEMANTIC_COLORS.warning100,
152
153
  borderStrongRisk: _semantic_colors.SEMANTIC_COLORS.risk100,
153
- borderStrongDanger: _semantic_colors.SEMANTIC_COLORS.danger100
154
+ borderStrongDanger: _semantic_colors.SEMANTIC_COLORS.danger100,
155
+ borderStrongText: _semantic_colors.SEMANTIC_COLORS.shade90
154
156
  };
155
157
  var special_colors = exports.special_colors = {
156
158
  body: _semantic_colors.SEMANTIC_COLORS.shade10,
@@ -1,2 +1,2 @@
1
1
  import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
2
- export declare const colorVis: _EuiThemeVisColors;
2
+ export declare const colorVisDark: _EuiThemeVisColors;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.colorVisDark = void 0;
7
+ var _semantic_colors = require("./_semantic_colors");
8
+ var _colors_vis_light = require("./_colors_vis_light");
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
12
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /*
15
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
16
+ * or more contributor license agreements. Licensed under the Elastic License
17
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
18
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
19
+ * Side Public License, v 1.
20
+ */
21
+ var colorVisDark = exports.colorVisDark = _objectSpread(_objectSpread({}, _colors_vis_light.colorVisLight), {}, {
22
+ euiColorVisText0: _semantic_colors.SEMANTIC_COLORS.accentSecondary60,
23
+ euiColorVisText1: _semantic_colors.SEMANTIC_COLORS.accentSecondary30,
24
+ euiColorVisText2: _semantic_colors.SEMANTIC_COLORS.primary60,
25
+ euiColorVisText3: _semantic_colors.SEMANTIC_COLORS.primary30,
26
+ euiColorVisText4: _semantic_colors.SEMANTIC_COLORS.accent60,
27
+ euiColorVisText5: _semantic_colors.SEMANTIC_COLORS.accent30,
28
+ euiColorVisText6: _semantic_colors.SEMANTIC_COLORS.danger60,
29
+ euiColorVisText7: _semantic_colors.SEMANTIC_COLORS.danger30,
30
+ euiColorVisText8: _semantic_colors.SEMANTIC_COLORS.warning60,
31
+ euiColorVisText9: _semantic_colors.SEMANTIC_COLORS.warning30
32
+ });
@@ -0,0 +1,2 @@
1
+ import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
2
+ export declare const colorVisLight: _EuiThemeVisColors;