-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
icon_theme_selector: Add footer and related docs (#25042)
I've seen that the Theme modal has a footer with 2 links: Theme Docs (which links to Configuration > Themes) on the left, Install Themes on the right. I've basically done the same to the Icon Theme modal - however we seem to be missing a Configuration > Icon Themes doc, I've basically checked how it was made for Themes and pretty much adapted for Icon Themes. Maybe a better solution would be to combine both. Or add Icon themes section under Themes. I hope somebody from Zed can have a look and adapt this PR where needed. <img width="553" alt="Screenshot 2025-02-19 at 6 37 20 PM" src="https://github.com/user-attachments/assets/30602027-b7a7-4690-ba05-fc9eac313e67" /> Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <[email protected]>
- Loading branch information
1 parent
b8ed6e8
commit 121aba7
Showing
3 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Icon Themes | ||
|
||
Zed comes with a built-in icon theme, with more icon themes available as extensions. | ||
|
||
## Selecting an Icon Theme | ||
|
||
See what icon themes are installed and preview them via the Icon Theme Selector, which you can open from the command palette with "icon theme selector: toggle". | ||
|
||
Navigating through the icon theme list by moving up and down will change the icon theme in real time and hitting enter will save it to your settings file. | ||
|
||
## Installing more Icon Themes | ||
|
||
More icon themes are available from the Extensions page, which you can access via the command palette with "zed: Extensions" or the [Zed website](https://zed.dev/extensions). | ||
|
||
## Configuring Icon Themes | ||
|
||
Your selected icon theme is stored in your settings file. You can open your settings file from the command palette with "zed: open settings" (bound to `cmd-,` on macOS and `ctrl-,` on Linux). | ||
|
||
Just like with themes, Zed allows for configuring different icon themes for light and dark mode. You can set the mode to `"light"` or `"dark"` to ignore the current system mode. | ||
|
||
```json | ||
{ | ||
"icon_theme": { | ||
"mode": "system", | ||
"light": "Light Icon Theme", | ||
"dark": "Dark Icon Theme" | ||
} | ||
} | ||
``` | ||
|
||
## Icon Theme Development | ||
|
||
See: [Developing Zed Icon Themes](./extensions/icon-themes.md) |