Skip to content

Instantly share code, notes, and snippets.

@Pr1meSuspec7
Created March 5, 2024 13:42
Show Gist options
  • Select an option

  • Save Pr1meSuspec7/68c904c4519504efc57e74d04153a17e to your computer and use it in GitHub Desktop.

Select an option

Save Pr1meSuspec7/68c904c4519504efc57e74d04153a17e to your computer and use it in GitHub Desktop.
Sublime Text 4.x | Color settings for "Compare Side-By-Side" package
// Correct color/scope for "Compare Side-By-Side" plugin
// Install: Preferences > Customize Color Scheme > paste this on the right side > save
// Documentation at https://www.sublimetext.com/docs/color_schemes.html
{
"variables":
{
},
"globals":
{
},
"rules":
[
{
"scope": "diff.deleted.sbs-compare",
"background": "hsla(360, 60%, 40%, 0.55)",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.deleted.char.sbs-compare",
"background": "hsla(360, 70%, 50%, 0.90)",
"foreground_adjust": "l(+ 10%)"
},
{
"scope": "diff.inserted.sbs-compare",
"background": "hsla(180, 60%, 40%, 0.35)",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.inserted.char.sbs-compare",
"background": "hsla(180, 45%, 60%, 0.70)",
"foreground_adjust": "l(+ 10%)"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment