Marshall Bowers
c7e19c0bcd
Emit accurate hex colors in generated themes ( #3547 )
...
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
2023-12-07 18:34:03 -05:00
Marshall Bowers
fa223e0c6f
Pull editor inlay hints from VS Code themes
2023-12-07 15:36:13 -05:00
Marshall Bowers
6a164db700
Rename members in ZedSyntaxToken
2023-12-07 14:35:58 -05:00
Marshall Bowers
8ed04fe798
Remove commented-out code in theme importer
2023-12-07 14:33:37 -05:00
Nate Butler
024fb4f818
Remove unused import
2023-11-09 16:41:58 -05:00
Nate Butler
4cd37e6e62
Extend theme converter to allow multimatching against vscode colors
2023-11-09 16:38:48 -05:00
Nate Butler and Marshall Bowers
1c6a960bbf
Deal with special case where a VSCode theme doesn't have a foreground color
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-09 14:53:04 -05:00
Nate Butler and Marshall Bowers
54157eb99a
Finish passing Syntax from VSCode themes to Zed Themes
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-09 14:41:26 -05:00
Nate Butler and Marshall Bowers
ff053890cf
Extend UserSyntax to allow font_style and font_weight to be specified
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-09 13:46:08 -05:00
Marshall Bowers
978cff8095
Use IndexMap for a deterministic order when importing syntax colors
2023-11-09 13:12:36 -05:00
Marshall Bowers
1f0fccc353
Reorganize theme_importer
2023-11-09 13:07:32 -05:00