mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
Resolves https://github.com/elastic/eui-private/issues/169 ## Summary This PR makes Borealis the default theme in Serverless (traditional kibana flavor already uses Borealis as the default) and adds a `coreRendering.defaultThemeName` LD feature flag to allow a graceful switch when this code gets deployed next week. To switch back to Amsterdam when developing locally, set `feature_flags.overrides.coreRendering.defaultThemeName: amsterdam` in `kibana.dev.yml` Please note that `DEFAULT_THEME_TAGS` still includes both Amsterdam and Borealis. We've decided to keep Amsterdam bundled in case of any unexpected errors. We'll make Amsterdam opt-in and reduce the bundle size within the next two weeks (target date Feb 21st). For the sake of a straightforward review of this PR, I will remove the previously defined `theme:name` UI setting and `themeSwitcherEnabled` logic in a follow-up PR. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
kibana.yml | ||
node.options | ||
README.md | ||
serverless.es.yml | ||
serverless.oblt.yml | ||
serverless.security.yml | ||
serverless.yml |
as work on serverless picks up we will add config values to these files that
define how Kibana will run in "serverless" modes. To start Kibana locally with
this configuration, pass --serverless={mode}
or run yarn serverless-{mode}
valid modes are currently: es
, oblt
, and security
configuration is applied in the following order, later values override
- serverless.yml (serverless configs go first)
- serverless.{mode}.yml (serverless configs go first)
- base config, in this preference order:
- my-config.yml(s) (set by --config)
- env-config.yml (described by
env.KBN_CONFIG_PATHS
) - kibana.yml (default @
env.KBN_PATH_CONF
/kibana.yml)
- kibana.dev.yml
- serverless.dev.yml
- serverless.{mode}.dev.yml