"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useEuiTheme = useEuiTheme; var _mlKibanaTheme = require("@kbn/ml-kibana-theme"); var _use_aiops_app_context = require("./use_aiops_app_context"); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ function useEuiTheme() { const { theme } = (0, _use_aiops_app_context.useAiopsAppContext)(); return (0, _mlKibanaTheme.useCurrentEuiThemeVars)(theme).euiTheme; }