Skip to content

Instantly share code, notes, and snippets.

@glebsexy
Last active September 12, 2019 21:42
Show Gist options
  • Save glebsexy/cc34e4f29c6b07bdbff1c494c829e559 to your computer and use it in GitHub Desktop.
Save glebsexy/cc34e4f29c6b07bdbff1c494c829e559 to your computer and use it in GitHub Desktop.
Dark Figma color scheme for Sublime Text 3
{
"name": "Figma",
"author": "Gleb Sabirzyanov",
"variables":
{
"black": "#000000",
"blue": "#1ABCFE",
"blue2": "#A259FF",
"blue3": "#A259FF",
"blue4": "#A259FF",
"blue5": "#A259FF",
"blue6": "#5551FF",
"green": "#0ACF83",
"grey": "#696969",
"orange": "#FF7262",
"orange2": "#FF7262",
"orange3": "#FF7262",
"pink": "#A259FF",
"red": "#F24E1E",
"red2": "#F24E1E",
"white": "#FFFFFF",
"white2": "#FFFFFF",
"white3": "#FFFFFF"
},
"globals":
{
"foreground": "var(green)",
"background": "var(black)",
"caret": "var(orange)",
"line_highlight": "var(orange)",
"selection": "color(var(white) alpha(0.0))",
"selection_border": "var(blue)",
"selection_border_width": "2",
"selection_corner_style": "square",
"inactive_selection": "color(var(white) alpha(0.20))",
"misspelling": "var(red)",
"shadow": "color(var(black) alpha(0.25))",
"active_guide": "var(blue5)",
"stack_guide": "color(var(blue6) alpha(1))",
"highlight": "var(blue)",
"find_highlight_foreground": "var(orange)",
"find_highlight": "color(var(white) alpha(0.30))",
"brackets_options": "underline foreground",
"brackets_foreground": "var(red)",
"bracket_contents_options": "underline",
"bracket_contents_foreground": "var(blue5)",
"tags_options": "stippled_underline",
"tags_foreground": "var(pink)"
},
"rules":
[
{
"name": "Comment",
"scope": "comment, punctuation.definition.comment",
"foreground": "var(blue6)",
"font_style": "italic"
},
{
"name": "String",
"scope": "string",
"foreground": "var(green)"
},
{
"name": "Punctuation",
"scope": "punctuation.definition",
"foreground": "var(blue)"
},
{
"name": "Number",
"scope": "constant.numeric",
"foreground": "var(orange)"
},
{
"name": "Built-in constant",
"scope": "constant.language",
"foreground": "var(red)",
"font_style": "italic"
},
{
"name": "User-defined constant",
"scope": "constant.character, constant.other",
"foreground": "var(red)"
},
{
"name": "Member Variable",
"scope": "variable.member",
"foreground": "var(red)"
},
{
"name": "Keyword",
"scope": "keyword - keyword.operator, keyword.operator.word",
"foreground": "var(pink)",
"font_style": "italic"
},
{
"name": "Operators",
"scope": "keyword.operator",
"foreground": "var(red2)"
},
{
"name": "Punctuation",
"scope": "punctuation.separator, punctuation.terminator",
"foreground": "var(white)"
},
{
"name": "Punctuation",
"scope": "punctuation.section",
"foreground": "var(blue)"
},
{
"name": "Accessor",
"scope": "punctuation.accessor",
"foreground": "var(white)"
},
{
"name": "Annotation Punctuation",
"scope": "punctuation.definition.annotation",
"foreground": "var(blue)"
},
{
"name": "JavaScript Dollar",
"scope": "variable.other.dollar.only.js, variable.other.object.dollar.only.js, variable.type.dollar.only.js, support.class.dollar.only.js",
"foreground": "var(blue)"
},
{
"name": "Storage",
"scope": "storage",
"foreground": "var(red)"
},
{
"name": "Storage type",
"scope": "storage.type",
"foreground": "var(pink)",
"font_style": "italic"
},
{
"name": "Entity name",
"scope": "entity.name.function, entity.other.attribute-name",
"foreground": "var(red)"
},
{
"name": "Param name",
"scope": "variable.other",
"foreground": "var(white)"
},
{
"name": "Entity name",
"scope": "entity.name - (entity.name.section | entity.name.tag | entity.name.label)",
"foreground": "var(orange)"
},
{
"name": "Inherited class",
"scope": "entity.other.inherited-class",
"foreground": "var(blue5)",
"font_style": "italic underline"
},
{
"name": "Function argument",
"scope": "variable.parameter",
"foreground": "var(green)"
},
{
"name": "Language variable",
"scope": "variable.language",
"foreground": "var(red)",
"font_style": "italic"
},
{
"name": "Tag name",
"scope": "entity.name.tag",
"foreground": "var(red)"
},
{
"name": "Tag attribute",
"scope": "entity.other.attribute-name",
"foreground": "var(pink)"
},
{
"name": "Function call",
"scope": "variable.function, variable.annotation",
"foreground": "var(blue)"
},
{
"name": "Library function",
"scope": "support.function, support.macro",
"foreground": "var(blue)",
"font_style": "italic"
},
{
"name": "Library constant",
"scope": "support.constant",
"foreground": "var(red)",
"font_style": "italic"
},
{
"name": "Library class/type",
"scope": "support.type, support.class",
"foreground": "var(blue)",
"font_style": "italic"
},
{
"name": "Invalid",
"scope": "invalid",
"foreground": "var(white2)",
"background": "var(red)"
},
{
"name": "Invalid deprecated",
"scope": "invalid.deprecated",
"foreground": "var(white2)",
"background": "var(orange2)"
},
{
"name": "YAML Key",
"scope": "entity.name.tag.yaml",
"foreground": "var(blue5)"
},
{
"name": "YAML String",
"scope": "source.yaml string.unquoted",
"foreground": "var(white3)"
},
{
"name": "markup headings",
"scope": "markup.heading",
"font_style": "bold"
},
{
"name": "markup headings",
"scope": "markup.heading punctuation.definition.heading",
"foreground": "var(red2)"
},
{
"name": "markup h1",
"scope": "markup.heading.1 punctuation.definition.heading",
"foreground": "var(red)"
},
{
"name": "markup links",
"scope": "string.other.link, markup.underline.link",
"foreground": "var(blue)"
},
{
"name": "markup bold",
"scope": "markup.bold",
"font_style": "bold"
},
{
"name": "markup italic",
"scope": "markup.italic",
"font_style": "italic"
},
{
"name": "markup bold/italic",
"scope": "markup.italic markup.bold | markup.bold markup.italic",
"font_style": "bold italic"
},
{
"name": "markup hr",
"scope": "punctuation.definition.thematic-break",
"foreground": "var(orange)"
},
{
"name": "markup numbered list bullet",
"scope": "markup.list.numbered.bullet",
"foreground": "var(green)"
},
{
"name": "markup blockquote",
"scope": "markup.quote punctuation.definition.blockquote, markup.list punctuation.definition.list_item",
"foreground": "var(orange)"
},
{
"name": "markup code",
"scope": "markup.raw",
"background": "color(var(blue2) alpha(0.38))"
},
{
"name": "markup code",
"scope": "markup.raw.inline",
"background": "color(var(blue2) alpha(0.5))"
},
{
"name": "markup punctuation",
"scope": "(text punctuation.definition.italic | text punctuation.definition.bold)",
"foreground": "var(pink)"
},
{
"name": "diff.header",
"scope": "meta.diff, meta.diff.header",
"foreground": "var(pink)"
},
{
"name": "diff.deleted",
"scope": "markup.deleted",
"foreground": "var(red)"
},
{
"name": "diff.inserted",
"scope": "markup.inserted",
"foreground": "var(green)"
},
{
"name": "diff.changed",
"scope": "markup.changed",
"foreground": "var(orange)"
},
{
"name": "CSS Properties",
"scope": "support.type.property-name",
"foreground": "var(white3)"
},
{
"scope": "constant.numeric.line-number.match",
"foreground": "var(red)"
},
{
"scope": "message.error",
"foreground": "var(red)"
},
{
"scope": "diff.deleted",
"background": "hsla(357, 45%, 60%, 0.15)",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.deleted.char",
"background": "hsla(357, 60%, 60%, 0.30)",
"foreground_adjust": "l(+ 10%)"
},
{
"scope": "diff.inserted",
"background": "hsla(180, 45%, 60%, 0.15)",
"foreground_adjust": "l(+ 5%)"
},
{
"scope": "diff.inserted.char",
"background": "hsla(180, 60%, 60%, 0.30)",
"foreground_adjust": "l(+ 10%)"
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment