From bb4fd2a75e748314598ed72e238c0d502cba3b52 Mon Sep 17 00:00:00 2001 From: "mattia.astorino" Date: Tue, 28 Jun 2016 19:45:46 +0200 Subject: [PATCH] fix: Fix gutter colors and themes Close #887 --- schemes/Material-Theme-Darker.YAML-tmTheme | 23 +++++++++- schemes/Material-Theme-Darker.tmTheme | 48 ++++++++++++++++++++- schemes/Material-Theme-Lighter.YAML-tmTheme | 23 +++++++++- schemes/Material-Theme-Lighter.tmTheme | 48 ++++++++++++++++++++- schemes/Material-Theme.YAML-tmTheme | 23 +++++++++- schemes/Material-Theme.tmTheme | 48 ++++++++++++++++++++- src/schemes/scheme.YAML-tmTheme | 23 +++++++++- 7 files changed, 229 insertions(+), 7 deletions(-) diff --git a/schemes/Material-Theme-Darker.YAML-tmTheme b/schemes/Material-Theme-Darker.YAML-tmTheme index add1357ed..1ce99c779 100755 --- a/schemes/Material-Theme-Darker.YAML-tmTheme +++ b/schemes/Material-Theme-Darker.YAML-tmTheme @@ -62,11 +62,17 @@ settings: foreground: '#ffffff' - name: Invalid - scope: invalid + scope: invalid, invalid.illegal, invalid.broken settings: foreground: '#ffffff' background: '#FF5370' +- name: Unimplemented + scope: invalid.unimplemented + settings: + foreground: '#ffffff' + background: '#C3E88D' + - name: Invalid deprecated scope: invalid.deprecated settings: @@ -427,3 +433,18 @@ settings: scope: markup.untracked.git_gutter settings: foreground: '#65737e' + +- name: GitGutter Inserted + scope: markup.inserted.git_gutter + settings: + foreground: '#C3E88D' + +- name: GitGutter Changed + scope: markup.changed.git_gutter + settings: + foreground: '#FFCB6B' + +- name: GitGutter Deleted + scope: markup.deleted.git_gutter + settings: + foreground: '#FF5370' diff --git a/schemes/Material-Theme-Darker.tmTheme b/schemes/Material-Theme-Darker.tmTheme index 5442d69ec..248ff049c 100644 --- a/schemes/Material-Theme-Darker.tmTheme +++ b/schemes/Material-Theme-Darker.tmTheme @@ -82,7 +82,7 @@ name Invalid scope - invalid + invalid, invalid.illegal, invalid.broken settings background @@ -91,6 +91,19 @@ #ffffff + + name + Unimplemented + scope + invalid.unimplemented + settings + + background + #C3E88D + foreground + #ffffff + + name Invalid deprecated @@ -841,6 +854,39 @@ #65737e + + name + GitGutter Inserted + scope + markup.inserted.git_gutter + settings + + foreground + #C3E88D + + + + name + GitGutter Changed + scope + markup.changed.git_gutter + settings + + foreground + #FFCB6B + + + + name + GitGutter Deleted + scope + markup.deleted.git_gutter + settings + + foreground + #FF5370 + + uuid 4F44C0F5-1F8D-4C52-8BAB-F0951904C1EC diff --git a/schemes/Material-Theme-Lighter.YAML-tmTheme b/schemes/Material-Theme-Lighter.YAML-tmTheme index 1c61fa30c..64183da9c 100755 --- a/schemes/Material-Theme-Lighter.YAML-tmTheme +++ b/schemes/Material-Theme-Lighter.YAML-tmTheme @@ -62,11 +62,17 @@ settings: foreground: '#ffffff' - name: Invalid - scope: invalid + scope: invalid, invalid.illegal, invalid.broken settings: foreground: '#ffffff' background: '#E53935' +- name: Unimplemented + scope: invalid.unimplemented + settings: + foreground: '#ffffff' + background: '#91B859' + - name: Invalid deprecated scope: invalid.deprecated settings: @@ -427,3 +433,18 @@ settings: scope: markup.untracked.git_gutter settings: foreground: '#E7EAEC' + +- name: GitGutter Inserted + scope: markup.inserted.git_gutter + settings: + foreground: '#91B859' + +- name: GitGutter Changed + scope: markup.changed.git_gutter + settings: + foreground: '#FFC000' + +- name: GitGutter Deleted + scope: markup.deleted.git_gutter + settings: + foreground: '#E53935' diff --git a/schemes/Material-Theme-Lighter.tmTheme b/schemes/Material-Theme-Lighter.tmTheme index 72efe844d..8a5131058 100644 --- a/schemes/Material-Theme-Lighter.tmTheme +++ b/schemes/Material-Theme-Lighter.tmTheme @@ -82,7 +82,7 @@ name Invalid scope - invalid + invalid, invalid.illegal, invalid.broken settings background @@ -91,6 +91,19 @@ #ffffff + + name + Unimplemented + scope + invalid.unimplemented + settings + + background + #91B859 + foreground + #ffffff + + name Invalid deprecated @@ -841,6 +854,39 @@ #E7EAEC + + name + GitGutter Inserted + scope + markup.inserted.git_gutter + settings + + foreground + #91B859 + + + + name + GitGutter Changed + scope + markup.changed.git_gutter + settings + + foreground + #FFC000 + + + + name + GitGutter Deleted + scope + markup.deleted.git_gutter + settings + + foreground + #E53935 + + uuid 133d1250-19c6-4565-bc93-b37fd36f7fc9 diff --git a/schemes/Material-Theme.YAML-tmTheme b/schemes/Material-Theme.YAML-tmTheme index e814e7899..016894153 100755 --- a/schemes/Material-Theme.YAML-tmTheme +++ b/schemes/Material-Theme.YAML-tmTheme @@ -62,11 +62,17 @@ settings: foreground: '#ffffff' - name: Invalid - scope: invalid + scope: invalid, invalid.illegal, invalid.broken settings: foreground: '#ffffff' background: '#FF5370' +- name: Unimplemented + scope: invalid.unimplemented + settings: + foreground: '#ffffff' + background: '#C3E88D' + - name: Invalid deprecated scope: invalid.deprecated settings: @@ -427,3 +433,18 @@ settings: scope: markup.untracked.git_gutter settings: foreground: '#65737e' + +- name: GitGutter Inserted + scope: markup.inserted.git_gutter + settings: + foreground: '#C3E88D' + +- name: GitGutter Changed + scope: markup.changed.git_gutter + settings: + foreground: '#FFCB6B' + +- name: GitGutter Deleted + scope: markup.deleted.git_gutter + settings: + foreground: '#FF5370' diff --git a/schemes/Material-Theme.tmTheme b/schemes/Material-Theme.tmTheme index 1a90d20a9..319e374dc 100644 --- a/schemes/Material-Theme.tmTheme +++ b/schemes/Material-Theme.tmTheme @@ -82,7 +82,7 @@ name Invalid scope - invalid + invalid, invalid.illegal, invalid.broken settings background @@ -91,6 +91,19 @@ #ffffff + + name + Unimplemented + scope + invalid.unimplemented + settings + + background + #C3E88D + foreground + #ffffff + + name Invalid deprecated @@ -841,6 +854,39 @@ #65737e + + name + GitGutter Inserted + scope + markup.inserted.git_gutter + settings + + foreground + #C3E88D + + + + name + GitGutter Changed + scope + markup.changed.git_gutter + settings + + foreground + #FFCB6B + + + + name + GitGutter Deleted + scope + markup.deleted.git_gutter + settings + + foreground + #FF5370 + + uuid 133d1250-19c6-4565-bc93-b37fd36f7fc9 diff --git a/src/schemes/scheme.YAML-tmTheme b/src/schemes/scheme.YAML-tmTheme index c9eb74e48..948946453 100755 --- a/src/schemes/scheme.YAML-tmTheme +++ b/src/schemes/scheme.YAML-tmTheme @@ -62,11 +62,17 @@ settings: foreground: '<%= scheme.base.white %>' - name: Invalid - scope: invalid + scope: invalid, invalid.illegal, invalid.broken settings: foreground: '<%= scheme.base.white %>' background: '<%= scheme.base.red %>' +- name: Unimplemented + scope: invalid.unimplemented + settings: + foreground: '<%= scheme.base.white %>' + background: '<%= scheme.base.green %>' + - name: Invalid deprecated scope: invalid.deprecated settings: @@ -427,3 +433,18 @@ settings: scope: markup.untracked.git_gutter settings: foreground: '<%= scheme.invisibles %>' + +- name: GitGutter Inserted + scope: markup.inserted.git_gutter + settings: + foreground: '<%= scheme.base.green %>' + +- name: GitGutter Changed + scope: markup.changed.git_gutter + settings: + foreground: '<%= scheme.base.yellow %>' + +- name: GitGutter Deleted + scope: markup.deleted.git_gutter + settings: + foreground: '<%= scheme.base.red %>'