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

@ -65,13 +65,13 @@ pub fn palenight() -> UserThemeFamily {
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xffeb95cc).into()),
created: Some(rgba(0xa9c77dff).into()),
created: Some(rgba(0x9ccc65ff).into()),
deleted: Some(rgba(0xef5350ff).into()),
error: Some(rgba(0xef5350ff).into()),
hidden: Some(rgba(0x929ac9ff).into()),
hint: Some(rgba(0x969696ff).into()),
ignored: Some(rgba(0x69709890).into()),
modified: Some(rgba(0xe2c08de6).into()),
modified: Some(rgba(0xe2b93dff).into()),
..Default::default()
},
syntax: Some(UserSyntaxTheme {
@ -345,13 +345,13 @@ pub fn palenight() -> UserThemeFamily {
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xffeb95cc).into()),
created: Some(rgba(0xa9c77dff).into()),
created: Some(rgba(0x9ccc65ff).into()),
deleted: Some(rgba(0xef5350ff).into()),
error: Some(rgba(0xef5350ff).into()),
hidden: Some(rgba(0x929ac9ff).into()),
hint: Some(rgba(0x969696ff).into()),
ignored: Some(rgba(0x69709890).into()),
modified: Some(rgba(0xe2c08de6).into()),
modified: Some(rgba(0xe2b93dff).into()),
..Default::default()
},
syntax: Some(UserSyntaxTheme {
@ -625,13 +625,13 @@ pub fn palenight() -> UserThemeFamily {
},
status: StatusColorsRefinement {
conflict: Some(rgba(0xffeb95cc).into()),
created: Some(rgba(0xa9c77dff).into()),
created: Some(rgba(0x9ccc65ff).into()),
deleted: Some(rgba(0xef5350ff).into()),
error: Some(rgba(0xef5350ff).into()),
hidden: Some(rgba(0x929ac9ff).into()),
hint: Some(rgba(0x969696ff).into()),
ignored: Some(rgba(0x69709890).into()),
modified: Some(rgba(0xe2c08de6).into()),
modified: Some(rgba(0xe2b93dff).into()),
..Default::default()
},
syntax: Some(UserSyntaxTheme {