@elastic/eui-theme-borealis 2.0.0 → 3.0.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 +185 -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 +36 -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,33 @@ var component_colors = {
88
87
  textParagraph = _ref22[0];
89
88
  return textParagraph;
90
89
  }, ['colors.textParagraph']),
91
- codeInlineColor: _colors_vis.colorVis.euiColorVisAsTextLight6,
90
+ codeInlineColor: _semantic_colors.SEMANTIC_COLORS.assistance100,
92
91
  codeCommentColor: (0, _euiThemeCommon.computed)(function (_ref23) {
93
92
  var _ref24 = _slicedToArray(_ref23, 1),
94
93
  textSubdued = _ref24[0];
95
94
  return textSubdued;
96
95
  }, ['colors.textSubdued']),
97
96
  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,
97
+ codeStringColor: _semantic_colors.SEMANTIC_COLORS.accent100,
98
+ codeTagColor: _semantic_colors.SEMANTIC_COLORS.primary100,
99
+ codeNameColor: _semantic_colors.SEMANTIC_COLORS.primary100,
100
+ codeNumberColor: _semantic_colors.SEMANTIC_COLORS.accentSecondary100,
101
+ codeInlineCodeKeywordColor: _semantic_colors.SEMANTIC_COLORS.assistance100,
102
+ codeKeywordColor: _semantic_colors.SEMANTIC_COLORS.primary100,
104
103
  codeFunctionTitleColor: 'inherit',
105
- codeTypeColor: _colors_vis.colorVis.euiColorVisAsTextLight1,
104
+ codeTypeColor: _semantic_colors.SEMANTIC_COLORS.primary100,
106
105
  codeAttributeColor: 'inherit',
107
- codeSymbolColor: _colors_vis.colorVis.euiColorVisAsTextLight3,
106
+ codeSymbolColor: _semantic_colors.SEMANTIC_COLORS.danger100,
108
107
  codeParamsColor: 'inherit',
109
108
  codeMetaColor: (0, _euiThemeCommon.computed)(function (_ref25) {
110
109
  var _ref26 = _slicedToArray(_ref25, 1),
111
110
  textSubdued = _ref26[0];
112
111
  return textSubdued;
113
112
  }, ['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,
113
+ codeTitleColor: _semantic_colors.SEMANTIC_COLORS.warning100,
114
+ codeSectionColor: _semantic_colors.SEMANTIC_COLORS.danger100,
115
+ codeAdditionColor: _semantic_colors.SEMANTIC_COLORS.accentSecondary100,
116
+ codeDeletionColor: _semantic_colors.SEMANTIC_COLORS.danger100,
118
117
  codeSelectorClassColor: 'inherit',
119
118
  codeSelectorIdColor: 'inherit',
120
119
  collapsibleNavGroupBackground: (0, _euiThemeCommon.computed)(function (_ref27) {
@@ -133,11 +132,11 @@ var component_colors = {
133
132
  borderBaseSubdued = _ref32[0];
134
133
  return borderBaseSubdued;
135
134
  }, ['colors.borderBaseSubdued']),
136
- dataGridRowBackgroundStriped: (0, _euiThemeCommon.computed)(function (_ref33) {
135
+ dataGridRowBackground: (0, _euiThemeCommon.computed)(function (_ref33) {
137
136
  var _ref34 = _slicedToArray(_ref33, 1),
138
- backgroundBaseSubdued = _ref34[0];
139
- return backgroundBaseSubdued;
140
- }, ['colors.backgroundBaseSubdued']),
137
+ backgroundBasePlain = _ref34[0];
138
+ return backgroundBasePlain;
139
+ }, ['colors.backgroundBasePlain']),
141
140
  dataGridRowBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref35) {
142
141
  var _ref36 = _slicedToArray(_ref35, 1),
143
142
  backgroundBaseInteractiveHover = _ref36[0];
@@ -148,205 +147,240 @@ var component_colors = {
148
147
  backgroundBaseInteractiveSelect = _ref38[0];
149
148
  return backgroundBaseInteractiveSelect;
150
149
  }, ['colors.backgroundBaseInteractiveSelect']),
151
- dragDropDraggingBackground: (0, _euiThemeCommon.computed)(function (_ref39) {
150
+ dataGridRowBackgroundSelectHover: (0, _euiThemeCommon.computed)(function (_ref39) {
152
151
  var _ref40 = _slicedToArray(_ref39, 1),
153
- backgroundBaseSuccess = _ref40[0];
152
+ backgroundBaseInteractiveSelectHover = _ref40[0];
153
+ return backgroundBaseInteractiveSelectHover;
154
+ }, ['colors.backgroundBaseInteractiveSelectHover']),
155
+ dataGridRowStripesBackground: (0, _euiThemeCommon.computed)(function (_ref41) {
156
+ var _ref42 = _slicedToArray(_ref41, 1),
157
+ backgroundBasePlain = _ref42[0];
158
+ return backgroundBasePlain;
159
+ }, ['colors.backgroundBasePlain']),
160
+ dataGridRowStripesBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref43) {
161
+ var _ref44 = _slicedToArray(_ref43, 1),
162
+ backgroundBasePlain = _ref44[0];
163
+ return backgroundBasePlain;
164
+ }, ['colors.backgroundBasePlain']),
165
+ dataGridRowStripesBackgroundStriped: (0, _euiThemeCommon.computed)(function (_ref45) {
166
+ var _ref46 = _slicedToArray(_ref45, 1),
167
+ backgroundBaseSubdued = _ref46[0];
168
+ return backgroundBaseSubdued;
169
+ }, ['colors.backgroundBaseSubdued']),
170
+ dataGridRowStripesBackgroundStripedHover: (0, _euiThemeCommon.computed)(function (_ref47) {
171
+ var _ref48 = _slicedToArray(_ref47, 1),
172
+ backgroundBaseSubdued = _ref48[0];
173
+ return backgroundBaseSubdued;
174
+ }, ['colors.backgroundBaseSubdued']),
175
+ dataGridRowStripesBackgroundSelect: (0, _euiThemeCommon.computed)(function (_ref49) {
176
+ var _ref50 = _slicedToArray(_ref49, 1),
177
+ backgroundBaseInteractiveSelect = _ref50[0];
178
+ return backgroundBaseInteractiveSelect;
179
+ }, ['colors.backgroundBaseInteractiveSelect']),
180
+ dataGridRowStripesBackgroundSelectHover: (0, _euiThemeCommon.computed)(function (_ref51) {
181
+ var _ref52 = _slicedToArray(_ref51, 1),
182
+ backgroundBaseInteractiveSelect = _ref52[0];
183
+ return backgroundBaseInteractiveSelect;
184
+ }, ['colors.backgroundBaseInteractiveSelect']),
185
+ dragDropDraggingBackground: (0, _euiThemeCommon.computed)(function (_ref53) {
186
+ var _ref54 = _slicedToArray(_ref53, 1),
187
+ backgroundBaseSuccess = _ref54[0];
154
188
  return backgroundBaseSuccess;
155
189
  }, ['colors.backgroundBaseSuccess']),
156
- dragDropDraggingOverBackground: (0, _euiThemeCommon.computed)(function (_ref41) {
157
- var _ref42 = _slicedToArray(_ref41, 1),
158
- backgroundLightSuccess = _ref42[0];
190
+ dragDropDraggingOverBackground: (0, _euiThemeCommon.computed)(function (_ref55) {
191
+ var _ref56 = _slicedToArray(_ref55, 1),
192
+ backgroundLightSuccess = _ref56[0];
159
193
  return backgroundLightSuccess;
160
194
  }, ['colors.backgroundLightSuccess']),
161
195
  filterButtonBadgeBackgroundHover: _semantic_colors.SEMANTIC_COLORS.shade25,
162
- filterSelectItemBackgroundFocusDisabled: (0, _euiThemeCommon.computed)(function (_ref43) {
163
- var _ref44 = _slicedToArray(_ref43, 1),
164
- backgroundBaseDisabled = _ref44[0];
196
+ filterSelectItemBackgroundFocusDisabled: (0, _euiThemeCommon.computed)(function (_ref57) {
197
+ var _ref58 = _slicedToArray(_ref57, 1),
198
+ backgroundBaseDisabled = _ref58[0];
165
199
  return backgroundBaseDisabled;
166
200
  }, ['colors.backgroundBaseDisabled']),
167
- flyoutFooterBackground: (0, _euiThemeCommon.computed)(function (_ref45) {
168
- var _ref46 = _slicedToArray(_ref45, 1),
169
- backgroundBaseHighlighted = _ref46[0];
201
+ flyoutFooterBackground: (0, _euiThemeCommon.computed)(function (_ref59) {
202
+ var _ref60 = _slicedToArray(_ref59, 1),
203
+ backgroundBaseHighlighted = _ref60[0];
170
204
  return backgroundBaseHighlighted;
171
205
  }, ['colors.backgroundBaseHighlighted']),
172
- flyoutCloseButtonInsideBackground: (0, _euiThemeCommon.computed)(function (_ref47) {
173
- var _ref48 = _slicedToArray(_ref47, 1),
174
- backgroundBasePlain = _ref48[0];
206
+ flyoutCloseButtonInsideBackground: (0, _euiThemeCommon.computed)(function (_ref61) {
207
+ var _ref62 = _slicedToArray(_ref61, 1),
208
+ backgroundBasePlain = _ref62[0];
175
209
  return backgroundBasePlain;
176
210
  }, ['colors.backgroundBasePlain']),
177
- headerBackground: (0, _euiThemeCommon.computed)(function (_ref49) {
178
- var _ref50 = _slicedToArray(_ref49, 1),
179
- backgroundBasePlain = _ref50[0];
211
+ headerBackground: (0, _euiThemeCommon.computed)(function (_ref63) {
212
+ var _ref64 = _slicedToArray(_ref63, 1),
213
+ backgroundBasePlain = _ref64[0];
180
214
  return backgroundBasePlain;
181
215
  }, ['colors.backgroundBasePlain']),
182
216
  headerDarkBackground: _colors_dark.dark_background_colors.backgroundBasePlain,
183
217
  headerDarkSearchBorderColor: _colors_dark.dark_border_colors.borderBasePlain,
184
218
  headerDarkSectionItemBackgroundFocus: _colors_dark.dark_background_colors.backgroundBasePrimary,
185
- keyPadMenuItemBackgroundDisabledSelect: (0, _euiThemeCommon.computed)(function (_ref51) {
186
- var _ref52 = _slicedToArray(_ref51, 1),
187
- backgroundBaseDisabled = _ref52[0];
219
+ keyPadMenuItemBackgroundDisabledSelect: (0, _euiThemeCommon.computed)(function (_ref65) {
220
+ var _ref66 = _slicedToArray(_ref65, 1),
221
+ backgroundBaseDisabled = _ref66[0];
188
222
  return backgroundBaseDisabled;
189
223
  }, ['colors.backgroundBaseDisabled']),
190
- listGroupItemBackgroundPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref53) {
191
- var _ref54 = _slicedToArray(_ref53, 1),
192
- backgroundBaseInteractiveSelect = _ref54[0];
224
+ listGroupItemBackgroundPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref67) {
225
+ var _ref68 = _slicedToArray(_ref67, 1),
226
+ backgroundBaseInteractiveSelect = _ref68[0];
193
227
  return backgroundBaseInteractiveSelect;
194
228
  }, ['colors.backgroundBaseInteractiveSelect']),
195
- listGroupItemBackgroundSubduedActive: (0, _euiThemeCommon.computed)(function (_ref55) {
196
- var _ref56 = _slicedToArray(_ref55, 1),
197
- backgroundBaseInteractiveSelect = _ref56[0];
229
+ listGroupItemBackgroundSubduedActive: (0, _euiThemeCommon.computed)(function (_ref69) {
230
+ var _ref70 = _slicedToArray(_ref69, 1),
231
+ backgroundBaseInteractiveSelect = _ref70[0];
198
232
  return backgroundBaseInteractiveSelect;
199
233
  }, ['colors.backgroundBaseInteractiveSelect']),
200
- listGroupItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref57) {
201
- var _ref58 = _slicedToArray(_ref57, 1),
202
- backgroundBaseInteractiveHover = _ref58[0];
234
+ listGroupItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref71) {
235
+ var _ref72 = _slicedToArray(_ref71, 1),
236
+ backgroundBaseInteractiveHover = _ref72[0];
203
237
  return backgroundBaseInteractiveHover;
204
238
  }, ['colors.backgroundBaseInteractiveHover']),
205
- listGroupItemBackgroundPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref59) {
206
- var _ref60 = _slicedToArray(_ref59, 1),
207
- backgroundBaseInteractiveHover = _ref60[0];
239
+ listGroupItemBackgroundPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref73) {
240
+ var _ref74 = _slicedToArray(_ref73, 1),
241
+ backgroundBaseInteractiveHover = _ref74[0];
208
242
  return backgroundBaseInteractiveHover;
209
243
  }, ['colors.backgroundBaseInteractiveHover']),
210
244
  // we don't want to inherit overrides (e.g. HCM)
211
245
  loadingSpinnerBorder: _colors_light.border_colors.borderBasePlain,
212
- loadingSpinnerHighlight: (0, _euiThemeCommon.computed)(function (_ref61) {
213
- var _ref62 = _slicedToArray(_ref61, 1),
214
- borderStrongPrimary = _ref62[0];
246
+ loadingSpinnerHighlight: (0, _euiThemeCommon.computed)(function (_ref75) {
247
+ var _ref76 = _slicedToArray(_ref75, 1),
248
+ borderStrongPrimary = _ref76[0];
215
249
  return borderStrongPrimary;
216
250
  }, ['colors.borderStrongPrimary']),
217
251
  loadingChartMonoBackground0: _semantic_colors.SEMANTIC_COLORS.shade20,
218
252
  loadingChartMonoBackground1: _semantic_colors.SEMANTIC_COLORS.shade30,
219
253
  loadingChartMonoBackground2: _semantic_colors.SEMANTIC_COLORS.shade40,
220
254
  loadingChartMonoBackground3: _semantic_colors.SEMANTIC_COLORS.shade50,
221
- markBackground: (0, _euiThemeCommon.computed)(function (_ref63) {
222
- var _ref64 = _slicedToArray(_ref63, 1),
223
- backgroundLightPrimary = _ref64[0];
255
+ markBackground: (0, _euiThemeCommon.computed)(function (_ref77) {
256
+ var _ref78 = _slicedToArray(_ref77, 1),
257
+ backgroundLightPrimary = _ref78[0];
224
258
  return backgroundLightPrimary;
225
259
  }, ['colors.backgroundLightPrimary']),
226
- markdownFormatTableBorderColor: (0, _euiThemeCommon.computed)(function (_ref65) {
227
- var _ref66 = _slicedToArray(_ref65, 1),
228
- borderBasePlain = _ref66[0];
260
+ markdownFormatTableBorderColor: (0, _euiThemeCommon.computed)(function (_ref79) {
261
+ var _ref80 = _slicedToArray(_ref79, 1),
262
+ borderBasePlain = _ref80[0];
229
263
  return borderBasePlain;
230
264
  }, ['colors.borderBasePlain']),
231
- overlayMaskBackground: (0, _euiThemeCommon.computed)(function (_ref67) {
232
- var _ref68 = _slicedToArray(_ref67, 1),
233
- backgroundBaseInteractiveOverlay = _ref68[0];
265
+ overlayMaskBackground: (0, _euiThemeCommon.computed)(function (_ref81) {
266
+ var _ref82 = _slicedToArray(_ref81, 1),
267
+ backgroundBaseInteractiveOverlay = _ref82[0];
234
268
  return backgroundBaseInteractiveOverlay;
235
269
  }, ['colors.backgroundBaseInteractiveOverlay']),
236
270
  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];
271
+ popoverPanelBackground: (0, _euiThemeCommon.computed)(function (_ref83) {
272
+ var _ref84 = _slicedToArray(_ref83, 1),
273
+ backgroundBasePlain = _ref84[0];
240
274
  return backgroundBasePlain;
241
275
  }, ['colors.backgroundBasePlain']),
242
- popoverFooterBorderColor: (0, _euiThemeCommon.computed)(function (_ref71) {
243
- var _ref72 = _slicedToArray(_ref71, 1),
244
- borderBaseSubdued = _ref72[0];
276
+ popoverFooterBorderColor: (0, _euiThemeCommon.computed)(function (_ref85) {
277
+ var _ref86 = _slicedToArray(_ref85, 1),
278
+ borderBaseSubdued = _ref86[0];
245
279
  return borderBaseSubdued;
246
280
  }, ['colors.borderBaseSubdued']),
247
281
  scrollbarTrackColor: _semantic_colors.SEMANTIC_COLORS.shade15,
248
- sideNavItemEmphasizedBackground: (0, _euiThemeCommon.computed)(function (_ref73) {
249
- var _ref74 = _slicedToArray(_ref73, 1),
250
- backgroundBaseInteractiveSelect = _ref74[0];
282
+ sideNavItemEmphasizedBackground: (0, _euiThemeCommon.computed)(function (_ref87) {
283
+ var _ref88 = _slicedToArray(_ref87, 1),
284
+ backgroundBaseInteractiveSelect = _ref88[0];
251
285
  return backgroundBaseInteractiveSelect;
252
286
  }, ['colors.backgroundBaseInteractiveSelect']),
253
- selectableListItemBorderColor: (0, _euiThemeCommon.computed)(function (_ref75) {
254
- var _ref76 = _slicedToArray(_ref75, 1),
255
- borderBaseSubdued = _ref76[0];
287
+ selectableListItemBorderColor: (0, _euiThemeCommon.computed)(function (_ref89) {
288
+ var _ref90 = _slicedToArray(_ref89, 1),
289
+ borderBaseSubdued = _ref90[0];
256
290
  return borderBaseSubdued;
257
291
  }, ['colors.borderBaseSubdued']),
258
292
  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];
293
+ superDatePickerBackgroundSuccees: (0, _euiThemeCommon.computed)(function (_ref91) {
294
+ var _ref92 = _slicedToArray(_ref91, 1),
295
+ backgroundBaseSuccess = _ref92[0];
262
296
  return backgroundBaseSuccess;
263
297
  }, ['colors.backgroundBaseSuccess']),
264
- switchBackgroundOn: (0, _euiThemeCommon.computed)(function (_ref79) {
265
- var _ref80 = _slicedToArray(_ref79, 1),
266
- backgroundFilledPrimary = _ref80[0];
298
+ switchBackgroundOn: (0, _euiThemeCommon.computed)(function (_ref93) {
299
+ var _ref94 = _slicedToArray(_ref93, 1),
300
+ backgroundFilledPrimary = _ref94[0];
267
301
  return backgroundFilledPrimary;
268
302
  }, ['colors.backgroundFilledPrimary']),
269
- switchBackgroundOff: (0, _euiThemeCommon.computed)(function (_ref81) {
270
- var _ref82 = _slicedToArray(_ref81, 1),
271
- backgroundFilledText = _ref82[0];
303
+ switchBackgroundOff: (0, _euiThemeCommon.computed)(function (_ref95) {
304
+ var _ref96 = _slicedToArray(_ref95, 1),
305
+ backgroundFilledText = _ref96[0];
272
306
  return backgroundFilledText;
273
307
  }, ['colors.backgroundFilledText']),
274
- switchUncompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref83) {
275
- var _ref84 = _slicedToArray(_ref83, 1),
276
- backgroundBaseFormsControlDisabled = _ref84[0];
308
+ switchUncompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref97) {
309
+ var _ref98 = _slicedToArray(_ref97, 1),
310
+ backgroundBaseFormsControlDisabled = _ref98[0];
277
311
  return backgroundBaseFormsControlDisabled;
278
312
  }, ['colors.backgroundBaseFormsControlDisabled']),
279
- switchCompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref85) {
280
- var _ref86 = _slicedToArray(_ref85, 1),
281
- backgroundBaseFormsControlDisabled = _ref86[0];
313
+ switchCompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref99) {
314
+ var _ref100 = _slicedToArray(_ref99, 1),
315
+ backgroundBaseFormsControlDisabled = _ref100[0];
282
316
  return backgroundBaseFormsControlDisabled;
283
317
  }, ['colors.backgroundBaseFormsControlDisabled']),
284
- switchMiniBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref87) {
285
- var _ref88 = _slicedToArray(_ref87, 1),
286
- backgroundBaseFormsControlDisabled = _ref88[0];
318
+ switchMiniBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref101) {
319
+ var _ref102 = _slicedToArray(_ref101, 1),
320
+ backgroundBaseFormsControlDisabled = _ref102[0];
287
321
  return backgroundBaseFormsControlDisabled;
288
322
  }, ['colors.backgroundBaseFormsControlDisabled']),
289
- switchThumbBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref89) {
290
- var _ref90 = _slicedToArray(_ref89, 1),
291
- backgroundBasePlain = _ref90[0];
323
+ switchThumbBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref103) {
324
+ var _ref104 = _slicedToArray(_ref103, 1),
325
+ backgroundBasePlain = _ref104[0];
292
326
  return backgroundBasePlain;
293
327
  }, ['colors.backgroundBasePlain']),
294
- switchThumbBorderOn: (0, _euiThemeCommon.computed)(function (_ref91) {
295
- var _ref92 = _slicedToArray(_ref91, 1),
296
- backgroundFilledPrimary = _ref92[0];
328
+ switchThumbBorderOn: (0, _euiThemeCommon.computed)(function (_ref105) {
329
+ var _ref106 = _slicedToArray(_ref105, 1),
330
+ backgroundFilledPrimary = _ref106[0];
297
331
  return backgroundFilledPrimary;
298
332
  }, ['colors.backgroundFilledPrimary']),
299
- switchThumbBorderOff: (0, _euiThemeCommon.computed)(function (_ref93) {
300
- var _ref94 = _slicedToArray(_ref93, 1),
301
- backgroundFilledText = _ref94[0];
333
+ switchThumbBorderOff: (0, _euiThemeCommon.computed)(function (_ref107) {
334
+ var _ref108 = _slicedToArray(_ref107, 1),
335
+ backgroundFilledText = _ref108[0];
302
336
  return backgroundFilledText;
303
337
  }, ['colors.backgroundFilledText']),
304
338
  switchIconDisabled: _forms.forms.LIGHT.iconDisabled,
305
- tableRowBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref95) {
306
- var _ref96 = _slicedToArray(_ref95, 1),
307
- backgroundBaseInteractiveHover = _ref96[0];
339
+ tableRowBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref109) {
340
+ var _ref110 = _slicedToArray(_ref109, 1),
341
+ backgroundBaseInteractiveHover = _ref110[0];
308
342
  return backgroundBaseInteractiveHover;
309
343
  }, ['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];
344
+ tableRowBackgroundSelected: (0, _euiThemeCommon.computed)(function (_ref111) {
345
+ var _ref112 = _slicedToArray(_ref111, 1),
346
+ backgroundBaseInteractiveSelect = _ref112[0];
323
347
  return backgroundBaseInteractiveSelect;
324
348
  }, ['colors.backgroundBaseInteractiveSelect']),
325
- tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref103) {
326
- var _ref104 = _slicedToArray(_ref103, 1),
327
- backgroundBaseInteractiveSelect = _ref104[0];
349
+ tableRowBackgroundSelectedHover: (0, _euiThemeCommon.computed)(function (_ref113) {
350
+ var _ref114 = _slicedToArray(_ref113, 1),
351
+ backgroundBaseInteractiveSelectHover = _ref114[0];
352
+ return backgroundBaseInteractiveSelectHover;
353
+ }, ['colors.backgroundBaseInteractiveSelectHover']),
354
+ tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref115) {
355
+ var _ref116 = _slicedToArray(_ref115, 1),
356
+ backgroundBaseInteractiveSelect = _ref116[0];
328
357
  return backgroundBaseInteractiveSelect;
329
358
  }, ['colors.backgroundBaseInteractiveSelect']),
330
- tableCellSortableIconColor: (0, _euiThemeCommon.computed)(function (_ref105) {
331
- var _ref106 = _slicedToArray(_ref105, 1),
332
- backgroundFilledText = _ref106[0];
359
+ tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref117) {
360
+ var _ref118 = _slicedToArray(_ref117, 1),
361
+ backgroundBaseInteractiveHover = _ref118[0];
362
+ return backgroundBaseInteractiveHover;
363
+ }, ['colors.backgroundBaseInteractiveHover']),
364
+ tableCellSortableIconColor: (0, _euiThemeCommon.computed)(function (_ref119) {
365
+ var _ref120 = _slicedToArray(_ref119, 1),
366
+ backgroundFilledText = _ref120[0];
333
367
  return backgroundFilledText;
334
368
  }, ['colors.backgroundFilledText']),
335
369
  tooltipBackground: _colors_dark.dark_background_colors.backgroundBaseSubdued,
336
370
  tooltipBorder: _colors_dark.dark_border_colors.borderBaseSubdued,
337
- tooltipBorderFloating: (0, _euiThemeCommon.computed)(function (_ref107) {
338
- var _ref108 = _slicedToArray(_ref107, 1),
339
- borderBaseFloating = _ref108[0];
371
+ tooltipBorderFloating: (0, _euiThemeCommon.computed)(function (_ref121) {
372
+ var _ref122 = _slicedToArray(_ref121, 1),
373
+ borderBaseFloating = _ref122[0];
340
374
  return borderBaseFloating;
341
375
  }, ['colors.borderBaseFloating']),
342
- tourFooterBackground: (0, _euiThemeCommon.computed)(function (_ref109) {
343
- var _ref110 = _slicedToArray(_ref109, 1),
344
- backgroundBaseHighlighted = _ref110[0];
376
+ tourFooterBackground: (0, _euiThemeCommon.computed)(function (_ref123) {
377
+ var _ref124 = _slicedToArray(_ref123, 1),
378
+ backgroundBaseHighlighted = _ref124[0];
345
379
  return backgroundBaseHighlighted;
346
380
  }, ['colors.backgroundBaseHighlighted']),
347
- treeViewItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref111) {
348
- var _ref112 = _slicedToArray(_ref111, 1),
349
- backgroundBaseInteractiveHover = _ref112[0];
381
+ treeViewItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref125) {
382
+ var _ref126 = _slicedToArray(_ref125, 1),
383
+ backgroundBaseInteractiveHover = _ref126[0];
350
384
  return backgroundBaseInteractiveHover;
351
385
  }, ['colors.backgroundBaseInteractiveHover'])
352
386
  };
@@ -356,18 +390,19 @@ var components = exports.components = {
356
390
  LIGHT: component_colors,
357
391
  DARK: _objectSpread(_objectSpread({}, component_colors), {}, {
358
392
  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,
393
+ codeInlineColor: _semantic_colors.SEMANTIC_COLORS.assistance60,
394
+ codeStringColor: _semantic_colors.SEMANTIC_COLORS.accent60,
395
+ codeTagColor: _semantic_colors.SEMANTIC_COLORS.primary60,
396
+ codeNameColor: _semantic_colors.SEMANTIC_COLORS.primary60,
397
+ codeNumberColor: _semantic_colors.SEMANTIC_COLORS.accentSecondary60,
398
+ codeInlineCodeKeywordColor: _semantic_colors.SEMANTIC_COLORS.assistance60,
399
+ codeKeywordColor: _semantic_colors.SEMANTIC_COLORS.assistance60,
400
+ codeTypeColor: _semantic_colors.SEMANTIC_COLORS.primary60,
401
+ codeSymbolColor: _semantic_colors.SEMANTIC_COLORS.danger60,
402
+ codeTitleColor: _semantic_colors.SEMANTIC_COLORS.warning60,
403
+ codeSectionColor: _semantic_colors.SEMANTIC_COLORS.danger60,
404
+ codeAdditionColor: _semantic_colors.SEMANTIC_COLORS.accentSecondary60,
405
+ codeDeletionColor: _semantic_colors.SEMANTIC_COLORS.danger60,
371
406
  filterButtonBadgeBackgroundHover: _semantic_colors.SEMANTIC_COLORS.shade105,
372
407
  loadingSpinnerBorder: _colors_dark.dark_border_colors.borderBasePlain,
373
408
  loadingChartMonoBackground0: _semantic_colors.SEMANTIC_COLORS.shade110,
@@ -379,14 +414,14 @@ var components = exports.components = {
379
414
  skeletonBackgroundSkeletonMiddleHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.plainLightRGB, ", 0.3)"),
380
415
  switchIconDisabled: _forms.forms.DARK.iconDisabled,
381
416
  // TODO: align table hover states
382
- tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref113) {
383
- var _ref114 = _slicedToArray(_ref113, 1),
384
- backgroundBaseInteractiveHover = _ref114[0];
417
+ tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref127) {
418
+ var _ref128 = _slicedToArray(_ref127, 1),
419
+ backgroundBaseInteractiveHover = _ref128[0];
385
420
  return backgroundBaseInteractiveHover;
386
421
  }, ['colors.backgroundBaseInteractiveHover']),
387
- tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref115) {
388
- var _ref116 = _slicedToArray(_ref115, 1),
389
- backgroundBaseInteractiveHover = _ref116[0];
422
+ tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref129) {
423
+ var _ref130 = _slicedToArray(_ref129, 1),
424
+ backgroundBaseInteractiveHover = _ref130[0];
390
425
  return backgroundBaseInteractiveHover;
391
426
  }, ['colors.backgroundBaseInteractiveHover'])
392
427
  })
@@ -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;