Skip to content

Instantly share code, notes, and snippets.

@michaelblyons
Last active November 21, 2025 15:18
Show Gist options
  • Select an option

  • Save michaelblyons/fef878a87b79621f92e4df6bfe071dbb to your computer and use it in GitHub Desktop.

Select an option

Save michaelblyons/fef878a87b79621f92e4df6bfe071dbb to your computer and use it in GitHub Desktop.
Mariana color scheme overrides
{
// Refs:
// - https://www.sublimetext.com/docs/color_schemes.html
// - https://github.com/twolfson/sublime-files/blob/master/Packages/Color%20Scheme%20-%20Default/Mariana.sublime-color-scheme
"variables": {
"white4": "hsl(0, 0%, 70%)",
},
"globals": {
"brackets_options": "bold glow",
"tags_options": "glow",
"tags_foreground": "var(orange)",
},
"rules": [
// Generic tweaks
{
"name": "Brackets",
"scope": "punctuation.section",
"foreground": "var(white4)",
},
{
"name": "Variables",
"scope": "variable.other - entity.name",
"foreground": "var(white3)",
},
{
// Are these obsolete? I hope so.
"name": "More constant variables",
"scope": "variable.other.predefined",
"foreground": "var(red)",
},
{
"name": "Section headings",
"scope": "entity.name.section",
"font_style": "bold",
},
{
"name": "Wildcards",
"scope": "constant.other.wildcard",
"foreground": "var(red2)",
},
{
"name": "Number Bases",
"scope": "punctuation.definition.numeric.base",
"foreground": "color(var(orange) a(- 20%))",
// "foreground_adjust": "a(- 20%)",
// "foreground_adjust": "l(+ 20%)",
},
{
"name": "Underlines",
"scope": "markup.underline",
"font_style": "underline",
},
{
"name": "String Key",
"scope": "meta.mapping.key string - meta.mapping.key meta meta | meta.mapping.key meta.mapping.key string - meta.mapping.key meta.mapping.key meta meta",
// "foreground": "var(blue5)",
"foreground": "var(orange)",
},
// Background tinting
{
"name": "Tint string background",
"scope": "string - markup.raw, constant.character.cs",
"background": "color(var(blue3) blend(var(green) 96%))"
},
{
"name": "Tint embed background",
"scope": "source source, text source",
"background": "color(var(blue3) l(+ 3%))"
},
{
"name": "Tint string background in embeds",
"scope": "source source string, text source string",
"background": "color(var(blue3) blend(var(green) 96%) l(+ 3%))"
},
// Diffs
{
"name": "Diff Hunk headers",
"scope": "source.diff entity.name.section",
"foreground": "var(orange3)",
},
{
"name": "Diff File names",
"scope": "source.diff meta.path string",
"foreground": "var(orange)",
},
{
"name": "Diff a/b labels",
"scope": "source.diff variable.parameter.source",
"foreground": "var(red)",
},
// Regex
{
"name": "Regex anchors",
"scope": "source.regexp & (keyword.control.anchors | keyword.control.anchor | keyword.other.any)",
"foreground": "var(red)",
},
{
"name": "Regex wildcard dot",
"scope": "source.regexp keyword.other.any",
"foreground": "var(orange2)",
},
{
"name": "Regex assertions (lookahead, etc.)",
"scope": "source.regexp constant.other.assertion",
"foreground": "var(orange)",
},
{
"name": "Regex quantifiers",
"scope": "source.regexp keyword.operator.quantifier",
"foreground": "color(var(blue6) l(- 15%))",
},
{
"name": "Regex backrefs",
"scope": "(source.regexp | source.regexp-replacement) & variable.other.backref-and-recursion",
"font_style": "bold glow",
},
// Miscellaneous language-specific gripes
{
"name": "Find Results filename",
"scope": "text.find-in-files entity.name.filename",
"foreground": "var(red)",
},
{
"name": "SQL tables",
"scope": "constant.other.table-name",
"foreground": "var(orange2)",
},
{
"name": "TypeScript Array type",
"scope": "source.ts meta.type storage.modifier.array",
"foreground": "color(var(red) a(- 30%))",
},
{
"name": "Syntax Definition file paths",
"scope": "support.module.file-path",
"foreground": "var(orange3)"
},
{
"name": "Fix the string color in YAML Pipelines",
"scope": "source.yaml source string.unquoted",
"foreground": "var(green)",
},
],
}
@jrappen
Copy link

jrappen commented Nov 4, 2025

I'll just drop mine as a comparison:

{
    "globals":
    {
        "background": "color(var(blue3) l(- 5%))",
        "line_diff_added": "var(green)",
        "line_diff_modified": "var(blue)",
        "line_diff_deleted": "var(red)",
        "line_diff_width": "5",
        "brackets_options": "glow",
        "bracket_contents_options": "glow",
        "tags_options": "glow"
    },
    "rules":
    [
        {
            "scope": "source.python & (entity.name, support.function)",
            "font_style": "glow"
        },
        {
            "scope": "entity.name.section.sublime-syntax",
            "foreground": "var(orange3)",
            "font_style": "bold underline"
        }
    ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment