Skip to content

Commit

Permalink
[DarkMode] Deprecate advanced setting (elastic#202993)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga authored Dec 5, 2024
1 parent b5c1194 commit 2ae1dd4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/management/advanced-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit 2ae1dd4

Please sign in to comment.