Skip to content

Commit

Permalink
fix: small fix on adjust color diff
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroreisvieira committed Mar 6, 2020
1 parent 54f641a commit 05a4714
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
10 changes: 4 additions & 6 deletions schemes/Scheme-Example.sublime-color-scheme
Original file line number Diff line number Diff line change
Expand Up @@ -569,26 +569,24 @@
{
"name": "DIFF - Deleted",
"scope": "diff.deleted",
"background": "color(var(red) alpha(0.10))",
"background": "color(var(red) alpha(0.20))",
"foreground_adjust": "l(+ 5%)"
},
{
"name": "DIFF - Deleted Char",
"scope": "diff.deleted.char",
"background": "color(var(red) alpha(0.10))",
"foreground_adjust": "l(+ 10%)"
"background": "color(var(red) alpha(0.20))"
},
{
"name": "DIFF - Inserted",
"scope": "diff.inserted",
"background": "color(var(green) alpha(0.10))",
"background": "color(var(green) alpha(0.20))",
"foreground_adjust": "l(+ 5%)"
},
{
"name": "DIFF - Inserted Char",
"scope": "diff.inserted.char",
"background": "color(var(green) alpha(0.10))",
"foreground_adjust": "l(+ 10%)"
"background": "color(var(green) alpha(0.20))"
},
{
"name": "JS - Console, \"console\"",
Expand Down
8 changes: 4 additions & 4 deletions src/specific/diff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@ export default [
name: 'DIFF - Deleted',
scope: ['diff.deleted'],
settings: {
background: 'color(var(red) alpha(0.10))',
background: 'color(var(red) alpha(0.20))',
foreground_adjust: 'l(+ 5%)',
},
},
{
name: 'DIFF - Deleted Char',
scope: ['diff.deleted.char'],
settings: {
background: 'color(var(red) alpha(0.10))',
background: 'color(var(red) alpha(0.20))',
foreground_adjust: 'l(+ 10%)',
},
},
{
name: 'DIFF - Inserted',
scope: ['diff.inserted'],
settings: {
background: 'color(var(green) alpha(0.10))',
background: 'color(var(green) alpha(0.20))',
foreground_adjust: 'l(+ 5%)',
},
},
{
name: 'DIFF - Inserted Char',
scope: ['diff.inserted.char'],
settings: {
background: 'color(var(green) alpha(0.10))',
background: 'color(var(green) alpha(0.20))',
foreground_adjust: 'l(+ 10%)',
},
},
Expand Down

0 comments on commit 05a4714

Please sign in to comment.