Adjust which status colors we import from the VS Code theme (#3570)

This PR adjusts the status colors we import from the VS Code theme to be
the right ones.

Instead of looking at the Git status colors, we use the
`editorGutter.addedBackground`, `editorGutter.modifiedBackground`, and
`editorGutter.deletedBackground` colors for added, modified, and deleted
status colors, respectively.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2023-12-08 17:56:25 -05:00 committed by GitHub
parent cf42d95af6
commit 008c56a09b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 78 additions and 73 deletions

View file

@ -64,13 +64,13 @@ pub fn ayu() -> UserThemeFamily {
..Default::default()
},
status: StatusColorsRefinement {
created: Some(rgba(0x6cbf43b3).into()),
deleted: Some(rgba(0xe65050ff).into()),
created: Some(rgba(0x6cbf43cc).into()),
deleted: Some(rgba(0xff7383cc).into()),
error: Some(rgba(0xe65050ff).into()),
hidden: Some(rgba(0x8a9199ff).into()),
hint: Some(rgba(0x969696ff).into()),
ignored: Some(rgba(0x8a919980).into()),
modified: Some(rgba(0x478accb3).into()),
modified: Some(rgba(0x478acccc).into()),
..Default::default()
},
syntax: Some(UserSyntaxTheme {
@ -364,13 +364,13 @@ pub fn ayu() -> UserThemeFamily {
..Default::default()
},
status: StatusColorsRefinement {
created: Some(rgba(0x87d96cb3).into()),
deleted: Some(rgba(0xff6666ff).into()),
created: Some(rgba(0x87d96ccc).into()),
deleted: Some(rgba(0xf27983cc).into()),
error: Some(rgba(0xff6666ff).into()),
hidden: Some(rgba(0x707a8cff).into()),
hint: Some(rgba(0x969696ff).into()),
ignored: Some(rgba(0x707a8c80).into()),
modified: Some(rgba(0x80bfffb3).into()),
modified: Some(rgba(0x80bfffcc).into()),
..Default::default()
},
syntax: Some(UserSyntaxTheme {
@ -664,13 +664,13 @@ pub fn ayu() -> UserThemeFamily {
..Default::default()
},
status: StatusColorsRefinement {
created: Some(rgba(0x7fd962b3).into()),
deleted: Some(rgba(0xd95757ff).into()),
created: Some(rgba(0x7fd962cc).into()),
deleted: Some(rgba(0xf26d78cc).into()),
error: Some(rgba(0xd95757ff).into()),
hidden: Some(rgba(0x565b66ff).into()),
hint: Some(rgba(0x969696ff).into()),
ignored: Some(rgba(0x565b6680).into()),
modified: Some(rgba(0x73b8ffb3).into()),
modified: Some(rgba(0x73b8ffcc).into()),
..Default::default()
},
syntax: Some(UserSyntaxTheme {