-
-
Save mauroreisvieira/176b15c418e8e134cccd41dda57743dd to your computer and use it in GitHub Desktop.
Patched Adaptive.sublime-theme for modifying the color of files in the sidebar based on their git status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
// VCS badges | |
{ | |
"class": "vcs_status_badge", | |
"parents": [{"class": "file_system_entry", "attributes": ["untracked"]}], | |
"layer0.texture": "Theme - Default/common/status_untracked.png", | |
"layer0.tint": "color(var(--yellowish) blend(rgb(255, 255, 255) 60%))", | |
"layer0.opacity": 1.0, | |
"content_margin": 6 | |
}, | |
{ | |
"class": "vcs_status_badge", | |
"parents": [{"class": "file_system_entry", "attributes": ["modified"]}], | |
"layer0.texture": "Theme - Default/common/status_modified.png", | |
"layer0.tint": "color(var(--bluish) min-contrast(var(--background) 2.5))", | |
"layer0.opacity": 1.0, | |
"content_margin": 6 | |
}, | |
{ | |
"class": "vcs_status_badge", | |
"parents": [{"class": "file_system_entry", "attributes": ["staged"]}], | |
"layer0.texture": "Theme - Default/common/status_staged.png", | |
"layer0.tint": "color(var(--purplish) min-contrast(var(--background) 2.5))", | |
"layer0.opacity": 1.0, | |
"content_margin": 6 | |
}, | |
{ | |
"class": "vcs_status_badge", | |
"parents": [{"class": "file_system_entry", "attributes": ["added"]}], | |
"layer0.texture": "Theme - Default/common/status_staged.png", | |
"layer0.tint": "color(var(--greenish) min-contrast(var(--background) 2.5))", | |
"layer0.opacity": 1.0, | |
"content_margin": 6 | |
}, | |
{ | |
"class": "vcs_status_badge", | |
"parents": [{"class": "file_system_entry", "attributes": ["unmerged"]}], | |
"layer0.texture": "Theme - Default/common/status_unmerged.png", | |
"layer0.tint": "color(var(--redish) min-contrast(var(--background) 2.5))", | |
"layer0.opacity": 1.0, | |
"content_margin": 6 | |
}, | |
{ | |
"class": "sidebar_label", | |
"parents": [{"class": "file_system_entry", "attributes": ["ignored"]}], | |
"color": "color(var(--background) blend(rgb(255, 255, 255) 70%))" | |
}, | |
{ | |
"class": "sidebar_label", | |
"parents": [ | |
{"class": "window", "attributes": ["file_light"]}, | |
{"class": "file_system_entry", "attributes": ["ignored"]} | |
], | |
"color": "color(var(--background) blend(rgb(0, 0, 0) 70%))" | |
}, | |
// VCS Filenames. | |
{ | |
"class": "sidebar_label", | |
"parents": [{"class": "file_system_entry", "attributes": ["untracked"]}], | |
"color": "color(var(--yellowish) blend(rgb(255, 255, 255) 75%))" | |
}, | |
{ | |
"class": "sidebar_label", | |
"parents": [{"class": "file_system_entry", "attributes": ["modified"]}], | |
"color": "color(var(--bluish) blend(rgb(255, 255, 255) 75%))" | |
}, | |
{ | |
"class": "sidebar_label", | |
"parents": [{"class": "file_system_entry", "attributes": ["staged"]}], | |
"color": "color(var(--purplish) blend(rgb(255, 255, 255) 75%))" | |
}, | |
{ | |
"class": "sidebar_label", | |
"parents": [{"class": "file_system_entry", "attributes": ["added"]}], | |
"color": "color(var(--greenish) blend(rgb(255, 255, 255) 75%))" | |
}, | |
{ | |
"class": "sidebar_label", | |
"parents": [{"class": "file_system_entry", "attributes": ["unmerged"]}], | |
"color": "color(var(--redish) blend(rgb(255, 255, 255) 75%))" | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment