mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[DarkMode] Deprecate advanced setting (#202993)
This commit is contained in:
parent
b5c119496a
commit
2ae1dd41b6
2 changed files with 7 additions and 1 deletions
|
@ -187,7 +187,7 @@ this setting stores part of the URL in your browser session to keep the URL
|
|||
short.
|
||||
|
||||
[[theme-darkmode]]`theme:darkMode`::
|
||||
The UI theme that the {kib} UI should use.
|
||||
deprecated:[9.0.0] The UI theme that the {kib} UI should use.
|
||||
Set to `enabled` or `disabled` to enable or disable the dark theme.
|
||||
Set to `system` to have the {kib} UI theme follow the system theme.
|
||||
You must refresh the page to apply the setting.
|
||||
|
|
|
@ -65,6 +65,12 @@ export const getThemeSettings = (
|
|||
defaultMessage: `Sync with system`,
|
||||
}),
|
||||
},
|
||||
deprecation: {
|
||||
message: i18n.translate('core.ui_settings.params.darkModeDeprecation', {
|
||||
defaultMessage: 'This setting is deprecated and will be removed in Kibana 10.0.',
|
||||
}),
|
||||
docLinksKey: 'generalSettings',
|
||||
},
|
||||
requiresPageReload: true,
|
||||
schema: schema.oneOf([
|
||||
schema.literal('enabled'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue