# Eagerly load the active theme and icon theme \(\#25368\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ec56755f9e8194dfe1021b5bd7b07c8e5878af01

Requested commit: ec56755f9e8194dfe1021b5bd7b07c8e5878af01

Commit: ec56755f9e8194dfe1021b5bd7b07c8e5878af01

Tree: 930f4f2f14a3b5f562cdc088856841ad8188ccbd

Author: Marshall Bowers

Committer: GitHub

## Message

```
Eagerly load the active theme and icon theme (#25368)

This PR adds eager loading of the active theme and icon theme set in the
user settings.

Previously for themes and icon themes that were provided by extensions,
we would have to wait until extensions were loaded before we could apply
the themes.

In some cases this could lead to a visible delay during which time the
user would see the default themes, and then switch to their desired
themes once extensions had loaded.

To avoid this, we now take a fast path of loading the active themes
directly from the filesystem so that we can load them as soon as
possible.

Closes #10173 and #25305.

Release Notes:

- Added eager loading of the active theme and icon theme. This should
address some reports of seeing the default themes briefly on startup.
```

## Parents

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

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