Skip to content

Commit

Permalink
#84 add scopes for Sublime Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
braver committed Feb 28, 2021
1 parent f88124c commit 0f8a0f4
Show file tree
Hide file tree
Showing 2 changed files with 168 additions and 0 deletions.
84 changes: 84 additions & 0 deletions Solarized (dark).sublime-color-scheme
Expand Up @@ -528,6 +528,90 @@
"name": "JavaScript Variables",
"scope": "variable.other.readwrite.js, variable.other.object.js, variable.other.constant.js",
"foreground": "var(base0)"
},

// Sublime Merge
{
"scope": "diff.deleted",
"background": "color(var(red) alpha(0.24))",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.deleted.char",
"background": "color(var(red) alpha(0.36))",
"foreground_adjust": "l(+ 10%)"
},
{
"scope": "diff.inserted",
"background": "color(var(green) alpha(0.24))",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.inserted.char",
"background": "color(var(green) alpha(0.36))",
"foreground_adjust": "l(+ 10%)"
},
{
"scope": "diff.deleted.side-by-side",
"background": "color(var(red) alpha(0.24))",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.inserted.side-by-side",
"background": "color(var(green) alpha(0.24))",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.fill",
"background": "color(var(base3) alpha(0.36))",
},
{
"scope": "diff.inserted.merge-left",
"background": "color(var(green) alpha(0.24))",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.inserted.char.merge-left",
"background": "color(var(red) alpha(0.36))",
"foreground_adjust": "l(+ 10%)"
},
{
"scope": "diff.border.merge-left",
"background": "color(var(blue) alpha(0.5))",
},
{
"scope": "diff.inserted.merge-right",
"background": "color(var(green) alpha(0.24))",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.inserted.char.merge-right",
"background": "color(var(base3) alpha(0.36))",
"foreground_adjust": "l(+ 10%)"
},
{
"scope": "diff.border.merge-right",
"background": "color(var(blue) alpha(0.5))",
},
{
"scope": "diff.border.merge-conflict",
"background": "color(var(red) alpha(0.5))",
},
{
"scope": "diff.border.merge-merged",
"background": "color(var(yellow) alpha(0.5))",
},
{
"scope": "blame.border",
"background": "color(var(cyan) alpha(0.5))",
},
{
"scope": "blame.age-icon",
"foreground": "color(var(base02) alpha(1))",
},
{
"scope": "source.sublime-merge.preferences.git_binary",
"foreground": "color(var(base02) alpha(1))",
}
]
}
84 changes: 84 additions & 0 deletions Solarized (light).sublime-color-scheme
Expand Up @@ -528,6 +528,90 @@
"name": "JavaScript Variables",
"scope": "variable.other.readwrite.js, variable.other.object.js, variable.other.constant.js",
"foreground": "var(base00)"
},

// Sublime Merge
{
"scope": "diff.deleted",
"background": "color(var(red) alpha(0.1))",
"foreground_adjust": "l(- 5%)"
},
{
"scope": "diff.deleted.char",
"background": "color(var(red) alpha(0.2))",
"foreground_adjust": "l(- 10%)"
},
{
"scope": "diff.inserted",
"background": "color(var(green) alpha(0.1))",
"foreground_adjust": "l(- 5%)"
},
{
"scope": "diff.inserted.char",
"background": "color(var(green) alpha(0.2))",
"foreground_adjust": "l(- 10%)"
},
{
"scope": "diff.deleted.side-by-side",
"background": "color(var(red) alpha(0.1))",
"foreground_adjust": "l(- 5%)"
},
{
"scope": "diff.inserted.side-by-side",
"background": "color(var(green) alpha(0.1))",
"foreground_adjust": "l(- 5%)"
},
{
"scope": "diff.fill",
"background": "color(var(base3) alpha(0.2))",
},
{
"scope": "diff.inserted.merge-left",
"background": "color(var(green) alpha(0.1))",
"foreground_adjust": "l(- 5%)"
},
{
"scope": "diff.inserted.char.merge-left",
"background": "color(var(red) alpha(0.2))",
"foreground_adjust": "l(- 10%)"
},
{
"scope": "diff.border.merge-left",
"background": "color(var(blue) alpha(0.5))",
},
{
"scope": "diff.inserted.merge-right",
"background": "color(var(green) alpha(0.1))",
"foreground_adjust": "l(- 5%)"
},
{
"scope": "diff.inserted.char.merge-right",
"background": "color(var(base3) alpha(0.2))",
"foreground_adjust": "l(- 10%)"
},
{
"scope": "diff.border.merge-right",
"background": "color(var(blue) alpha(0.5))",
},
{
"scope": "diff.border.merge-conflict",
"background": "color(var(red) alpha(0.5))",
},
{
"scope": "diff.border.merge-merged",
"background": "color(var(yellow) alpha(0.5))",
},
{
"scope": "blame.border",
"background": "color(var(cyan) alpha(0.5))",
},
{
"scope": "blame.age-icon",
"foreground": "color(var(base02) alpha(1))",
},
{
"scope": "source.sublime-merge.preferences.git_binary",
"foreground": "color(var(base02) alpha(1))",
}
]
}

0 comments on commit 0f8a0f4

Please sign in to comment.