# onboarding: Fix theme selection in system mode \(\#36484\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a91acb5f4126fe650efc758a4159d0758e34b02e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a91acb5f4126fe650efc758a4159d0758e34b02e

Requested commit: a91acb5f4126fe650efc758a4159d0758e34b02e

Commit: a91acb5f4126fe650efc758a4159d0758e34b02e

Tree: 58c23db7b92a4e6f091208803a72e5520bd1c64d

Author: Umesh Yadav

Committer: GitHub

## Message

```
onboarding: Fix theme selection in system mode (#36484)

Previously, selecting the "System" theme during onboarding would
hardcode the theme based on the device's current mode (e.g., Light or
Dark). This change ensures the "System" setting is saved correctly,
allowing the app to dynamically follow the OS theme by inserting the
correct theme in the config for both light and dark mode.

Release Notes:

- N/A

Signed-off-by: Umesh Yadav <git@umesh.dev>
```

## Parents

- [6ba52a3a42cbbb9dc4daa3d3e283ca1f98e11d30](https://git.cafe/gitcafe/zed/commit/6ba52a3a42cbbb9dc4daa3d3e283ca1f98e11d30?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a91acb5f4126fe650efc758a4159d0758e34b02e?format=markdown)
