1c850f4
Use `breadcrumb.background` from VS Code for toolbar background (#3559)
Click to expand commit body
This PR changes the color we use for the toolbar background from the VS
Code theme to `breadcrumb.background`.
If this value isn't set then we fall back to the `editor.background`.
Release Notes:
- N/A
Marshall Bowers
created
1d35a81
Use `editorGroupHeader.tabsBackground` from VS Code as tab bar background (#3558)
Click to expand commit body
This PR changes the color we use for the tab bar background from the VS
Code theme to `editorGroupHeader.tabsBackground`.
Release Notes:
- N/A
This PR refines the imported themes further:
- Empty strings for color values in the VS Code theme are now ignored
- Pull Git status colors from VS Code themes
- Add `constant` colors as a fallback for `number` tokens
Release Notes:
- N/A
7a9f764
Add support for theme family-specific syntax mapping overrides (#3551)
Click to expand commit body
This PR adds support for adding a specific set of mappings from Zed
syntax tokens to VS Code scopes for a particular theme family.
We can use this as a fallback when we aren't otherwise able to rely on
the mappings in the theme importer, as sometimes it isn't possible to
make a specific enough matcher that works across all of the themes.
Release Notes:
- N/A
Marshall Bowers
created
5b96ffb
Set various bar backgrounds in imported themes (#3550)
Click to expand commit body
This PR updates the imported themes to set the background colors for the
various bars (title bar, toolbar, tab bar, status bar).
Release Notes:
- N/A
This PR improves the approach we use to match syntax tokens between Zed
and VS Code in the `theme_importer`.
We now use the list of scopes assigned to each Zed syntax token to rank
the possible candidates in the VS Code and then pick the candidate with
the highest rank.
So far this has proved to provide better colors across the board, but
we'll continue to refine the matching over time.
Release Notes:
- N/A
89f62a1
Fix nightly auto-update failure due to version parsing error (#3548)
Click to expand commit body
After https://github.com/zed-industries/zed/pull/3507, parsing the app's
semver version from the application plist stopped working, which caused
auto-updates to stop.
I don't think we need to put `-nightly` in the version number: it's
already in the release channel name, which is reported alongside the
version in most cases. For example, the 'About' dialog was saying `Zed
Nightly 2.0.0-nightly`.
I think even without nightly, it would be a good idea to include the
*release channel* name in the datadog alerts that show up in slack.
@JosephTLyons could you look into how to do that?
/cc @SomeoneToIgnore
Max Brunsfeld
created
f9d569f
Remove '-nightly' suffix from nightly build version number
Click to expand commit body
It breaks our semver parsing, and the release channel is already 'nightly'.
Max Brunsfeld
created
808a062
Show a notification on auto-update check action if updates are disabled
Max Brunsfeld
created
c7e19c0
Emit accurate hex colors in generated themes (#3547)
Click to expand commit body
This PR fixes an issues where the hex colors in the generated themes
were not correct.
We're using the [`palette`](https://crates.io/crates/palette) crate to
perform the conversions, as this gives us accurate hex codes that match
the VS Code source themes.
Release Notes:
- N/A
Marshall Bowers
created
0b78a40
Show current user avatar when in a room, even if not in a shared project (#3546)
Max Brunsfeld
created
58d8c51
Show current user avatar when in a room w/o a shared project