Skip to content

Commit 0f8a0f4

Browse files
committed
#84 add scopes for Sublime Merge
1 parent f88124c commit 0f8a0f4

2 files changed

Lines changed: 168 additions & 0 deletions

File tree

Solarized (dark).sublime-color-scheme

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,90 @@
528528
"name": "JavaScript Variables",
529529
"scope": "variable.other.readwrite.js, variable.other.object.js, variable.other.constant.js",
530530
"foreground": "var(base0)"
531+
},
532+
533+
// Sublime Merge
534+
{
535+
"scope": "diff.deleted",
536+
"background": "color(var(red) alpha(0.24))",
537+
"foreground_adjust": "l(+ 5%)"
538+
},
539+
{
540+
"scope": "diff.deleted.char",
541+
"background": "color(var(red) alpha(0.36))",
542+
"foreground_adjust": "l(+ 10%)"
543+
},
544+
{
545+
"scope": "diff.inserted",
546+
"background": "color(var(green) alpha(0.24))",
547+
"foreground_adjust": "l(+ 5%)"
548+
},
549+
{
550+
"scope": "diff.inserted.char",
551+
"background": "color(var(green) alpha(0.36))",
552+
"foreground_adjust": "l(+ 10%)"
553+
},
554+
{
555+
"scope": "diff.deleted.side-by-side",
556+
"background": "color(var(red) alpha(0.24))",
557+
"foreground_adjust": "l(+ 5%)"
558+
},
559+
{
560+
"scope": "diff.inserted.side-by-side",
561+
"background": "color(var(green) alpha(0.24))",
562+
"foreground_adjust": "l(+ 5%)"
563+
},
564+
{
565+
"scope": "diff.fill",
566+
"background": "color(var(base3) alpha(0.36))",
567+
},
568+
{
569+
"scope": "diff.inserted.merge-left",
570+
"background": "color(var(green) alpha(0.24))",
571+
"foreground_adjust": "l(+ 5%)"
572+
},
573+
{
574+
"scope": "diff.inserted.char.merge-left",
575+
"background": "color(var(red) alpha(0.36))",
576+
"foreground_adjust": "l(+ 10%)"
577+
},
578+
{
579+
"scope": "diff.border.merge-left",
580+
"background": "color(var(blue) alpha(0.5))",
581+
},
582+
{
583+
"scope": "diff.inserted.merge-right",
584+
"background": "color(var(green) alpha(0.24))",
585+
"foreground_adjust": "l(+ 5%)"
586+
},
587+
{
588+
"scope": "diff.inserted.char.merge-right",
589+
"background": "color(var(base3) alpha(0.36))",
590+
"foreground_adjust": "l(+ 10%)"
591+
},
592+
{
593+
"scope": "diff.border.merge-right",
594+
"background": "color(var(blue) alpha(0.5))",
595+
},
596+
{
597+
"scope": "diff.border.merge-conflict",
598+
"background": "color(var(red) alpha(0.5))",
599+
},
600+
{
601+
"scope": "diff.border.merge-merged",
602+
"background": "color(var(yellow) alpha(0.5))",
603+
},
604+
{
605+
"scope": "blame.border",
606+
"background": "color(var(cyan) alpha(0.5))",
607+
},
608+
{
609+
"scope": "blame.age-icon",
610+
"foreground": "color(var(base02) alpha(1))",
611+
},
612+
{
613+
"scope": "source.sublime-merge.preferences.git_binary",
614+
"foreground": "color(var(base02) alpha(1))",
531615
}
532616
]
533617
}

Solarized (light).sublime-color-scheme

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,90 @@
528528
"name": "JavaScript Variables",
529529
"scope": "variable.other.readwrite.js, variable.other.object.js, variable.other.constant.js",
530530
"foreground": "var(base00)"
531+
},
532+
533+
// Sublime Merge
534+
{
535+
"scope": "diff.deleted",
536+
"background": "color(var(red) alpha(0.1))",
537+
"foreground_adjust": "l(- 5%)"
538+
},
539+
{
540+
"scope": "diff.deleted.char",
541+
"background": "color(var(red) alpha(0.2))",
542+
"foreground_adjust": "l(- 10%)"
543+
},
544+
{
545+
"scope": "diff.inserted",
546+
"background": "color(var(green) alpha(0.1))",
547+
"foreground_adjust": "l(- 5%)"
548+
},
549+
{
550+
"scope": "diff.inserted.char",
551+
"background": "color(var(green) alpha(0.2))",
552+
"foreground_adjust": "l(- 10%)"
553+
},
554+
{
555+
"scope": "diff.deleted.side-by-side",
556+
"background": "color(var(red) alpha(0.1))",
557+
"foreground_adjust": "l(- 5%)"
558+
},
559+
{
560+
"scope": "diff.inserted.side-by-side",
561+
"background": "color(var(green) alpha(0.1))",
562+
"foreground_adjust": "l(- 5%)"
563+
},
564+
{
565+
"scope": "diff.fill",
566+
"background": "color(var(base3) alpha(0.2))",
567+
},
568+
{
569+
"scope": "diff.inserted.merge-left",
570+
"background": "color(var(green) alpha(0.1))",
571+
"foreground_adjust": "l(- 5%)"
572+
},
573+
{
574+
"scope": "diff.inserted.char.merge-left",
575+
"background": "color(var(red) alpha(0.2))",
576+
"foreground_adjust": "l(- 10%)"
577+
},
578+
{
579+
"scope": "diff.border.merge-left",
580+
"background": "color(var(blue) alpha(0.5))",
581+
},
582+
{
583+
"scope": "diff.inserted.merge-right",
584+
"background": "color(var(green) alpha(0.1))",
585+
"foreground_adjust": "l(- 5%)"
586+
},
587+
{
588+
"scope": "diff.inserted.char.merge-right",
589+
"background": "color(var(base3) alpha(0.2))",
590+
"foreground_adjust": "l(- 10%)"
591+
},
592+
{
593+
"scope": "diff.border.merge-right",
594+
"background": "color(var(blue) alpha(0.5))",
595+
},
596+
{
597+
"scope": "diff.border.merge-conflict",
598+
"background": "color(var(red) alpha(0.5))",
599+
},
600+
{
601+
"scope": "diff.border.merge-merged",
602+
"background": "color(var(yellow) alpha(0.5))",
603+
},
604+
{
605+
"scope": "blame.border",
606+
"background": "color(var(cyan) alpha(0.5))",
607+
},
608+
{
609+
"scope": "blame.age-icon",
610+
"foreground": "color(var(base02) alpha(1))",
611+
},
612+
{
613+
"scope": "source.sublime-merge.preferences.git_binary",
614+
"foreground": "color(var(base02) alpha(1))",
531615
}
532616
]
533617
}

0 commit comments

Comments
 (0)