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:
parent
cf42d95af6
commit
008c56a09b
11 changed files with 78 additions and 73 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue