Skip to content

settings_ui: Fix theme not being configurable in certain scenarios#46069

Merged
MrSubidubi merged 1 commit intomainfrom
theme-default
Jan 5, 2026
Merged

settings_ui: Fix theme not being configurable in certain scenarios#46069
MrSubidubi merged 1 commit intomainfrom
theme-default

Conversation

@MrSubidubi
Copy link
Member

Closes #44091

The issue here was that we were missing a proper default for ThemeSelection. This is a disadvantage of not having the defaults in code but actually in the default.json, so this here basically copies the default from the default.json into code for the settings UI to work properly.

Release Notes:

  • Fixed an issue where the theme was not configurable from the settings UI if no theme was configured prior.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 5, 2026
@MrSubidubi MrSubidubi marked this pull request as ready for review January 5, 2026 11:09
@MrSubidubi MrSubidubi enabled auto-merge (squash) January 5, 2026 11:09
@MrSubidubi MrSubidubi merged commit da99237 into main Jan 5, 2026
24 checks passed
@MrSubidubi MrSubidubi deleted the theme-default branch January 5, 2026 11:20
rtfeldman pushed a commit that referenced this pull request Jan 5, 2026
…46069)

Closes #44091

The issue here was that we were missing a proper default for
`ThemeSelection`. This is a disadvantage of not having the defaults in
code but actually in the `default.json`, so this here basically copies
the default from the `default.json` into code for the settings UI to
work properly.

Release Notes:

- Fixed an issue where the theme was not configurable from the settings
UI if no theme was configured prior.
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
…ed-industries#46069)

Closes zed-industries#44091

The issue here was that we were missing a proper default for
`ThemeSelection`. This is a disadvantage of not having the defaults in
code but actually in the `default.json`, so this here basically copies
the default from the `default.json` into code for the settings UI to
work properly.

Release Notes:

- Fixed an issue where the theme was not configurable from the settings
UI if no theme was configured prior.
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
…ed-industries#46069)

Closes zed-industries#44091

The issue here was that we were missing a proper default for
`ThemeSelection`. This is a disadvantage of not having the defaults in
code but actually in the `default.json`, so this here basically copies
the default from the `default.json` into code for the settings UI to
work properly.

Release Notes:

- Fixed an issue where the theme was not configurable from the settings
UI if no theme was configured prior.
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Feb 15, 2026
…ed-industries#46069)

Closes zed-industries#44091

The issue here was that we were missing a proper default for
`ThemeSelection`. This is a disadvantage of not having the defaults in
code but actually in the `default.json`, so this here basically copies
the default from the `default.json` into code for the settings UI to
work properly.

Release Notes:

- Fixed an issue where the theme was not configurable from the settings
UI if no theme was configured prior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Settings UI] Theme settings cannot be applied from the Settings UI until you set/reset the Theme Mode

1 participant