@elastic/eui 98.2.0 → 98.2.1-borealis.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 (599) hide show
  1. package/dist/{eui_theme_dark.json.d.ts → eui_theme_amsterdam_dark.json.d.ts} +1 -1
  2. package/dist/{eui_theme_light.json.d.ts → eui_theme_amsterdam_light.json.d.ts} +1 -1
  3. package/dist/eui_theme_borealis_dark.json +314 -0
  4. package/dist/eui_theme_borealis_dark.json.d.ts +317 -0
  5. package/dist/eui_theme_borealis_light.json +314 -0
  6. package/dist/eui_theme_borealis_light.json.d.ts +317 -0
  7. package/es/components/avatar/avatar.js +10 -4
  8. package/es/components/badge/badge.styles.js +1 -2
  9. package/es/components/badge/beta_badge/beta_badge.styles.js +3 -1
  10. package/es/components/badge/color_utils.js +9 -8
  11. package/es/components/beacon/beacon.styles.js +2 -2
  12. package/es/components/bottom_bar/bottom_bar.styles.js +1 -2
  13. package/es/components/breadcrumbs/_breadcrumb_content.styles.js +5 -7
  14. package/es/components/button/button.js +1 -1
  15. package/es/components/button/button_display/_button_display.styles.js +1 -1
  16. package/es/components/button/button_empty/button_empty.js +1 -1
  17. package/es/components/button/button_group/button_group_button.js +1 -1
  18. package/es/components/button/button_group/button_group_button.styles.js +6 -6
  19. package/es/components/button/button_icon/button_icon.js +1 -1
  20. package/es/components/card/card.js +1 -1
  21. package/es/components/card/card.styles.js +6 -3
  22. package/es/components/code/code_block_annotations.js +1 -1
  23. package/es/components/code/code_block_line.styles.js +1 -2
  24. package/es/components/code/code_syntax.styles.js +23 -27
  25. package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +3 -5
  26. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -1
  27. package/es/components/color_picker/color_palette_display/color_palette_display.styles.js +1 -2
  28. package/es/components/color_picker/color_picker.js +9 -3
  29. package/es/components/color_picker/color_picker.styles.js +1 -2
  30. package/es/components/color_picker/color_picker_swatch.styles.js +1 -1
  31. package/es/components/comment_list/comment.js +1 -1
  32. package/es/components/comment_list/comment_event.js +5 -4
  33. package/es/components/comment_list/comment_list.js +1 -1
  34. package/es/components/common.js +0 -28
  35. package/es/components/datagrid/data_grid.styles.js +6 -7
  36. package/es/components/date_picker/react_date_picker.styles.js +2 -1
  37. package/es/components/date_picker/super_date_picker/super_date_picker.styles.js +3 -4
  38. package/es/components/drag_and_drop/droppable.styles.js +2 -4
  39. package/es/components/empty_prompt/empty_prompt.js +1 -1
  40. package/es/components/empty_prompt/empty_prompt.styles.js +6 -2
  41. package/es/components/filter_group/filter_select_item.styles.js +1 -2
  42. package/es/components/flyout/_flyout_close_button.styles.js +1 -2
  43. package/es/components/flyout/flyout.js +1 -1
  44. package/es/components/flyout/flyout.styles.js +7 -2
  45. package/es/components/flyout/flyout_footer.styles.js +1 -1
  46. package/es/components/form/form.styles.js +28 -32
  47. package/es/components/form/range/range_tooltip.styles.js +11 -13
  48. package/es/components/form/switch/switch.js +3 -7
  49. package/es/components/form/switch/switch.styles.js +16 -19
  50. package/es/components/header/header.styles.js +6 -7
  51. package/es/components/icon/icon.styles.js +9 -8
  52. package/es/components/icon/named_colors.js +1 -1
  53. package/es/components/inline_edit/inline_edit_form.styles.js +1 -2
  54. package/es/components/key_pad_menu/key_pad_menu_item.styles.js +1 -2
  55. package/es/components/list_group/list_group_item.styles.js +9 -11
  56. package/es/components/loading/loading_chart.styles.js +18 -5
  57. package/es/components/mark/mark.styles.js +2 -9
  58. package/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +2 -3
  59. package/es/components/markdown_editor/markdown_format.styles.js +2 -2
  60. package/es/components/modal/modal.styles.js +1 -1
  61. package/es/components/overlay_mask/overlay_mask.styles.js +1 -2
  62. package/es/components/page_template/inner/page_inner.styles.js +2 -2
  63. package/es/components/panel/panel.js +1 -1
  64. package/es/components/panel/panel.styles.js +1 -1
  65. package/es/components/panel/split_panel/split_panel.js +1 -1
  66. package/es/components/popover/popover.js +1 -1
  67. package/es/components/popover/popover_arrow/_popover_arrow.js +8 -3
  68. package/es/components/popover/popover_arrow/_popover_arrow.styles.js +18 -13
  69. package/es/components/popover/popover_footer.styles.js +1 -1
  70. package/es/components/popover/popover_panel/_popover_panel.styles.js +4 -4
  71. package/es/components/progress/progress.js +1 -1
  72. package/es/components/progress/progress.styles.js +30 -28
  73. package/es/components/resizable_container/resizable_panel.js +1 -1
  74. package/es/components/selectable/selectable_list/selectable_list_item.styles.js +1 -2
  75. package/es/components/side_nav/side_nav_item.styles.js +1 -2
  76. package/es/components/skeleton/utils.js +5 -7
  77. package/es/components/steps/step_number.styles.js +1 -1
  78. package/es/components/table/table_cells_shared.styles.js +2 -7
  79. package/es/components/table/table_row.styles.js +8 -10
  80. package/es/components/text/text.styles.js +2 -2
  81. package/es/components/text/text_color.js +1 -1
  82. package/es/components/text/text_color.styles.js +6 -5
  83. package/es/components/toast/toast.styles.js +1 -1
  84. package/es/components/token/token.js +10 -4
  85. package/es/components/token/token.styles.js +12 -3
  86. package/es/components/token/token_map.js +243 -1
  87. package/es/components/tool_tip/tool_tip.styles.js +12 -24
  88. package/es/components/tour/_tour_footer.styles.js +2 -4
  89. package/es/components/tour/tour.styles.js +8 -12
  90. package/es/components/tree_view/tree_view_item.styles.js +1 -2
  91. package/es/global_styling/functions/math.js +1 -49
  92. package/es/global_styling/functions/size.js +1 -17
  93. package/es/global_styling/mixins/_button.js +159 -0
  94. package/es/global_styling/mixins/_color.js +39 -31
  95. package/es/global_styling/mixins/index.js +2 -1
  96. package/es/global_styling/reset/global_styles.js +2 -2
  97. package/es/global_styling/variables/_colors_vis.js +1 -53
  98. package/es/global_styling/variables/animations.js +1 -22
  99. package/es/global_styling/variables/breakpoint.js +1 -7
  100. package/es/global_styling/variables/levels.js +1 -17
  101. package/es/global_styling/variables/shadow.js +1 -11
  102. package/es/global_styling/variables/size.js +1 -1
  103. package/es/global_styling/variables/typography.js +1 -32
  104. package/es/services/color/eui_palettes.js +116 -47
  105. package/es/services/color/index.js +1 -0
  106. package/es/services/color/vis_color_store.js +13 -0
  107. package/es/services/index.js +1 -1
  108. package/es/services/popover/index.js +4 -1
  109. package/es/services/popover/popover_arrow.styles.js +31 -0
  110. package/es/services/popover/popover_positioning.js +6 -17
  111. package/es/services/theme/provider.js +26 -2
  112. package/es/services/theme/types.js +1 -6
  113. package/es/services/theme/utils.js +1 -303
  114. package/es/themes/amsterdam/global_styling/mixins/button.js +1 -203
  115. package/es/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  116. package/es/themes/amsterdam/global_styling/variables/_buttons.js +281 -0
  117. package/es/themes/amsterdam/global_styling/variables/_colors.js +618 -25
  118. package/es/themes/amsterdam/global_styling/variables/_colors_vis.js +94 -0
  119. package/es/themes/amsterdam/global_styling/variables/_components.js +604 -0
  120. package/es/themes/amsterdam/global_styling/variables/_forms.js +161 -0
  121. package/es/themes/amsterdam/theme.js +7 -1
  122. package/es/themes/index.js +1 -1
  123. package/es/themes/themes.js +9 -6
  124. package/eui.d.ts +2382 -2830
  125. package/lib/components/avatar/avatar.js +8 -2
  126. package/lib/components/badge/badge.styles.js +1 -2
  127. package/lib/components/badge/beta_badge/beta_badge.styles.js +3 -1
  128. package/lib/components/badge/color_utils.js +14 -13
  129. package/lib/components/beacon/beacon.styles.js +2 -2
  130. package/lib/components/bottom_bar/bottom_bar.styles.js +1 -2
  131. package/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -7
  132. package/lib/components/button/button.js +1 -1
  133. package/lib/components/button/button_display/_button_display.styles.js +1 -1
  134. package/lib/components/button/button_empty/button_empty.js +1 -1
  135. package/lib/components/button/button_group/button_group_button.js +1 -1
  136. package/lib/components/button/button_group/button_group_button.styles.js +5 -5
  137. package/lib/components/button/button_icon/button_icon.js +1 -1
  138. package/lib/components/card/card.js +1 -1
  139. package/lib/components/card/card.styles.js +5 -2
  140. package/lib/components/code/code_block_annotations.js +1 -1
  141. package/lib/components/code/code_block_line.styles.js +1 -2
  142. package/lib/components/code/code_syntax.styles.js +23 -27
  143. package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +3 -5
  144. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -1
  145. package/lib/components/color_picker/color_palette_display/color_palette_display.styles.js +1 -2
  146. package/lib/components/color_picker/color_picker.js +8 -2
  147. package/lib/components/color_picker/color_picker.styles.js +1 -2
  148. package/lib/components/color_picker/color_picker_swatch.styles.js +1 -1
  149. package/lib/components/comment_list/comment.js +1 -1
  150. package/lib/components/comment_list/comment_event.js +5 -4
  151. package/lib/components/comment_list/comment_list.js +1 -1
  152. package/lib/components/common.js +0 -28
  153. package/lib/components/datagrid/data_grid.styles.js +6 -7
  154. package/lib/components/date_picker/react_date_picker.styles.js +3 -2
  155. package/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +2 -3
  156. package/lib/components/drag_and_drop/droppable.styles.js +2 -4
  157. package/lib/components/empty_prompt/empty_prompt.js +1 -1
  158. package/lib/components/empty_prompt/empty_prompt.styles.js +5 -1
  159. package/lib/components/filter_group/filter_select_item.styles.js +1 -2
  160. package/lib/components/flyout/_flyout_close_button.styles.js +1 -2
  161. package/lib/components/flyout/flyout.js +1 -1
  162. package/lib/components/flyout/flyout.styles.js +7 -2
  163. package/lib/components/flyout/flyout_footer.styles.js +1 -1
  164. package/lib/components/form/form.styles.js +27 -31
  165. package/lib/components/form/range/range_tooltip.styles.js +11 -13
  166. package/lib/components/form/switch/switch.js +3 -7
  167. package/lib/components/form/switch/switch.styles.js +16 -19
  168. package/lib/components/header/header.styles.js +5 -6
  169. package/lib/components/icon/icon.styles.js +9 -8
  170. package/lib/components/icon/named_colors.js +1 -1
  171. package/lib/components/inline_edit/inline_edit_form.styles.js +1 -2
  172. package/lib/components/key_pad_menu/key_pad_menu_item.styles.js +1 -2
  173. package/lib/components/list_group/list_group_item.styles.js +8 -10
  174. package/lib/components/loading/loading_chart.styles.js +18 -5
  175. package/lib/components/mark/mark.styles.js +2 -9
  176. package/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +2 -3
  177. package/lib/components/markdown_editor/markdown_format.styles.js +2 -2
  178. package/lib/components/modal/modal.styles.js +1 -1
  179. package/lib/components/overlay_mask/overlay_mask.styles.js +1 -2
  180. package/lib/components/page_template/inner/page_inner.styles.js +1 -1
  181. package/lib/components/panel/panel.js +1 -1
  182. package/lib/components/panel/panel.styles.js +1 -1
  183. package/lib/components/panel/split_panel/split_panel.js +1 -1
  184. package/lib/components/popover/popover.js +1 -1
  185. package/lib/components/popover/popover_arrow/_popover_arrow.js +8 -3
  186. package/lib/components/popover/popover_arrow/_popover_arrow.styles.js +18 -15
  187. package/lib/components/popover/popover_footer.styles.js +1 -1
  188. package/lib/components/popover/popover_panel/_popover_panel.styles.js +4 -4
  189. package/lib/components/progress/progress.js +1 -1
  190. package/lib/components/progress/progress.styles.js +29 -27
  191. package/lib/components/resizable_container/resizable_panel.js +1 -1
  192. package/lib/components/selectable/selectable_list/selectable_list_item.styles.js +1 -2
  193. package/lib/components/side_nav/side_nav_item.styles.js +1 -2
  194. package/lib/components/skeleton/utils.js +4 -6
  195. package/lib/components/steps/step_number.styles.js +1 -1
  196. package/lib/components/table/table_cells_shared.styles.js +2 -7
  197. package/lib/components/table/table_row.styles.js +7 -9
  198. package/lib/components/text/text.styles.js +1 -1
  199. package/lib/components/text/text_color.js +1 -1
  200. package/lib/components/text/text_color.styles.js +6 -5
  201. package/lib/components/toast/toast.styles.js +1 -1
  202. package/lib/components/token/token.js +12 -4
  203. package/lib/components/token/token.styles.js +12 -3
  204. package/lib/components/token/token_map.js +244 -2
  205. package/lib/components/tool_tip/tool_tip.styles.js +11 -23
  206. package/lib/components/tour/_tour_footer.styles.js +2 -4
  207. package/lib/components/tour/tour.styles.js +8 -12
  208. package/lib/components/tree_view/tree_view_item.styles.js +1 -2
  209. package/lib/global_styling/functions/math.js +7 -58
  210. package/lib/global_styling/functions/size.js +7 -26
  211. package/lib/global_styling/mixins/_button.js +164 -0
  212. package/lib/global_styling/mixins/_color.js +38 -30
  213. package/lib/global_styling/mixins/index.js +11 -0
  214. package/lib/global_styling/reset/global_styles.js +1 -1
  215. package/lib/global_styling/variables/_colors_vis.js +6 -61
  216. package/lib/global_styling/variables/animations.js +25 -31
  217. package/lib/global_styling/variables/breakpoint.js +7 -16
  218. package/lib/global_styling/variables/levels.js +7 -26
  219. package/lib/global_styling/variables/shadow.js +13 -20
  220. package/lib/global_styling/variables/size.js +7 -10
  221. package/lib/global_styling/variables/typography.js +19 -41
  222. package/lib/services/color/eui_palettes.js +116 -47
  223. package/lib/services/color/index.js +8 -0
  224. package/lib/services/color/vis_color_store.js +18 -0
  225. package/lib/services/index.js +7 -0
  226. package/lib/services/popover/index.js +8 -1
  227. package/lib/services/popover/popover_arrow.styles.js +37 -0
  228. package/lib/services/popover/popover_positioning.js +6 -17
  229. package/lib/services/theme/provider.js +26 -2
  230. package/lib/services/theme/types.js +13 -14
  231. package/lib/services/theme/utils.js +54 -303
  232. package/lib/themes/amsterdam/global_styling/mixins/button.js +45 -206
  233. package/lib/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  234. package/lib/themes/amsterdam/global_styling/variables/_buttons.js +285 -0
  235. package/lib/themes/amsterdam/global_styling/variables/_colors.js +617 -25
  236. package/lib/themes/amsterdam/global_styling/variables/_colors_vis.js +100 -0
  237. package/lib/themes/amsterdam/global_styling/variables/_components.js +608 -0
  238. package/lib/themes/amsterdam/global_styling/variables/_forms.js +165 -0
  239. package/lib/themes/amsterdam/theme.js +7 -1
  240. package/lib/themes/index.js +7 -0
  241. package/lib/themes/themes.js +10 -7
  242. package/optimize/es/components/avatar/avatar.js +10 -4
  243. package/optimize/es/components/badge/badge.styles.js +1 -2
  244. package/optimize/es/components/badge/beta_badge/beta_badge.styles.js +3 -1
  245. package/optimize/es/components/badge/color_utils.js +9 -8
  246. package/optimize/es/components/beacon/beacon.styles.js +2 -2
  247. package/optimize/es/components/bottom_bar/bottom_bar.styles.js +1 -2
  248. package/optimize/es/components/breadcrumbs/_breadcrumb_content.styles.js +5 -7
  249. package/optimize/es/components/button/button.js +1 -1
  250. package/optimize/es/components/button/button_display/_button_display.styles.js +1 -1
  251. package/optimize/es/components/button/button_empty/button_empty.js +1 -1
  252. package/optimize/es/components/button/button_group/button_group_button.js +1 -1
  253. package/optimize/es/components/button/button_group/button_group_button.styles.js +6 -6
  254. package/optimize/es/components/button/button_icon/button_icon.js +1 -1
  255. package/optimize/es/components/card/card.styles.js +6 -3
  256. package/optimize/es/components/code/code_block_annotations.js +1 -1
  257. package/optimize/es/components/code/code_block_line.styles.js +1 -2
  258. package/optimize/es/components/code/code_syntax.styles.js +23 -27
  259. package/optimize/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +3 -5
  260. package/optimize/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -1
  261. package/optimize/es/components/color_picker/color_palette_display/color_palette_display.styles.js +1 -2
  262. package/optimize/es/components/color_picker/color_picker.js +9 -3
  263. package/optimize/es/components/color_picker/color_picker.styles.js +1 -2
  264. package/optimize/es/components/color_picker/color_picker_swatch.styles.js +1 -1
  265. package/optimize/es/components/comment_list/comment_event.js +4 -3
  266. package/optimize/es/components/common.js +0 -28
  267. package/optimize/es/components/datagrid/data_grid.styles.js +6 -7
  268. package/optimize/es/components/date_picker/react_date_picker.styles.js +2 -1
  269. package/optimize/es/components/date_picker/super_date_picker/super_date_picker.styles.js +3 -4
  270. package/optimize/es/components/drag_and_drop/droppable.styles.js +2 -4
  271. package/optimize/es/components/empty_prompt/empty_prompt.styles.js +6 -2
  272. package/optimize/es/components/filter_group/filter_select_item.styles.js +1 -2
  273. package/optimize/es/components/flyout/_flyout_close_button.styles.js +1 -2
  274. package/optimize/es/components/flyout/flyout.js +1 -1
  275. package/optimize/es/components/flyout/flyout.styles.js +7 -2
  276. package/optimize/es/components/flyout/flyout_footer.styles.js +1 -1
  277. package/optimize/es/components/form/form.styles.js +28 -32
  278. package/optimize/es/components/form/range/range_tooltip.styles.js +11 -13
  279. package/optimize/es/components/form/switch/switch.js +3 -2
  280. package/optimize/es/components/form/switch/switch.styles.js +16 -19
  281. package/optimize/es/components/header/header.styles.js +6 -7
  282. package/optimize/es/components/icon/icon.styles.js +9 -8
  283. package/optimize/es/components/icon/named_colors.js +1 -1
  284. package/optimize/es/components/inline_edit/inline_edit_form.styles.js +1 -2
  285. package/optimize/es/components/key_pad_menu/key_pad_menu_item.styles.js +1 -2
  286. package/optimize/es/components/list_group/list_group_item.styles.js +9 -11
  287. package/optimize/es/components/loading/loading_chart.styles.js +13 -5
  288. package/optimize/es/components/mark/mark.styles.js +2 -9
  289. package/optimize/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +2 -3
  290. package/optimize/es/components/markdown_editor/markdown_format.styles.js +2 -2
  291. package/optimize/es/components/modal/modal.styles.js +1 -1
  292. package/optimize/es/components/overlay_mask/overlay_mask.styles.js +1 -2
  293. package/optimize/es/components/page_template/inner/page_inner.styles.js +2 -2
  294. package/optimize/es/components/panel/panel.styles.js +1 -1
  295. package/optimize/es/components/popover/popover.js +1 -1
  296. package/optimize/es/components/popover/popover_arrow/_popover_arrow.js +8 -3
  297. package/optimize/es/components/popover/popover_arrow/_popover_arrow.styles.js +15 -13
  298. package/optimize/es/components/popover/popover_footer.styles.js +1 -1
  299. package/optimize/es/components/popover/popover_panel/_popover_panel.styles.js +4 -4
  300. package/optimize/es/components/progress/progress.js +1 -1
  301. package/optimize/es/components/progress/progress.styles.js +30 -28
  302. package/optimize/es/components/selectable/selectable_list/selectable_list_item.styles.js +1 -2
  303. package/optimize/es/components/side_nav/side_nav_item.styles.js +1 -2
  304. package/optimize/es/components/skeleton/utils.js +5 -7
  305. package/optimize/es/components/steps/step_number.styles.js +1 -1
  306. package/optimize/es/components/table/table_cells_shared.styles.js +2 -7
  307. package/optimize/es/components/table/table_row.styles.js +8 -10
  308. package/optimize/es/components/text/text.styles.js +2 -2
  309. package/optimize/es/components/text/text_color.js +1 -1
  310. package/optimize/es/components/text/text_color.styles.js +6 -5
  311. package/optimize/es/components/toast/toast.styles.js +1 -1
  312. package/optimize/es/components/token/token.js +10 -4
  313. package/optimize/es/components/token/token.styles.js +12 -3
  314. package/optimize/es/components/token/token_map.js +243 -1
  315. package/optimize/es/components/tool_tip/tool_tip.styles.js +12 -24
  316. package/optimize/es/components/tour/_tour_footer.styles.js +2 -4
  317. package/optimize/es/components/tour/tour.styles.js +8 -12
  318. package/optimize/es/components/tree_view/tree_view_item.styles.js +1 -2
  319. package/optimize/es/global_styling/functions/math.js +1 -49
  320. package/optimize/es/global_styling/functions/size.js +1 -17
  321. package/optimize/es/global_styling/mixins/_button.js +159 -0
  322. package/optimize/es/global_styling/mixins/_color.js +39 -31
  323. package/optimize/es/global_styling/mixins/index.js +2 -1
  324. package/optimize/es/global_styling/reset/global_styles.js +2 -2
  325. package/optimize/es/global_styling/variables/_colors_vis.js +1 -53
  326. package/optimize/es/global_styling/variables/animations.js +1 -22
  327. package/optimize/es/global_styling/variables/breakpoint.js +1 -7
  328. package/optimize/es/global_styling/variables/levels.js +1 -17
  329. package/optimize/es/global_styling/variables/shadow.js +1 -11
  330. package/optimize/es/global_styling/variables/size.js +1 -1
  331. package/optimize/es/global_styling/variables/typography.js +1 -32
  332. package/optimize/es/services/color/eui_palettes.js +116 -47
  333. package/optimize/es/services/color/index.js +1 -0
  334. package/optimize/es/services/color/vis_color_store.js +13 -0
  335. package/optimize/es/services/index.js +1 -1
  336. package/optimize/es/services/popover/index.js +4 -1
  337. package/optimize/es/services/popover/popover_arrow.styles.js +31 -0
  338. package/optimize/es/services/popover/popover_positioning.js +6 -17
  339. package/optimize/es/services/theme/provider.js +26 -2
  340. package/optimize/es/services/theme/types.js +1 -6
  341. package/optimize/es/services/theme/utils.js +1 -295
  342. package/optimize/es/themes/amsterdam/global_styling/mixins/button.js +1 -198
  343. package/optimize/es/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  344. package/optimize/es/themes/amsterdam/global_styling/variables/_buttons.js +270 -0
  345. package/optimize/es/themes/amsterdam/global_styling/variables/_colors.js +618 -25
  346. package/optimize/es/themes/amsterdam/global_styling/variables/_colors_vis.js +94 -0
  347. package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +596 -0
  348. package/optimize/es/themes/amsterdam/global_styling/variables/_forms.js +153 -0
  349. package/optimize/es/themes/amsterdam/theme.js +7 -1
  350. package/optimize/es/themes/index.js +1 -1
  351. package/optimize/es/themes/themes.js +9 -6
  352. package/optimize/lib/components/avatar/avatar.js +8 -2
  353. package/optimize/lib/components/badge/badge.styles.js +1 -2
  354. package/optimize/lib/components/badge/beta_badge/beta_badge.styles.js +3 -1
  355. package/optimize/lib/components/badge/color_utils.js +14 -13
  356. package/optimize/lib/components/beacon/beacon.styles.js +2 -2
  357. package/optimize/lib/components/bottom_bar/bottom_bar.styles.js +1 -2
  358. package/optimize/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -7
  359. package/optimize/lib/components/button/button.js +1 -1
  360. package/optimize/lib/components/button/button_display/_button_display.styles.js +1 -1
  361. package/optimize/lib/components/button/button_empty/button_empty.js +1 -1
  362. package/optimize/lib/components/button/button_group/button_group_button.js +1 -1
  363. package/optimize/lib/components/button/button_group/button_group_button.styles.js +5 -5
  364. package/optimize/lib/components/button/button_icon/button_icon.js +1 -1
  365. package/optimize/lib/components/card/card.styles.js +5 -2
  366. package/optimize/lib/components/code/code_block_annotations.js +1 -1
  367. package/optimize/lib/components/code/code_block_line.styles.js +1 -2
  368. package/optimize/lib/components/code/code_syntax.styles.js +23 -27
  369. package/optimize/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +3 -5
  370. package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -1
  371. package/optimize/lib/components/color_picker/color_palette_display/color_palette_display.styles.js +1 -2
  372. package/optimize/lib/components/color_picker/color_picker.js +8 -2
  373. package/optimize/lib/components/color_picker/color_picker.styles.js +1 -2
  374. package/optimize/lib/components/color_picker/color_picker_swatch.styles.js +1 -1
  375. package/optimize/lib/components/comment_list/comment_event.js +4 -3
  376. package/optimize/lib/components/common.js +0 -28
  377. package/optimize/lib/components/datagrid/data_grid.styles.js +6 -7
  378. package/optimize/lib/components/date_picker/react_date_picker.styles.js +3 -2
  379. package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +2 -3
  380. package/optimize/lib/components/drag_and_drop/droppable.styles.js +2 -4
  381. package/optimize/lib/components/empty_prompt/empty_prompt.styles.js +5 -1
  382. package/optimize/lib/components/filter_group/filter_select_item.styles.js +1 -2
  383. package/optimize/lib/components/flyout/_flyout_close_button.styles.js +1 -2
  384. package/optimize/lib/components/flyout/flyout.js +1 -1
  385. package/optimize/lib/components/flyout/flyout.styles.js +7 -2
  386. package/optimize/lib/components/flyout/flyout_footer.styles.js +1 -1
  387. package/optimize/lib/components/form/form.styles.js +27 -31
  388. package/optimize/lib/components/form/range/range_tooltip.styles.js +11 -13
  389. package/optimize/lib/components/form/switch/switch.js +3 -2
  390. package/optimize/lib/components/form/switch/switch.styles.js +16 -19
  391. package/optimize/lib/components/header/header.styles.js +5 -6
  392. package/optimize/lib/components/icon/icon.styles.js +9 -8
  393. package/optimize/lib/components/icon/named_colors.js +1 -1
  394. package/optimize/lib/components/inline_edit/inline_edit_form.styles.js +1 -2
  395. package/optimize/lib/components/key_pad_menu/key_pad_menu_item.styles.js +1 -2
  396. package/optimize/lib/components/list_group/list_group_item.styles.js +8 -10
  397. package/optimize/lib/components/loading/loading_chart.styles.js +13 -5
  398. package/optimize/lib/components/mark/mark.styles.js +2 -9
  399. package/optimize/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +2 -3
  400. package/optimize/lib/components/markdown_editor/markdown_format.styles.js +2 -2
  401. package/optimize/lib/components/modal/modal.styles.js +1 -1
  402. package/optimize/lib/components/overlay_mask/overlay_mask.styles.js +1 -2
  403. package/optimize/lib/components/page_template/inner/page_inner.styles.js +1 -1
  404. package/optimize/lib/components/panel/panel.styles.js +1 -1
  405. package/optimize/lib/components/popover/popover.js +1 -1
  406. package/optimize/lib/components/popover/popover_arrow/_popover_arrow.js +8 -3
  407. package/optimize/lib/components/popover/popover_arrow/_popover_arrow.styles.js +16 -15
  408. package/optimize/lib/components/popover/popover_footer.styles.js +1 -1
  409. package/optimize/lib/components/popover/popover_panel/_popover_panel.styles.js +4 -4
  410. package/optimize/lib/components/progress/progress.js +1 -1
  411. package/optimize/lib/components/progress/progress.styles.js +29 -27
  412. package/optimize/lib/components/selectable/selectable_list/selectable_list_item.styles.js +1 -2
  413. package/optimize/lib/components/side_nav/side_nav_item.styles.js +1 -2
  414. package/optimize/lib/components/skeleton/utils.js +4 -6
  415. package/optimize/lib/components/steps/step_number.styles.js +1 -1
  416. package/optimize/lib/components/table/table_cells_shared.styles.js +2 -7
  417. package/optimize/lib/components/table/table_row.styles.js +7 -9
  418. package/optimize/lib/components/text/text.styles.js +1 -1
  419. package/optimize/lib/components/text/text_color.js +1 -1
  420. package/optimize/lib/components/text/text_color.styles.js +6 -5
  421. package/optimize/lib/components/toast/toast.styles.js +1 -1
  422. package/optimize/lib/components/token/token.js +13 -4
  423. package/optimize/lib/components/token/token.styles.js +12 -3
  424. package/optimize/lib/components/token/token_map.js +244 -2
  425. package/optimize/lib/components/tool_tip/tool_tip.styles.js +11 -23
  426. package/optimize/lib/components/tour/_tour_footer.styles.js +2 -4
  427. package/optimize/lib/components/tour/tour.styles.js +8 -12
  428. package/optimize/lib/components/tree_view/tree_view_item.styles.js +1 -2
  429. package/optimize/lib/global_styling/functions/math.js +7 -59
  430. package/optimize/lib/global_styling/functions/size.js +7 -27
  431. package/optimize/lib/global_styling/mixins/_button.js +165 -0
  432. package/optimize/lib/global_styling/mixins/_color.js +38 -30
  433. package/optimize/lib/global_styling/mixins/index.js +11 -0
  434. package/optimize/lib/global_styling/reset/global_styles.js +1 -1
  435. package/optimize/lib/global_styling/variables/_colors_vis.js +6 -61
  436. package/optimize/lib/global_styling/variables/animations.js +25 -31
  437. package/optimize/lib/global_styling/variables/breakpoint.js +7 -16
  438. package/optimize/lib/global_styling/variables/levels.js +7 -26
  439. package/optimize/lib/global_styling/variables/shadow.js +13 -20
  440. package/optimize/lib/global_styling/variables/size.js +7 -10
  441. package/optimize/lib/global_styling/variables/typography.js +19 -41
  442. package/optimize/lib/services/color/eui_palettes.js +116 -47
  443. package/optimize/lib/services/color/index.js +8 -0
  444. package/optimize/lib/services/color/vis_color_store.js +18 -0
  445. package/optimize/lib/services/index.js +7 -0
  446. package/optimize/lib/services/popover/index.js +8 -1
  447. package/optimize/lib/services/popover/popover_arrow.styles.js +37 -0
  448. package/optimize/lib/services/popover/popover_positioning.js +6 -17
  449. package/optimize/lib/services/theme/provider.js +26 -2
  450. package/optimize/lib/services/theme/types.js +13 -14
  451. package/optimize/lib/services/theme/utils.js +54 -296
  452. package/optimize/lib/themes/amsterdam/global_styling/mixins/button.js +45 -203
  453. package/optimize/lib/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  454. package/optimize/lib/themes/amsterdam/global_styling/variables/_buttons.js +275 -0
  455. package/optimize/lib/themes/amsterdam/global_styling/variables/_colors.js +617 -25
  456. package/optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis.js +100 -0
  457. package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +601 -0
  458. package/optimize/lib/themes/amsterdam/global_styling/variables/_forms.js +158 -0
  459. package/optimize/lib/themes/amsterdam/theme.js +7 -1
  460. package/optimize/lib/themes/index.js +7 -0
  461. package/optimize/lib/themes/themes.js +10 -7
  462. package/package.json +7 -3
  463. package/src/global_styling/functions/_index.scss +1 -5
  464. package/src/global_styling/index.scss +1 -10
  465. package/src/global_styling/variables/_animations.scss +1 -8
  466. package/src/global_styling/variables/_borders.scss +1 -9
  467. package/src/global_styling/variables/_buttons.scss +1 -18
  468. package/src/global_styling/variables/_colors_vis.scss +1 -70
  469. package/src/global_styling/variables/_font_weight.scss +1 -7
  470. package/src/global_styling/variables/_form.scss +2 -21
  471. package/src/global_styling/variables/_responsive.scss +1 -9
  472. package/src/global_styling/variables/_shadows.scss +1 -1
  473. package/src/global_styling/variables/_size.scss +1 -13
  474. package/src/global_styling/variables/_states.scss +1 -14
  475. package/src/global_styling/variables/_typography.scss +1 -75
  476. package/src/global_styling/variables/_z_index.scss +1 -33
  477. package/src/themes/amsterdam/_colors_dark.scss +80 -8
  478. package/src/themes/amsterdam/_colors_light.scss +80 -8
  479. package/src/themes/amsterdam/global_styling/variables/_colors_vis.scss +72 -0
  480. package/src/themes/amsterdam/global_styling/variables/_forms.scss +12 -0
  481. package/src/themes/amsterdam/global_styling/variables/_index.scss +2 -0
  482. package/test-env/components/avatar/avatar.js +8 -2
  483. package/test-env/components/badge/badge.styles.js +1 -2
  484. package/test-env/components/badge/beta_badge/beta_badge.styles.js +3 -1
  485. package/test-env/components/badge/color_utils.js +14 -13
  486. package/test-env/components/beacon/beacon.styles.js +2 -2
  487. package/test-env/components/bottom_bar/bottom_bar.styles.js +1 -2
  488. package/test-env/components/breadcrumbs/_breadcrumb_content.styles.js +5 -7
  489. package/test-env/components/button/button.js +1 -1
  490. package/test-env/components/button/button_display/_button_display.styles.js +1 -1
  491. package/test-env/components/button/button_empty/button_empty.js +1 -1
  492. package/test-env/components/button/button_group/button_group_button.js +1 -1
  493. package/test-env/components/button/button_group/button_group_button.styles.js +5 -5
  494. package/test-env/components/button/button_icon/button_icon.js +1 -1
  495. package/test-env/components/card/card.js +1 -1
  496. package/test-env/components/card/card.styles.js +5 -2
  497. package/test-env/components/code/code_block_annotations.js +1 -1
  498. package/test-env/components/code/code_block_line.styles.js +1 -2
  499. package/test-env/components/code/code_syntax.styles.js +23 -27
  500. package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +3 -5
  501. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -1
  502. package/test-env/components/color_picker/color_palette_display/color_palette_display.styles.js +1 -2
  503. package/test-env/components/color_picker/color_picker.js +8 -2
  504. package/test-env/components/color_picker/color_picker.styles.js +1 -2
  505. package/test-env/components/color_picker/color_picker_swatch.styles.js +1 -1
  506. package/test-env/components/comment_list/comment.js +1 -1
  507. package/test-env/components/comment_list/comment_event.js +5 -4
  508. package/test-env/components/comment_list/comment_list.js +1 -1
  509. package/test-env/components/common.js +0 -28
  510. package/test-env/components/datagrid/data_grid.styles.js +6 -7
  511. package/test-env/components/date_picker/react_date_picker.styles.js +3 -2
  512. package/test-env/components/date_picker/super_date_picker/super_date_picker.styles.js +2 -3
  513. package/test-env/components/drag_and_drop/droppable.styles.js +2 -4
  514. package/test-env/components/empty_prompt/empty_prompt.js +1 -1
  515. package/test-env/components/empty_prompt/empty_prompt.styles.js +5 -1
  516. package/test-env/components/filter_group/filter_select_item.styles.js +1 -2
  517. package/test-env/components/flyout/_flyout_close_button.styles.js +1 -2
  518. package/test-env/components/flyout/flyout.styles.js +7 -2
  519. package/test-env/components/flyout/flyout_footer.styles.js +1 -1
  520. package/test-env/components/form/form.styles.js +27 -31
  521. package/test-env/components/form/range/range_tooltip.styles.js +11 -13
  522. package/test-env/components/form/switch/switch.js +3 -2
  523. package/test-env/components/form/switch/switch.styles.js +16 -19
  524. package/test-env/components/header/header.styles.js +5 -6
  525. package/test-env/components/icon/icon.styles.js +9 -8
  526. package/test-env/components/icon/named_colors.js +1 -1
  527. package/test-env/components/inline_edit/inline_edit_form.styles.js +1 -2
  528. package/test-env/components/key_pad_menu/key_pad_menu_item.styles.js +1 -2
  529. package/test-env/components/list_group/list_group_item.styles.js +8 -10
  530. package/test-env/components/loading/loading_chart.styles.js +13 -5
  531. package/test-env/components/mark/mark.styles.js +2 -9
  532. package/test-env/components/markdown_editor/markdown_editor_drop_zone.styles.js +2 -3
  533. package/test-env/components/markdown_editor/markdown_format.styles.js +2 -2
  534. package/test-env/components/modal/modal.styles.js +1 -1
  535. package/test-env/components/overlay_mask/overlay_mask.styles.js +1 -2
  536. package/test-env/components/page_template/inner/page_inner.styles.js +1 -1
  537. package/test-env/components/panel/panel.js +1 -1
  538. package/test-env/components/panel/panel.styles.js +1 -1
  539. package/test-env/components/panel/split_panel/split_panel.js +1 -1
  540. package/test-env/components/popover/popover.js +1 -1
  541. package/test-env/components/popover/popover_arrow/_popover_arrow.js +8 -3
  542. package/test-env/components/popover/popover_arrow/_popover_arrow.styles.js +16 -15
  543. package/test-env/components/popover/popover_footer.styles.js +1 -1
  544. package/test-env/components/popover/popover_panel/_popover_panel.styles.js +4 -4
  545. package/test-env/components/progress/progress.js +1 -1
  546. package/test-env/components/progress/progress.styles.js +29 -27
  547. package/test-env/components/resizable_container/resizable_panel.js +1 -1
  548. package/test-env/components/selectable/selectable_list/selectable_list_item.styles.js +1 -2
  549. package/test-env/components/side_nav/side_nav_item.styles.js +1 -2
  550. package/test-env/components/skeleton/utils.js +4 -6
  551. package/test-env/components/steps/step_number.styles.js +1 -1
  552. package/test-env/components/table/table_cells_shared.styles.js +2 -7
  553. package/test-env/components/table/table_row.styles.js +7 -9
  554. package/test-env/components/text/text.styles.js +1 -1
  555. package/test-env/components/text/text_color.js +1 -1
  556. package/test-env/components/text/text_color.styles.js +6 -5
  557. package/test-env/components/toast/toast.styles.js +1 -1
  558. package/test-env/components/token/token.js +13 -4
  559. package/test-env/components/token/token.styles.js +12 -3
  560. package/test-env/components/token/token_map.js +244 -2
  561. package/test-env/components/tool_tip/tool_tip.styles.js +11 -23
  562. package/test-env/components/tour/_tour_footer.styles.js +2 -4
  563. package/test-env/components/tour/tour.styles.js +8 -12
  564. package/test-env/components/tree_view/tree_view_item.styles.js +1 -2
  565. package/test-env/global_styling/functions/math.js +7 -59
  566. package/test-env/global_styling/functions/size.js +7 -27
  567. package/test-env/global_styling/mixins/_button.js +165 -0
  568. package/test-env/global_styling/mixins/_color.js +38 -30
  569. package/test-env/global_styling/mixins/index.js +11 -0
  570. package/test-env/global_styling/reset/global_styles.js +1 -1
  571. package/test-env/global_styling/variables/_colors_vis.js +6 -61
  572. package/test-env/global_styling/variables/animations.js +25 -31
  573. package/test-env/global_styling/variables/breakpoint.js +7 -16
  574. package/test-env/global_styling/variables/levels.js +7 -26
  575. package/test-env/global_styling/variables/shadow.js +13 -20
  576. package/test-env/global_styling/variables/size.js +7 -10
  577. package/test-env/global_styling/variables/typography.js +19 -41
  578. package/test-env/services/color/eui_palettes.js +116 -47
  579. package/test-env/services/color/index.js +8 -0
  580. package/test-env/services/color/vis_color_store.js +18 -0
  581. package/test-env/services/index.js +7 -0
  582. package/test-env/services/popover/index.js +8 -1
  583. package/test-env/services/popover/popover_arrow.styles.js +37 -0
  584. package/test-env/services/popover/popover_positioning.js +6 -17
  585. package/test-env/services/theme/provider.js +26 -2
  586. package/test-env/services/theme/types.js +13 -14
  587. package/test-env/services/theme/utils.js +54 -296
  588. package/test-env/themes/amsterdam/global_styling/mixins/button.js +45 -203
  589. package/test-env/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  590. package/test-env/themes/amsterdam/global_styling/variables/_buttons.js +275 -0
  591. package/test-env/themes/amsterdam/global_styling/variables/_colors.js +617 -25
  592. package/test-env/themes/amsterdam/global_styling/variables/_colors_vis.js +100 -0
  593. package/test-env/themes/amsterdam/global_styling/variables/_components.js +601 -0
  594. package/test-env/themes/amsterdam/global_styling/variables/_forms.js +158 -0
  595. package/test-env/themes/amsterdam/theme.js +7 -1
  596. package/test-env/themes/index.js +7 -0
  597. package/test-env/themes/themes.js +10 -7
  598. /package/dist/{eui_theme_dark.json → eui_theme_amsterdam_dark.json} +0 -0
  599. /package/dist/{eui_theme_light.json → eui_theme_amsterdam_light.json} +0 -0
@@ -0,0 +1,604 @@
1
+ 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); }
2
+ 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; }
3
+ 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; }
4
+ 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; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
+ 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); }
7
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
8
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
10
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
11
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
13
+ /*
14
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
15
+ * or more contributor license agreements. Licensed under the Elastic License
16
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
17
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
18
+ * Side Public License, v 1.
19
+ */
20
+
21
+ import { computed } from '../../../../services/theme/utils';
22
+ import { shade, tint, transparentize } from '../../../../services/color/manipulation';
23
+ import { makeHighContrastColor } from '../../../../services/color/contrast';
24
+ import { buttons } from './_buttons';
25
+ import { forms } from './_forms';
26
+ import { colorVis } from './_colors_vis';
27
+ var component_colors = {
28
+ badgeBackground: computed(function (_ref) {
29
+ var _ref2 = _slicedToArray(_ref, 1),
30
+ lightShade = _ref2[0];
31
+ return lightShade;
32
+ }, ['colors.lightShade']),
33
+ badgeBackgroundSubdued: computed(function (_ref3) {
34
+ var _ref4 = _slicedToArray(_ref3, 1),
35
+ lightShade = _ref4[0];
36
+ return tint(lightShade, 0.3);
37
+ }, ['colors.lightShade']),
38
+ badgeBorderColorHollow: computed(function (_ref5) {
39
+ var _ref6 = _slicedToArray(_ref5, 1),
40
+ color = _ref6[0];
41
+ return color;
42
+ }, ['border.color']),
43
+ badgeIconButtonBackgroundHover: computed(function (_ref7) {
44
+ var _ref8 = _slicedToArray(_ref7, 1),
45
+ ghost = _ref8[0];
46
+ return transparentize(ghost, 0.8);
47
+ }, ['colors.ghost']),
48
+ breadcrumbsApplicationBackground: computed(function (_ref9) {
49
+ var _ref10 = _slicedToArray(_ref9, 1),
50
+ darkestShade = _ref10[0];
51
+ return tint(darkestShade, 0.85);
52
+ }, ['colors.darkestShade']),
53
+ breadcrumbsApplicationColor: computed(function (_ref11) {
54
+ var _ref12 = _slicedToArray(_ref11, 1),
55
+ darkestShade = _ref12[0];
56
+ return tint(darkestShade, 0.2);
57
+ }, ['colors.darkestShade']),
58
+ buttonGroupBorderColor: computed(function (_ref13) {
59
+ var _ref14 = _slicedToArray(_ref13, 1),
60
+ fullShade = _ref14[0];
61
+ return transparentize(fullShade, 0.1);
62
+ }, ['colors.fullShade']),
63
+ buttonGroupBorderColorSelected: computed(function (_ref15) {
64
+ var _ref16 = _slicedToArray(_ref15, 1),
65
+ emptyShade = _ref16[0];
66
+ return transparentize(emptyShade, 0.2);
67
+ }, ['colors.emptyShade']),
68
+ buttonGroupFocusColor: computed(function (_ref17) {
69
+ var _ref18 = _slicedToArray(_ref17, 1),
70
+ fullShade = _ref18[0];
71
+ return fullShade;
72
+ }, ['colors.fullShade']),
73
+ bottomBarBackground: computed(function (_ref19) {
74
+ var _ref20 = _slicedToArray(_ref19, 1),
75
+ lightestShade = _ref20[0];
76
+ return shade(lightestShade, 0.5);
77
+ }, ['colors.lightestShade']),
78
+ codeBackground: computed(function (_ref21) {
79
+ var _ref22 = _slicedToArray(_ref21, 1),
80
+ lightestShade = _ref22[0];
81
+ return lightestShade;
82
+ }, ['colors.lightestShade']),
83
+ codeBackgroundSelected: 'inherit',
84
+ codeColor: computed(function (_ref23) {
85
+ var _ref24 = _slicedToArray(_ref23, 2),
86
+ lightestShade = _ref24[0],
87
+ text = _ref24[1];
88
+ return makeHighContrastColor(text)(lightestShade);
89
+ }, ['colors.lightestShade', 'colors.text']),
90
+ codeInlineColor: computed(function (_ref25) {
91
+ var _ref26 = _slicedToArray(_ref25, 1),
92
+ lightestShade = _ref26[0];
93
+ return makeHighContrastColor(colorVis.euiColorVis3)(lightestShade);
94
+ }, ['colors.lightestShade']),
95
+ codeCommentColor: computed(function (_ref27) {
96
+ var _ref28 = _slicedToArray(_ref27, 2),
97
+ lightestShade = _ref28[0],
98
+ subduedText = _ref28[1];
99
+ return makeHighContrastColor(subduedText)(lightestShade);
100
+ }, ['colors.lightestShade', 'colors.subduedText']),
101
+ codeSelectorColor: 'inherit',
102
+ codeStringColor: computed(function (_ref29) {
103
+ var _ref30 = _slicedToArray(_ref29, 1),
104
+ lightestShade = _ref30[0];
105
+ return makeHighContrastColor(colorVis.euiColorVis2)(lightestShade);
106
+ }, ['colors.lightestShade']),
107
+ codeTagColor: computed(function (_ref31) {
108
+ var _ref32 = _slicedToArray(_ref31, 1),
109
+ lightestShade = _ref32[0];
110
+ return makeHighContrastColor(colorVis.euiColorVis1)(lightestShade);
111
+ }, ['colors.lightestShade']),
112
+ codeNameColor: computed(function (_ref33) {
113
+ var _ref34 = _slicedToArray(_ref33, 1),
114
+ lightestShade = _ref34[0];
115
+ return makeHighContrastColor(colorVis.euiColorVis1)(lightestShade);
116
+ }, ['colors.lightestShade']),
117
+ codeNumberColor: computed(function (_ref35) {
118
+ var _ref36 = _slicedToArray(_ref35, 1),
119
+ lightestShade = _ref36[0];
120
+ return makeHighContrastColor(colorVis.euiColorVis0)(lightestShade);
121
+ }, ['colors.lightestShade']),
122
+ codeKeywordColor: computed(function (_ref37) {
123
+ var _ref38 = _slicedToArray(_ref37, 1),
124
+ lightestShade = _ref38[0];
125
+ return makeHighContrastColor(colorVis.euiColorVis3)(lightestShade);
126
+ }, ['colors.lightestShade']),
127
+ codeFunctionTitleColor: 'inherit',
128
+ codeTypeColor: computed(function (_ref39) {
129
+ var _ref40 = _slicedToArray(_ref39, 1),
130
+ lightestShade = _ref40[0];
131
+ return makeHighContrastColor(colorVis.euiColorVis1)(lightestShade);
132
+ }, ['colors.lightestShade']),
133
+ codeAttributeColor: 'inherit',
134
+ codeSymbolColor: computed(function (_ref41) {
135
+ var _ref42 = _slicedToArray(_ref41, 1),
136
+ lightestShade = _ref42[0];
137
+ return makeHighContrastColor(colorVis.euiColorVis9)(lightestShade);
138
+ }, ['colors.lightestShade']),
139
+ codeParamsColor: 'inherit',
140
+ codeMetaColor: computed(function (_ref43) {
141
+ var _ref44 = _slicedToArray(_ref43, 2),
142
+ lightestShade = _ref44[0],
143
+ subduedText = _ref44[1];
144
+ return makeHighContrastColor(subduedText)(lightestShade);
145
+ }, ['colors.lightestShade', 'colors.subduedText']),
146
+ codeTitleColor: computed(function (_ref45) {
147
+ var _ref46 = _slicedToArray(_ref45, 1),
148
+ lightestShade = _ref46[0];
149
+ return makeHighContrastColor(colorVis.euiColorVis7)(lightestShade);
150
+ }, ['colors.lightestShade']),
151
+ codeSectionColor: computed(function (_ref47) {
152
+ var _ref48 = _slicedToArray(_ref47, 1),
153
+ lightestShade = _ref48[0];
154
+ return makeHighContrastColor(colorVis.euiColorVis9)(lightestShade);
155
+ }, ['colors.lightestShade']),
156
+ codeAdditionColor: computed(function (_ref49) {
157
+ var _ref50 = _slicedToArray(_ref49, 1),
158
+ lightestShade = _ref50[0];
159
+ return makeHighContrastColor(colorVis.euiColorVis0)(lightestShade);
160
+ }, ['colors.lightestShade']),
161
+ codeDeletionColor: computed(function (_ref51) {
162
+ var _ref52 = _slicedToArray(_ref51, 2),
163
+ lightestShade = _ref52[0],
164
+ danger = _ref52[1];
165
+ return makeHighContrastColor(danger)(lightestShade);
166
+ }, ['colors.lightestShade', 'colors.danger']),
167
+ codeSelectorClassColor: 'inherit',
168
+ codeSelectorIdColor: 'inherit',
169
+ collapsibleNavGroupBackground: computed(function (_ref53) {
170
+ var _ref54 = _slicedToArray(_ref53, 1),
171
+ body = _ref54[0];
172
+ return body;
173
+ }, ['colors.body']),
174
+ collapsibleNavGroupBackgroundDark: computed(function (_ref55) {
175
+ var _ref56 = _slicedToArray(_ref55, 1),
176
+ darkestShade = _ref56[0];
177
+ return shade(darkestShade, 0.2);
178
+ }, ['colors.darkestShade']),
179
+ dataGridBorderColor: computed(function (_ref57) {
180
+ var _ref58 = _slicedToArray(_ref57, 1),
181
+ color = _ref58[0];
182
+ return color;
183
+ }, ['border.color']),
184
+ dataGridVerticalLineBorderColor: computed(function (_ref59) {
185
+ var _ref60 = _slicedToArray(_ref59, 1),
186
+ color = _ref60[0];
187
+ return tint(color, 0.3);
188
+ }, ['border.color']),
189
+ dataGridRowBackgroundStriped: computed(function (_ref61) {
190
+ var _ref62 = _slicedToArray(_ref61, 1),
191
+ lightestShade = _ref62[0];
192
+ return lightestShade;
193
+ }, ['colors.lightestShade']),
194
+ dataGridRowBackgroundHover: computed(function (_ref63) {
195
+ var _ref64 = _slicedToArray(_ref63, 1),
196
+ highlight = _ref64[0];
197
+ return highlight;
198
+ }, ['colors.highlight']),
199
+ dataGridRowBackgroundSelect: computed(function (_ref65) {
200
+ var _ref66 = _slicedToArray(_ref65, 1),
201
+ highlight = _ref66[0];
202
+ return highlight;
203
+ }, ['colors.highlight']),
204
+ dragDropDraggingBackground: computed(function (_ref67) {
205
+ var _ref68 = _slicedToArray(_ref67, 1),
206
+ success = _ref68[0];
207
+ return transparentize(success, 0.1);
208
+ }, ['colors.success']),
209
+ dragDropDraggingOverBackground: computed(function (_ref69) {
210
+ var _ref70 = _slicedToArray(_ref69, 1),
211
+ success = _ref70[0];
212
+ return transparentize(success, 0.25);
213
+ }, ['colors.success']),
214
+ filterSelectItemBackgroundFocusDisabled: computed(function (_ref71) {
215
+ var _ref72 = _slicedToArray(_ref71, 1),
216
+ disabled = _ref72[0];
217
+ return transparentize(disabled, 0.1);
218
+ }, ['colors.disabled']),
219
+ flyoutFooterBackground: computed(function (_ref73) {
220
+ var _ref74 = _slicedToArray(_ref73, 1),
221
+ lightestShade = _ref74[0];
222
+ return lightestShade;
223
+ }, ['colors.lightestShade']),
224
+ flyoutCloseButtonInsideBackground: computed(function (_ref75) {
225
+ var _ref76 = _slicedToArray(_ref75, 1),
226
+ emptyShade = _ref76[0];
227
+ return transparentize(emptyShade, 0.9);
228
+ }, ['colors.emptyShade']),
229
+ headerBackground: computed(function (_ref77) {
230
+ var _ref78 = _slicedToArray(_ref77, 1),
231
+ emptyShade = _ref78[0];
232
+ return emptyShade;
233
+ }, ['colors.emptyShade']),
234
+ headerDarkBackground: computed(function (_ref79) {
235
+ var _ref80 = _slicedToArray(_ref79, 1),
236
+ darkestShade = _ref80[0];
237
+ return shade(darkestShade, 0.28);
238
+ }, ['colors.darkestShade']),
239
+ headerDarkSearchBorderColor: computed(function (_ref81) {
240
+ var _ref82 = _slicedToArray(_ref81, 1),
241
+ ghost = _ref82[0];
242
+ return transparentize(ghost, 0.3);
243
+ }, ['colors.ghost']),
244
+ headerDarkSectionItemBackgroundFocus: computed(function (_ref83) {
245
+ var _ref84 = _slicedToArray(_ref83, 1),
246
+ primary = _ref84[0];
247
+ return shade(primary, 0.5);
248
+ }, ['colors.primary']),
249
+ keyPadMenuItemBackgroundDisabledSelect: computed(function (_ref85) {
250
+ var _ref86 = _slicedToArray(_ref85, 1),
251
+ disabled = _ref86[0];
252
+ return transparentize(disabled, 0.1);
253
+ }, ['colors.disabled']),
254
+ listGroupItemBackgroundPrimaryActive: computed(function (_ref87) {
255
+ var _ref88 = _slicedToArray(_ref87, 1),
256
+ lightShade = _ref88[0];
257
+ return transparentize(lightShade, 0.2);
258
+ }, ['colors.lightShade']),
259
+ listGroupItemBackgroundSubduedActive: computed(function (_ref89) {
260
+ var _ref90 = _slicedToArray(_ref89, 1),
261
+ primary = _ref90[0];
262
+ return transparentize(primary, 0.1);
263
+ }, ['colors.primary']),
264
+ listGroupItemBackgroundHover: computed(function (_ref91) {
265
+ var _ref92 = _slicedToArray(_ref91, 1),
266
+ lightShade = _ref92[0];
267
+ return transparentize(lightShade, 0.2);
268
+ }, ['colors.lightShade']),
269
+ listGroupItemBackgroundPrimaryHover: computed(function (_ref93) {
270
+ var _ref94 = _slicedToArray(_ref93, 1),
271
+ primary = _ref94[0];
272
+ return transparentize(primary, 0.1);
273
+ }, ['colors.primary']),
274
+ loadingChartMonoBackground0: computed(function (_ref95) {
275
+ var _ref96 = _slicedToArray(_ref95, 1),
276
+ lightShade = _ref96[0];
277
+ return lightShade;
278
+ }, ['colors.lightShade']),
279
+ loadingChartMonoBackground1: computed(function (_ref97) {
280
+ var _ref98 = _slicedToArray(_ref97, 1),
281
+ lightShade = _ref98[0];
282
+ return shade(lightShade, 0.04);
283
+ }, ['colors.lightShade']),
284
+ loadingChartMonoBackground2: computed(function (_ref99) {
285
+ var _ref100 = _slicedToArray(_ref99, 1),
286
+ lightShade = _ref100[0];
287
+ return shade(lightShade, 0.08);
288
+ }, ['colors.lightShade']),
289
+ loadingChartMonoBackground3: computed(function (_ref101) {
290
+ var _ref102 = _slicedToArray(_ref101, 1),
291
+ lightShade = _ref102[0];
292
+ return shade(lightShade, 0.12);
293
+ }, ['colors.lightShade']),
294
+ markBackground: computed(function (_ref103) {
295
+ var _ref104 = _slicedToArray(_ref103, 1),
296
+ primary = _ref104[0];
297
+ return transparentize(primary, 0.1);
298
+ }, ['colors.primary']),
299
+ markdownFormatTableBorderColor: computed(function (_ref105) {
300
+ var _ref106 = _slicedToArray(_ref105, 1),
301
+ fullShade = _ref106[0];
302
+ return transparentize(fullShade, 0.15);
303
+ }, ['colors.fullShade']),
304
+ popoverPanelBackground: computed(function (_ref107) {
305
+ var _ref108 = _slicedToArray(_ref107, 1),
306
+ emptyShade = _ref108[0];
307
+ return emptyShade;
308
+ }, ['colors.emptyShade']),
309
+ popoverFooterBorderColor: computed(function (_ref109) {
310
+ var _ref110 = _slicedToArray(_ref109, 1),
311
+ color = _ref110[0];
312
+ return color;
313
+ }, ['border.color']),
314
+ scrollbarTrackColor: computed(function (_ref111) {
315
+ var _ref112 = _slicedToArray(_ref111, 1),
316
+ body = _ref112[0];
317
+ return shade(body, 0.03);
318
+ }, ['colors.body']),
319
+ sideNavItemEmphasizedBackground: computed(function (_ref113) {
320
+ var _ref114 = _slicedToArray(_ref113, 1),
321
+ lightShade = _ref114[0];
322
+ return transparentize(lightShade, 0.3);
323
+ }, ['colors.lightShade']),
324
+ selectableListItemBorderColor: computed(function (_ref115) {
325
+ var _ref116 = _slicedToArray(_ref115, 1),
326
+ color = _ref116[0];
327
+ return transparentize(color, 0.4);
328
+ }, ['border.color']),
329
+ superDatePickerBackgroundSuccees: computed(function (_ref117) {
330
+ var _ref118 = _slicedToArray(_ref117, 1),
331
+ success = _ref118[0];
332
+ return tint(success, 0.9);
333
+ }, ['colors.success']),
334
+ switchBackgroundOn: computed(function (_ref119) {
335
+ var _ref120 = _slicedToArray(_ref119, 1),
336
+ primary = _ref120[0];
337
+ return primary;
338
+ }, ['colors.primary']),
339
+ switchBackgroundOff: computed(function (_ref121) {
340
+ var _ref122 = _slicedToArray(_ref121, 1),
341
+ lightestShade = _ref122[0];
342
+ return shade(lightestShade, 0.4);
343
+ }, ['colors.lightestShade']),
344
+ switchUncompressedBackgroundDisabled: computed(function (_ref123) {
345
+ var _ref124 = _slicedToArray(_ref123, 1),
346
+ lightShade = _ref124[0];
347
+ return tint(lightShade, 0.5);
348
+ }, ['colors.lightShade']),
349
+ switchCompressedBackgroundDisabled: computed(function (_ref125) {
350
+ var _ref126 = _slicedToArray(_ref125, 1),
351
+ lightShade = _ref126[0];
352
+ return tint(lightShade, 0.25);
353
+ }, ['colors.lightShade']),
354
+ switchMiniBackgroundDisabled: computed(function (_ref127) {
355
+ var _ref128 = _slicedToArray(_ref127, 1),
356
+ lightShade = _ref128[0];
357
+ return tint(lightShade, 0);
358
+ }, ['colors.lightShade']),
359
+ switchThumbBackgroundDisabled: 'transparent',
360
+ switchThumbBorderOn: computed(function (_ref129) {
361
+ var _ref130 = _slicedToArray(_ref129, 1),
362
+ lightestShade = _ref130[0];
363
+ return shade(lightestShade, 0.4);
364
+ }, ['colors.lightestShade']),
365
+ switchThumbBorderOff: computed(function (_ref131) {
366
+ var _ref132 = _slicedToArray(_ref131, 1),
367
+ lightestShade = _ref132[0];
368
+ return shade(lightestShade, 0.4);
369
+ }, ['colors.lightestShade']),
370
+ switchIconDisabled: computed(function (_ref133) {
371
+ var _ref134 = _slicedToArray(_ref133, 1),
372
+ lightestShade = _ref134[0];
373
+ return shade(lightestShade, 0.4);
374
+ }, ['colors.lightestShade']),
375
+ tableRowBackgroundHover: computed(function (_ref135) {
376
+ var _ref136 = _slicedToArray(_ref135, 1),
377
+ lightestShade = _ref136[0];
378
+ return tint(lightestShade, 0.5);
379
+ }, ['colors.lightestShade']),
380
+ tableRowBackgroundSelected: computed(function (_ref137) {
381
+ var _ref138 = _slicedToArray(_ref137, 1),
382
+ primary = _ref138[0];
383
+ return tint(primary, 0.96);
384
+ }, ['colors.primary']),
385
+ tableRowBackgroundSelectedHover: computed(function (_ref139) {
386
+ var _ref140 = _slicedToArray(_ref139, 1),
387
+ primary = _ref140[0];
388
+ return tint(primary, 0.9);
389
+ }, ['colors.primary']),
390
+ tableRowInteractiveBackgroundHover: computed(function (_ref141) {
391
+ var _ref142 = _slicedToArray(_ref141, 1),
392
+ primary = _ref142[0];
393
+ return transparentize(primary, 0.05);
394
+ }, ['colors.primary']),
395
+ tableRowInteractiveBackgroundFocus: computed(function (_ref143) {
396
+ var _ref144 = _slicedToArray(_ref143, 1),
397
+ primary = _ref144[0];
398
+ return transparentize(primary, 0.1);
399
+ }, ['colors.primary']),
400
+ tableCellSortableIconColor: computed(function (_ref145) {
401
+ var _ref146 = _slicedToArray(_ref145, 2),
402
+ emptyShade = _ref146[0],
403
+ subduedText = _ref146[1];
404
+ var color = tint(subduedText, 0.9);
405
+ return makeHighContrastColor(
406
+ // Tint it arbitrarily high, the contrast util will take care of lowering back down to WCAG
407
+ color, 3 // 3:1 ratio from https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html
408
+ )(emptyShade);
409
+ }, ['colors.emptyShade', 'colors.subduedText']),
410
+ tooltipBackground: computed(function (_ref147) {
411
+ var _ref148 = _slicedToArray(_ref147, 1),
412
+ fullShade = _ref148[0];
413
+ return tint(fullShade, 0.25);
414
+ }, ['colors.fullShade']),
415
+ tooltipBorder: computed(function (_ref149) {
416
+ var _ref150 = _slicedToArray(_ref149, 1),
417
+ fullShade = _ref150[0];
418
+ return tint(fullShade, 0.35);
419
+ }, ['colors.fullShade']),
420
+ tooltipBorderFloating: computed(function (_ref151) {
421
+ var _ref152 = _slicedToArray(_ref151, 1),
422
+ borderBaseFloating = _ref152[0];
423
+ return borderBaseFloating;
424
+ }, ['colors.borderBaseFloating']),
425
+ tourFooterBackground: computed(function (_ref153) {
426
+ var _ref154 = _slicedToArray(_ref153, 1),
427
+ lightestShade = _ref154[0];
428
+ return tint(lightestShade, 0.5);
429
+ }, ['colors.lightestShade']),
430
+ treeViewItemBackgroundHover: computed(function (_ref155) {
431
+ var _ref156 = _slicedToArray(_ref155, 1),
432
+ text = _ref156[0];
433
+ return transparentize(text, 0.1);
434
+ }, ['colors.text'])
435
+ };
436
+ export var components = {
437
+ buttons: buttons,
438
+ forms: forms,
439
+ LIGHT: component_colors,
440
+ DARK: _objectSpread(_objectSpread({}, component_colors), {}, {
441
+ badgeBorderColorHollow: computed(function (_ref157) {
442
+ var _ref158 = _slicedToArray(_ref157, 1),
443
+ color = _ref158[0];
444
+ return tint(color, 0.15);
445
+ }, ['border.color']),
446
+ breadcrumbsApplicationBackground: computed(function (_ref159) {
447
+ var _ref160 = _slicedToArray(_ref159, 1),
448
+ darkestShade = _ref160[0];
449
+ return shade(darkestShade, 0.7);
450
+ }, ['colors.darkestShade']),
451
+ breadcrumbsApplicationColor: computed(function (_ref161) {
452
+ var _ref162 = _slicedToArray(_ref161, 1),
453
+ darkestShade = _ref162[0];
454
+ return shade(darkestShade, 0.2);
455
+ }, ['colors.darkestShade']),
456
+ collapsibleNavGroupBackground: computed(function (_ref163) {
457
+ var _ref164 = _slicedToArray(_ref163, 1),
458
+ lightestShade = _ref164[0];
459
+ return shade(lightestShade, 0.5);
460
+ }, ['colors.lightestShade']),
461
+ collapsibleNavGroupBackgroundDark: computed(function (_ref165) {
462
+ var _ref166 = _slicedToArray(_ref165, 1),
463
+ lightestShade = _ref166[0];
464
+ return shade(lightestShade, 0.5);
465
+ }, ['colors.lightestShade']),
466
+ dataGridVerticalLineBorderColor: computed(function (_ref167) {
467
+ var _ref168 = _slicedToArray(_ref167, 1),
468
+ color = _ref168[0];
469
+ return shade(color, 0.3);
470
+ }, ['border.color']),
471
+ headerDarkBackground: computed(function (_ref169) {
472
+ var _ref170 = _slicedToArray(_ref169, 1),
473
+ lightestShade = _ref170[0];
474
+ return shade(lightestShade, 0.5);
475
+ }, ['colors.lightestShade']),
476
+ keyPadMenuItemBackgroundDisabledSelect: computed(function (_ref171) {
477
+ var _ref172 = _slicedToArray(_ref171, 1),
478
+ disabled = _ref172[0];
479
+ return transparentize(disabled, 0.2);
480
+ }, ['colors.disabled']),
481
+ listGroupItemBackgroundSubduedActive: computed(function (_ref173) {
482
+ var _ref174 = _slicedToArray(_ref173, 1),
483
+ lightShade = _ref174[0];
484
+ return transparentize(lightShade, 0.4);
485
+ }, ['colors.lightShade']),
486
+ loadingChartMonoBackground0: computed(function (_ref175) {
487
+ var _ref176 = _slicedToArray(_ref175, 1),
488
+ lightShade = _ref176[0];
489
+ return lightShade;
490
+ }, ['colors.lightShade']),
491
+ loadingChartMonoBackground1: computed(function (_ref177) {
492
+ var _ref178 = _slicedToArray(_ref177, 1),
493
+ lightShade = _ref178[0];
494
+ return tint(lightShade, 0.04);
495
+ }, ['colors.lightShade']),
496
+ loadingChartMonoBackground2: computed(function (_ref179) {
497
+ var _ref180 = _slicedToArray(_ref179, 1),
498
+ lightShade = _ref180[0];
499
+ return tint(lightShade, 0.08);
500
+ }, ['colors.lightShade']),
501
+ loadingChartMonoBackground3: computed(function (_ref181) {
502
+ var _ref182 = _slicedToArray(_ref181, 1),
503
+ lightShade = _ref182[0];
504
+ return tint(lightShade, 0.12);
505
+ }, ['colors.lightShade']),
506
+ markBackground: computed(function (_ref183) {
507
+ var _ref184 = _slicedToArray(_ref183, 1),
508
+ primary = _ref184[0];
509
+ return transparentize(primary, 0.3);
510
+ }, ['colors.primary']),
511
+ popoverPanelBackground: computed(function (_ref185) {
512
+ var _ref186 = _slicedToArray(_ref185, 1),
513
+ emptyShade = _ref186[0];
514
+ return tint(emptyShade, 0.025);
515
+ }, ['colors.emptyShade']),
516
+ scrollbarTrackColor: computed(function (_ref187) {
517
+ var _ref188 = _slicedToArray(_ref187, 1),
518
+ body = _ref188[0];
519
+ return tint(body, 0.07);
520
+ }, ['colors.body']),
521
+ superDatePickerBackgroundSuccees: computed(function (_ref189) {
522
+ var _ref190 = _slicedToArray(_ref189, 1),
523
+ success = _ref190[0];
524
+ return shade(success, 0.7);
525
+ }, ['colors.success']),
526
+ switchBackgroundOff: computed(function (_ref191) {
527
+ var _ref192 = _slicedToArray(_ref191, 1),
528
+ lightestShade = _ref192[0];
529
+ return tint(lightestShade, 0.31);
530
+ }, ['colors.lightestShade']),
531
+ switchUncompressedBackgroundDisabled: computed(function (_ref193) {
532
+ var _ref194 = _slicedToArray(_ref193, 1),
533
+ lightShade = _ref194[0];
534
+ return lightShade;
535
+ }, ['colors.lightShade']),
536
+ switchCompressedBackgroundDisabled: computed(function (_ref195) {
537
+ var _ref196 = _slicedToArray(_ref195, 1),
538
+ lightShade = _ref196[0];
539
+ return lightShade;
540
+ }, ['colors.lightShade']),
541
+ switchMiniBackgroundDisabled: computed(function (_ref197) {
542
+ var _ref198 = _slicedToArray(_ref197, 1),
543
+ lightShade = _ref198[0];
544
+ return lightShade;
545
+ }, ['colors.lightShade']),
546
+ switchThumbBorderOn: computed(function (_ref199) {
547
+ var _ref200 = _slicedToArray(_ref199, 1),
548
+ lightestShade = _ref200[0];
549
+ return tint(lightestShade, 0.31);
550
+ }, ['colors.lightestShade']),
551
+ switchThumbBorderOff: computed(function (_ref201) {
552
+ var _ref202 = _slicedToArray(_ref201, 1),
553
+ lightestShade = _ref202[0];
554
+ return tint(lightestShade, 0.31);
555
+ }, ['colors.lightestShade']),
556
+ switchIconDisabled: computed(function (_ref203) {
557
+ var _ref204 = _slicedToArray(_ref203, 1),
558
+ lightestShade = _ref204[0];
559
+ return tint(lightestShade, 0.31);
560
+ }, ['colors.lightestShade']),
561
+ tableRowBackgroundHover: computed(function (_ref205) {
562
+ var _ref206 = _slicedToArray(_ref205, 1),
563
+ lightestShade = _ref206[0];
564
+ return lightestShade;
565
+ }, ['colors.lightestShade']),
566
+ tableRowBackgroundSelected: computed(function (_ref207) {
567
+ var _ref208 = _slicedToArray(_ref207, 1),
568
+ primary = _ref208[0];
569
+ return shade(primary, 0.7);
570
+ }, ['colors.primary']),
571
+ tableRowBackgroundSelectedHover: computed(function (_ref209) {
572
+ var _ref210 = _slicedToArray(_ref209, 1),
573
+ primary = _ref210[0];
574
+ return shade(primary, 0.75);
575
+ }, ['colors.primary']),
576
+ tableCellSortableIconColor: computed(function (_ref211) {
577
+ var _ref212 = _slicedToArray(_ref211, 2),
578
+ emptyShade = _ref212[0],
579
+ subduedText = _ref212[1];
580
+ var color = shade(subduedText, 0.9);
581
+ return makeHighContrastColor(color, 3)(emptyShade);
582
+ }, ['colors.emptyShade', 'colors.subduedText']),
583
+ tooltipBackground: computed(function (_ref213) {
584
+ var _ref214 = _slicedToArray(_ref213, 1),
585
+ emptyShade = _ref214[0];
586
+ return shade(emptyShade, 1);
587
+ }, ['colors.emptyShade']),
588
+ tooltipBorder: computed(function (_ref215) {
589
+ var _ref216 = _slicedToArray(_ref215, 1),
590
+ fullShade = _ref216[0];
591
+ return shade(fullShade, 0.8);
592
+ }, ['colors.fullShade']),
593
+ tourFooterBackground: computed(function (_ref217) {
594
+ var _ref218 = _slicedToArray(_ref217, 1),
595
+ lightestShade = _ref218[0];
596
+ return shade(lightestShade, 0.45);
597
+ }, ['colors.lightestShade']),
598
+ treeViewItemBackgroundHover: computed(function (_ref219) {
599
+ var _ref220 = _slicedToArray(_ref219, 1),
600
+ text = _ref220[0];
601
+ return transparentize(text, 0.2);
602
+ }, ['colors.text'])
603
+ })
604
+ };