These are defined in the color scheme, specifically in Default/Mariana.sublime-color-scheme
when using the dark theme (note this is not the normal Mariana file, which lives under Color Scheme - Default
. These rules live in an override file due to history, so we didn’t disturb the default color schemes during internal development.
I’ve attached a copy of the file below, so you don’t have to go digging around for it. If you want to customize the rules, place a file named Mariana.sublime-color-scheme
in your User package (accessible via Browse Packages
in the Preferences
menu).
A minimal example:
{
"rules":
[
{
"scope": "diff.deleted",
"background": "pink",
}
]
}
What gets shipped with Sublime Merge, for reference:
{
"rules":
[
{
"scope": "diff.deleted",
"background": "hsla(357, 25%, 60%, 0.15)",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.deleted.side-by-side",
"background": "hsl(210, 15%, 27%)",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.deleted.char",
"background": "hsla(357, 40%, 60%, 0.30)",
"foreground_adjust": "l(+ 10%)"
},
{
"scope": "diff.inserted",
"background": "hsla(180, 25%, 60%, 0.15)",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.inserted.side-by-side",
"background": "hsl(210, 15%, 27%)",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.inserted.char",
"background": "hsla(180, 40%, 60%, 0.30)",
"foreground_adjust": "l(+ 10%)"
},
{
"scope": "diff.fill",
"background": "hsl(210, 15%, 27%)",
},
{
"scope": "diff.inserted.merge-left",
"background": "hsla(180, 25%, 60%, 0.15)",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.inserted.char.merge-left",
"background": "hsla(180, 40%, 60%, 0.30)",
"foreground_adjust": "l(+ 10%)"
},
{
"scope": "diff.border.merge-left",
"background": "hsla(180, 40%, 60%, 0.50)",
},
{
"scope": "diff.inserted.merge-right",
"background": "hsla(60, 25%, 40%, 0.15)",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.inserted.char.merge-right",
"background": "hsla(60, 40%, 60%, 0.30)",
"foreground_adjust": "l(+ 10%)"
},
{
"scope": "diff.border.merge-right",
"background": "hsla(60, 60%, 60%, 0.50)",
},
{
"scope": "diff.border.merge-conflict",
"background": "hsla(357, 75%, 65%, 0.50)",
},
{
"scope": "diff.border.merge-merged",
"background": "hsla(180, 10%, 70%, 0.30)",
},
{
"scope": "blame.border",
"background": "hsl(210, 13%, 30%)",
},
{
"scope": "blame.age-icon",
"foreground": "white",
},
]
}