1403 lines
35 KiB
TypeScript
1403 lines
35 KiB
TypeScript
import colors from "tailwindcss/colors";
|
|
|
|
const { neutral, rose, orange, amber, green, sky, violet } = colors;
|
|
|
|
const with_opacity = (c: string) => (o?: number) =>
|
|
o === undefined ? c : `color-mix(in oklch, ${c} ${o}%, transparent);`;
|
|
|
|
const ld = (light: string, dark: string) => (o?: number) =>
|
|
`light-dark(${with_opacity(light)(o)}, ${with_opacity(dark)(o)})`;
|
|
const oklch = (l: number, c: number, h: number) => (o?: number) =>
|
|
o === undefined ? `oklch(${l} ${c} ${h}deg)` : `oklch(${l} ${c} ${h}deg / ${o}%)`;
|
|
|
|
const white = oklch(1, 0, 0);
|
|
//const dark1 = oklch(0.24, 0.007, 326);
|
|
//const dark2 = oklch(0.21, 0.004, 308);
|
|
|
|
const base = ld(neutral[50], neutral[950]); // oklch(0.29, 0.008, 318);
|
|
const text = ld(neutral[900], neutral[100]); // oklch(0.99, 0.003, 106);
|
|
|
|
const dimmed1 = ld(neutral[600], neutral[400]); // oklch(0.81, 0.001, 17);
|
|
const dimmed2 = ld(neutral[500], neutral[500]); // oklch(0.66, 0.002, 326);
|
|
const dimmed3 = ld(neutral[400], neutral[600]); // oklch(0.55, 0.004, 326);
|
|
const dimmed4 = ld(neutral[300], neutral[700]); // oklch(0.47, 0.005, 315);
|
|
const dimmed5 = ld(neutral[200], neutral[800]); // oklch(0.37, 0.006, 315);
|
|
|
|
const accent1 = ld(rose[700], rose[400]); // oklch(71.2% 0.194 13.428) <- oklch(0.71, 0.19, 8)
|
|
const accent2 = ld(orange[700], orange[300]); // oklch(83.7% 0.128 66.29) <- oklch(0.77, 0.14, 45)
|
|
const accent3 = ld(amber[700], amber[200]); // oklch(92.4% 0.12 95.746) <- oklch(0.89, 0.14, 90);
|
|
const accent4 = ld(green[700], green[300]); // oklch(87.1% 0.15 154.449) <- oklch(0.84, 0.14, 135)
|
|
const accent5 = ld(sky[700], sky[300]); // oklch(82.8% 0.111 230.318) <- oklch(0.84, 0.1, 210);
|
|
const accent6 = ld(violet[700], violet[300]); // oklch(81.1% 0.111 293.571) <- oklch(0.74, 0.12, 290);
|
|
|
|
export default {
|
|
fg: text(),
|
|
bg: base(),
|
|
name: "void soda",
|
|
type: "dark" as const,
|
|
author: "ana",
|
|
colors: {
|
|
"terminal.ansiBlack": dimmed5(),
|
|
"terminal.ansiBlue": accent2(),
|
|
"terminal.ansiBrightBlack": dimmed3(),
|
|
"terminal.ansiBrightBlue": accent2(),
|
|
"terminal.ansiBrightCyan": accent5(),
|
|
"terminal.ansiBrightGreen": accent4(),
|
|
"terminal.ansiBrightMagenta": accent6(),
|
|
"terminal.ansiBrightRed": accent1(),
|
|
"terminal.ansiBrightWhite": text(),
|
|
"terminal.ansiBrightYellow": accent3(),
|
|
"terminal.ansiCyan": accent5(),
|
|
"terminal.ansiGreen": accent4(),
|
|
"terminal.ansiMagenta": accent6(),
|
|
"terminal.ansiRed": accent1(),
|
|
"terminal.ansiWhite": text(),
|
|
"terminal.ansiYellow": accent3(),
|
|
"terminal.background": dimmed5(),
|
|
"terminal.foreground": text(),
|
|
"terminal.selectionBackground": text(15),
|
|
},
|
|
settings: [
|
|
{
|
|
scope: [
|
|
"comment",
|
|
"comment keyword",
|
|
"comment markup.underline.link",
|
|
"comment string",
|
|
"comment punctuation.definition",
|
|
"comment punctuation",
|
|
"comment text",
|
|
],
|
|
settings: {
|
|
name: "Comments and overrides inside comments",
|
|
fontStyle: "italic",
|
|
foreground: dimmed3(),
|
|
},
|
|
},
|
|
{
|
|
scope: "comment storage.type",
|
|
settings: {
|
|
name: "JSDoc storage type",
|
|
foreground: dimmed3(),
|
|
},
|
|
},
|
|
{
|
|
scope: "comment entity.name.type",
|
|
settings: {
|
|
name: "JSDoc entity name",
|
|
foreground: dimmed1(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["comment variable", "comment variable.other"],
|
|
settings: {
|
|
name: "JSDoc variable",
|
|
foreground: dimmed1(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["comment keyword", "comment entity.name.tag", "entity.name.tag.documentation"],
|
|
settings: {
|
|
name: "PHPDoc keyword",
|
|
foreground: dimmed1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "comment keyword.codetag.notation",
|
|
settings: {
|
|
name: "Comment TODO / FIXME (at least in VSCode Python)",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "comment.git-status.header.remote",
|
|
settings: {
|
|
name: "Git status remote",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "comment.git-status.header.local",
|
|
settings: {
|
|
name: "Git status local",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "comment.other.git-status.head",
|
|
settings: {
|
|
name: "Git status remote",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["string.quoted.docstring", "string.quoted.docstring punctuation.definition"],
|
|
settings: {
|
|
name: "Docstring",
|
|
foreground: dimmed3(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant",
|
|
settings: {
|
|
name: "Constant",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.other",
|
|
settings: {
|
|
name: "Constant",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.other.caps",
|
|
settings: {
|
|
name: "Constant",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.other.placeholder",
|
|
settings: {
|
|
name: "Placeholders",
|
|
foreground: accent2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.other.property",
|
|
settings: {
|
|
name: "Constant as property",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.other.citation.latex",
|
|
settings: {
|
|
name: "Constant in latex",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.other.color",
|
|
settings: {
|
|
name: "Constant as color (in css / sass)",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.other.character-class.escape",
|
|
settings: {
|
|
name: "Constant as character class escape (e.g. in regex)",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.other.key",
|
|
settings: {
|
|
name: "Constant as key (e.g. in puppet manifests)",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.other.symbol",
|
|
settings: {
|
|
name: "Constant as symbol (e.g. in ruby)",
|
|
foreground: accent2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.other.elm",
|
|
settings: {
|
|
name: "Constants in elm",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.numeric",
|
|
settings: {
|
|
name: "Number",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.language",
|
|
settings: {
|
|
name: "Constant",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.character.escape",
|
|
settings: {
|
|
name: "Character escape",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.numeric.line-number.find-in-files",
|
|
settings: {
|
|
name: "Search result line numbers",
|
|
foreground: dimmed4(),
|
|
},
|
|
},
|
|
{
|
|
scope: "constant.numeric.line-number.match.find-in-files",
|
|
settings: {
|
|
name: "Search result matched line numbes",
|
|
foreground: accent3(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name.section",
|
|
settings: {
|
|
name: "Sections",
|
|
foreground: accent3(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["entity.name.function", "entity.name.function.templated", "entity.name.function.member.static"],
|
|
settings: {
|
|
name: "Functions",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["entity.name.type.class.templated", "entity.name.type.class.generic", "entity.name.type.namespace"],
|
|
settings: {
|
|
name: "Class template",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name.label",
|
|
settings: {
|
|
name: "label",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name.function.preprocessor",
|
|
settings: {
|
|
name: "Macros",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name",
|
|
settings: {
|
|
name: "Entity name",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name.class",
|
|
settings: {
|
|
name: "Class name",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name.constant",
|
|
settings: {
|
|
name: "Constant name",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name.namespace",
|
|
settings: {
|
|
name: "Namespace",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.other.inherited-class",
|
|
settings: {
|
|
name: "Inherited class",
|
|
fontStyle: "italic",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name.function",
|
|
settings: {
|
|
name: "Function name",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"entity.name.tag",
|
|
"entity.name.tag.js.jsx support.class.component.js.jsx",
|
|
"entity.name.tag support.class.component",
|
|
"source.vue support.class.component",
|
|
],
|
|
settings: {
|
|
name: "Tag name",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "source.ansible entity.name.tag",
|
|
settings: {
|
|
name: "Tag name (Ansible)",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name.function.operator",
|
|
settings: {
|
|
name: "Operator",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["meta.brackets entity.name.function.operator", "punctuation.separator entity.name.function.operator"],
|
|
settings: {
|
|
name: "Operator",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["entity.name.type", "entity.name.type.class.reference", "entity.name.type.class.value"],
|
|
settings: {
|
|
name: "Entity name type",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.other.attribute-name",
|
|
settings: {
|
|
name: "Tag attribute",
|
|
fontStyle: "italic",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"entity.other.attribute-name.class.css",
|
|
"entity.other.attribute-name.parent-selector-suffix.css",
|
|
"entity.other.attribute-name.parent-selector-suffix.css punctuation.definition.entity.css",
|
|
"entity.other.attribute-name.css",
|
|
"entity.other.animation-name.css",
|
|
],
|
|
settings: {
|
|
name: "CSS class",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.other.attribute-name.id.css",
|
|
settings: {
|
|
name: "CSS id",
|
|
foreground: accent2(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"entity.other.attribute-name.pseudo-class.css",
|
|
"entity.other.pseudo-class.css",
|
|
"entity.other.pseudo-element.css",
|
|
],
|
|
settings: {
|
|
name: "CSS pseudo class",
|
|
fontStyle: "italic",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["entity.name.function", "support.function"],
|
|
settings: {
|
|
name: "Function names / calls",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.other.git-status.hex",
|
|
settings: {
|
|
name: "git status commit hex",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.other.jinja2.delimiter",
|
|
settings: {
|
|
name: "jinja delimiters",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name.operator.custom-literal",
|
|
settings: {
|
|
name: "custom literal",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name.operator.custom-literal.string",
|
|
settings: {
|
|
name: "custom literal string",
|
|
foreground: accent3(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name.operator.custom-literal.number",
|
|
settings: {
|
|
name: "custom literal number",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name.type.rust",
|
|
settings: {
|
|
name: "rust specific",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "entity.name.lifetime.rust",
|
|
settings: {
|
|
name: "rust specific",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "invalid",
|
|
settings: {
|
|
name: "Invalid",
|
|
foreground: accent1(),
|
|
fontStyle: "italic underline",
|
|
},
|
|
},
|
|
{
|
|
scope: "invalid.deprecated",
|
|
settings: {
|
|
name: "Invalid deprecated",
|
|
foreground: accent2(),
|
|
fontStyle: "italic underline",
|
|
},
|
|
},
|
|
{
|
|
scope: "keyword",
|
|
settings: {
|
|
name: "Keyword",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "keyword.control",
|
|
settings: {
|
|
name: "Control keywords examples include if, try, end and while. Some syntaxes prefer to mark if and else with the conditional variant. The import variant is often used in appropriate situations.",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "keyword.control.directive",
|
|
settings: {
|
|
name: "keyword control directive",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["keyword.operator", "keyword.operator.member", "keyword.operator.new"],
|
|
settings: {
|
|
name: "Operator",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "keyword.other.substitution",
|
|
settings: {
|
|
name: "Substitution string",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["keyword.other.template.begin", "keyword.other.template.end"],
|
|
settings: {
|
|
name: "Template literal begin / end",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"keyword.operator.heading.restructuredtext",
|
|
"keyword.operator.table.row.restructuredtext keyword.operator.table.data.restructuredtext",
|
|
],
|
|
settings: {
|
|
name: "RestructuredText heading, table markup",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "keyword.other.parenthesis.elm",
|
|
settings: {
|
|
name: "elm parenthesis",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["keyword.other.fn.rust", "keyword.other.rust", "keyword.other.unsafe.rust", "keyword.other.where.rust"],
|
|
settings: {
|
|
name: "rust specific",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["keyword.control.rust", "keyword.operator.misc.rust"],
|
|
settings: {
|
|
name: "rust specific",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"keyword.declaration.class.ruby",
|
|
"keyword.declaration.function.ruby",
|
|
"keyword.declaration.namespace.ruby",
|
|
],
|
|
settings: {
|
|
name: "ruby specific",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "markup.italic",
|
|
settings: {
|
|
name: "Italic",
|
|
fontStyle: "italic",
|
|
},
|
|
},
|
|
{
|
|
scope: "markup.bold",
|
|
settings: {
|
|
name: "Bold",
|
|
fontStyle: "bold",
|
|
},
|
|
},
|
|
{
|
|
scope: "markup.heading",
|
|
settings: {
|
|
name: "Heading",
|
|
foreground: accent3(),
|
|
},
|
|
},
|
|
{
|
|
scope: "markup.raw",
|
|
settings: {
|
|
name: "Raw",
|
|
foreground: accent2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "markup.underline",
|
|
settings: {
|
|
name: "Underline",
|
|
fontStyle: "underline",
|
|
},
|
|
},
|
|
{
|
|
scope: "markup.underline.link",
|
|
settings: {
|
|
name: "Link",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["markup.inserted", "markup.inserted punctuation.definition.inserted"],
|
|
settings: {
|
|
name: "Diff inserted",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["markup.deleted", "markup.deleted punctuation.definition.deleted"],
|
|
settings: {
|
|
name: "Diff deleted",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["markup.changed", "markup.changed punctuation.definition.changed"],
|
|
settings: {
|
|
name: "Diff changed",
|
|
foreground: accent3(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["markup.ignored", "markup.ignored punctuation.definition.ignored"],
|
|
settings: {
|
|
name: "Diff ignored",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "markup.untracked",
|
|
settings: {
|
|
name: "Diff untracked",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "markup.quote",
|
|
settings: {
|
|
name: "Markup quote",
|
|
fontStyle: "italic",
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"meta.brace.round",
|
|
"meta.brace.square",
|
|
"meta.brace.curly",
|
|
"meta.delimiter.comma.js",
|
|
"meta.function-call.without-arguments.js",
|
|
"meta.function-call.method.without-arguments.js",
|
|
],
|
|
settings: {
|
|
name: "Braces, delimiters",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["meta.function-call.generic.python", "support.function.builtin.python"],
|
|
settings: {
|
|
name: "Function call (vs)",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: "meta.function-call.python meta.function-call.arguments.python",
|
|
settings: {
|
|
name: "Function arguments (vs)",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: "meta.interpolation",
|
|
settings: {
|
|
name: "interpolation strings",
|
|
foreground: accent2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "meta.instance.constructor",
|
|
settings: {
|
|
name: "Constructor (new MyClass())",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["meta.attribute-with-value.class string", "meta.attribute.class.html string"],
|
|
settings: {
|
|
name: "Class string name (i.e. in html attributes)",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["meta.attribute-with-value.id string", "meta.attribute.id.html string"],
|
|
settings: {
|
|
name: "ID string name (i.e. in html attributes)",
|
|
foreground: accent2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "source.json meta.mapping.key string",
|
|
settings: {
|
|
name: "JSON keys",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: "source.yaml meta.mapping.key string",
|
|
settings: {
|
|
name: "YAML keys",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "meta.object.member",
|
|
settings: {
|
|
name: "Object members",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: "meta.property-list.css variable.other",
|
|
settings: {
|
|
name: "SCSS Variable",
|
|
foreground: accent2(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["entity.name.constant.preprocessor", "meta.preprocessor"],
|
|
settings: {
|
|
name: "Preprocessor",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "meta.diff.git-diff.header",
|
|
settings: {
|
|
name: "git diff header",
|
|
foreground: accent3(),
|
|
},
|
|
},
|
|
{
|
|
scope: "meta.type_params.rust",
|
|
settings: {
|
|
name: "rust specific (brackets and certain type names)",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"meta.attribute.rust",
|
|
"meta.annotation.rust",
|
|
"variable.language.rust",
|
|
"variable.annotation.rust",
|
|
"meta.annotation.rust string",
|
|
"meta.annotation.rust keyword",
|
|
"meta.annotation.rust keyword.operator",
|
|
"meta.attribute.rust string",
|
|
],
|
|
settings: {
|
|
name: "rust specific (variable.language.rust is 'self' keyword.",
|
|
foreground: dimmed1(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"meta.type variable",
|
|
"meta.type variable.other.readwrite",
|
|
"variable.annotation",
|
|
"meta.decorator variable.other.readwrite",
|
|
],
|
|
settings: {
|
|
name: "type annotation",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "punctuation",
|
|
settings: {
|
|
name: "Punctuation",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"punctuation.definition.tag",
|
|
"punctuation.definition.tag source",
|
|
"punctuation.definition.group.begin.ruby",
|
|
"punctuation.definition.group.end.ruby",
|
|
"punctuation.definition.group.begin.css",
|
|
"punctuation.definition.group.end.css",
|
|
"punctuation.definition.string.end.html source.css",
|
|
"punctuation.definition.block",
|
|
"punctuation.definition.parameters.begin",
|
|
"punctuation.definition.parameters.end",
|
|
"punctuation.separator.parameter",
|
|
"punctuation.accessor",
|
|
"punctuation.terminator",
|
|
],
|
|
settings: {
|
|
name: "Punctuation tags",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "punctuation.definition.group",
|
|
settings: {
|
|
name: "Group (i.e. in regex)",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: "punctuation.definition.comment",
|
|
settings: {
|
|
name: "Comment start / end",
|
|
foreground: dimmed3(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"punctuation.definition.variable",
|
|
"punctuation.definition.keyword.scss",
|
|
"punctuation.definition.entity.css",
|
|
],
|
|
settings: {
|
|
name: "Variable indicator (i.e. in php or in include directives in sass)",
|
|
foreground: dimmed1(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"punctuation.section.embedded",
|
|
"punctuation.section.embedded entity.name.tag",
|
|
"punctuation.section.embedded constant.other",
|
|
"punctuation.section.embedded source",
|
|
"punctuation.section.embedded.begin",
|
|
],
|
|
settings: {
|
|
name: "Punctuation section embedded (i.e. ?php blocks in html)",
|
|
foreground: accent2(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"punctuation.template-string.element.begin",
|
|
"punctuation.template-string.element.end",
|
|
"punctuation.definition.string.template.begin",
|
|
"punctuation.definition.string.template.end",
|
|
"string.quoted.template punctuation.definition.string.begin",
|
|
"string.quoted.template punctuation.definition.string.end",
|
|
"punctuation.definition.template-expression.begin",
|
|
"punctuation.definition.template-expression.end",
|
|
],
|
|
settings: {
|
|
name: "Punctuation template string (`example`)",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["meta.paragraph.markdown meta.dummy.line-break", "meta.paragraph.markdown meta.hard-line-break.markdown"],
|
|
settings: {
|
|
name: "Punctuation hard line break in Markdown",
|
|
background: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "markup.underline.link punctuation",
|
|
settings: {
|
|
name: "Punctuation in markdown links",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"meta.brace.round",
|
|
"meta.brace.square",
|
|
"keyword.operator.type.annotation",
|
|
"meta.type storage.modifier.array",
|
|
],
|
|
settings: {
|
|
name: "Meta braces",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "region.redish",
|
|
settings: {
|
|
name: "region red color",
|
|
foreground: accent1(),
|
|
background: accent1(35),
|
|
},
|
|
},
|
|
{
|
|
scope: "region.orangish",
|
|
settings: {
|
|
name: "region orange color",
|
|
foreground: accent2(),
|
|
background: accent2(35),
|
|
},
|
|
},
|
|
{
|
|
scope: "region.yellowish",
|
|
settings: {
|
|
name: "region yellow color",
|
|
foreground: accent3(),
|
|
background: accent3(35),
|
|
},
|
|
},
|
|
{
|
|
scope: "region.greenish",
|
|
settings: {
|
|
name: "region green color",
|
|
foreground: accent4(),
|
|
background: accent4(35),
|
|
},
|
|
},
|
|
{
|
|
scope: "region.bluish",
|
|
settings: {
|
|
name: "region blue color",
|
|
foreground: accent5(),
|
|
background: accent5(35),
|
|
},
|
|
},
|
|
{
|
|
scope: "region.purplish",
|
|
settings: {
|
|
name: "region purple color",
|
|
foreground: accent6(),
|
|
background: accent6(35),
|
|
},
|
|
},
|
|
{
|
|
scope: "region.pinkish",
|
|
settings: {
|
|
name: "region pink color",
|
|
foreground: accent1(),
|
|
background: accent1(35),
|
|
},
|
|
},
|
|
{
|
|
scope: "region.whitish",
|
|
settings: {
|
|
name: "White for ST3 for non-colorized scheme",
|
|
foreground: white(),
|
|
},
|
|
},
|
|
{
|
|
scope: "source",
|
|
settings: {
|
|
name: "source",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["source.scss", "source.sass"],
|
|
settings: {
|
|
name: "SASS, SCSS default",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"source.sass variable.other",
|
|
"source.sass variable.sass",
|
|
"source.scss variable.other",
|
|
"source.scss variable.scss",
|
|
"source.scss variable.sass",
|
|
"source.css variable.other",
|
|
"source.css variable.scss",
|
|
"source.less variable.other",
|
|
"source.less variable.other.less",
|
|
"source.less variable.declaration.less",
|
|
],
|
|
settings: {
|
|
name: "SASS, SCSS and LESS variables",
|
|
fontStyle: "italic",
|
|
foreground: accent2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "source.git-show.commit.sha",
|
|
settings: {
|
|
name: "git",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"source.git-show.author",
|
|
"source.git-show.date",
|
|
"source.git-diff.command",
|
|
"source.git-diff.command meta.diff.git-diff.header.from-file",
|
|
"source.git-diff.command meta.diff.git-diff.header.to-file",
|
|
],
|
|
settings: {
|
|
name: "git",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"source.git-show meta.diff.git-diff.header.extended.index.from-sha",
|
|
"source.git-show meta.diff.git-diff.header.extended.index.to-sha",
|
|
],
|
|
settings: {
|
|
name: "git diff header hash",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "source.git-show meta.diff.range.unified",
|
|
settings: {
|
|
name: "git diff header range",
|
|
foreground: accent2(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["source.git-show meta.diff.header.from-file", "source.git-show meta.diff.header.to-file"],
|
|
settings: {
|
|
name: "git diff header files",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "storage",
|
|
settings: {
|
|
name: "Storage",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "storage.type",
|
|
settings: {
|
|
name: "Types and definition / declaration keywords should use the following scope. Examples include int, bool, char, func, function, class and def. Depending on the language and semantics, const may be this or storage.modifier.",
|
|
fontStyle: "italic",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "storage.type.extends",
|
|
settings: {
|
|
name: "Extends",
|
|
fontStyle: "normal",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "storage.type.function.arrow",
|
|
settings: {
|
|
name: "Fat arrow function",
|
|
fontStyle: "normal",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["storage.modifier", "storage.type.modifier"],
|
|
settings: {
|
|
name: "Keywords that affect the storage of a variable, function or data structure should use the following scope. Examples include static, inline, const, public and private.",
|
|
fontStyle: "italic",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "storage.class.restructuredtext.ref",
|
|
settings: {
|
|
name: "refs (Restructured text)",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["storage.modifier.visibility.rust", "storage.modifier.lifetime.rust"],
|
|
settings: {
|
|
name: "rust specific",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"storage.modifier.const.rust",
|
|
"storage.modifier.dyn.rust",
|
|
"storage.modifier.mut.rust",
|
|
"storage.modifier.static.rust",
|
|
"storage.type.rust",
|
|
"storage.type.core.rust",
|
|
"storage.class.std.rust",
|
|
],
|
|
settings: {
|
|
name: "rust specific",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"storage.type.rust",
|
|
"storage.modifier.const.rust",
|
|
"storage.modifier.dyn.rust",
|
|
"storage.modifier.mut.rust",
|
|
"storage.modifier.static.rust",
|
|
"keyword.other.rust",
|
|
"keyword.other.where.rust",
|
|
],
|
|
settings: {
|
|
name: "rust specific (adjust blue to red)",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "storage.modifier.import.java",
|
|
settings: {
|
|
name: "imported Java libraries",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: "string",
|
|
settings: {
|
|
name: "String",
|
|
foreground: accent3(),
|
|
},
|
|
},
|
|
{
|
|
scope: "string.unquoted.label",
|
|
settings: {
|
|
name: "String label",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: "string source",
|
|
settings: {
|
|
name: "Source in template string",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["string source punctuation.section.embedded", "string punctuation.definition.string source"],
|
|
settings: {
|
|
name: "Embedded punctuation begin / end in template string",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["string.other.link.title", "string.other.link.description"],
|
|
settings: {
|
|
name: "link title",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "string.other.link.description.title",
|
|
settings: {
|
|
name: "link description",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["string.regexp punctuation.definition.string.begin", "string.regexp punctuation.definition.string.end"],
|
|
settings: {
|
|
name: "String regexp begin / end",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["string.other.ref", "string.other.restructuredtext.ref"],
|
|
settings: {
|
|
name: "refs (Restructured text)",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: "string.other.git-status.help.key",
|
|
settings: {
|
|
name: "git key in git status help text",
|
|
foreground: dimmed1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "string.other.git-status.remote",
|
|
settings: {
|
|
name: "git status remote",
|
|
foreground: accent1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "support.constant",
|
|
settings: {
|
|
name: "Library constant",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "support.constant.handlebars",
|
|
settings: {
|
|
name: "Handlebars start / end",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: "support.type.vendor-prefix.css",
|
|
settings: {
|
|
name: "vendor prefix",
|
|
foreground: dimmed1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "support.function",
|
|
settings: {
|
|
name: "function name",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: "support.macro",
|
|
settings: {
|
|
name: "support macro",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: "support.function.delimiter.elm",
|
|
settings: {
|
|
name: "function brackets, comma's",
|
|
foreground: dimmed2(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["support.type", "entity.name.type.object.console"],
|
|
settings: {
|
|
name: "Library type",
|
|
fontStyle: "italic",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["support.variable", "support.variable.property"],
|
|
settings: {
|
|
name: "Support variables",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "support.type.property-name",
|
|
settings: {
|
|
name: "Library type property, JSON keys",
|
|
fontStyle: "normal",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: "support.class",
|
|
settings: {
|
|
name: "Library class",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "support.constant.core.rust",
|
|
settings: {
|
|
name: "rust specific",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["comment support", "comment support.class"],
|
|
settings: {
|
|
name: "comment support",
|
|
foreground: dimmed3(),
|
|
},
|
|
},
|
|
{
|
|
scope: "text",
|
|
settings: {
|
|
name: "text",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: "text.find-in-files",
|
|
settings: {
|
|
name: "Search result",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["variable", "variable.other"],
|
|
settings: {
|
|
name: "Variable",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["variable.parameter", "parameters variable.function"],
|
|
settings: {
|
|
name: "Function arguments",
|
|
fontStyle: "italic",
|
|
foreground: accent2(),
|
|
},
|
|
},
|
|
{
|
|
scope: [
|
|
"variable.language",
|
|
"variable.parameter.function.language.special.self.python",
|
|
"variable.parameter.function.language.special.cls.python",
|
|
],
|
|
settings: {
|
|
name: "Reserved variable names that are specified by the language, such as this, self, super, arguments. Also in function arguments (e.g. like in Python)",
|
|
fontStyle: "italic",
|
|
foreground: dimmed1(),
|
|
},
|
|
},
|
|
{
|
|
scope: "variable.language.arguments",
|
|
settings: {
|
|
name: "Reserved variable names: 'arguments'",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "variable.other.class",
|
|
settings: {
|
|
name: "Library function",
|
|
foreground: accent5(),
|
|
},
|
|
},
|
|
{
|
|
scope: "variable.other.constant",
|
|
settings: {
|
|
name: "Immutable variables, often via a const modifier, should receive the following scope. Depending on the language and semantics, entity.name.constant may be a better choice.",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "variable.other.readwrite",
|
|
settings: {
|
|
name: "read/write variables",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: "variable.other.member",
|
|
settings: {
|
|
name: "Fields, properties, members and attributes of a class or other data structure should use:",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: "variable.other.enummember",
|
|
settings: {
|
|
name: "Enum member",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["variable.other.property", "variable.other.property.static", "variable.other.event"],
|
|
settings: {
|
|
name: "Variable property",
|
|
foreground: text(),
|
|
},
|
|
},
|
|
{
|
|
scope: "variable.function",
|
|
settings: {
|
|
name: "Function and method names should be scoped using the following, but only when they are being invoked. When defined, they should use entity.name.function.",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: "variable.other.substitution",
|
|
settings: {
|
|
name: "Substitution (restructured text)",
|
|
foreground: accent2(),
|
|
},
|
|
},
|
|
{
|
|
scope: ["source.ruby variable.other.readwrite.instance.ruby", "source.ruby variable.other.readwrite.class.ruby"],
|
|
settings: {
|
|
name: "Ruby instance variables",
|
|
foreground: accent6(),
|
|
},
|
|
},
|
|
{
|
|
scope: "source.jinja2 variable.other.jinja2.block",
|
|
settings: {
|
|
name: "jinja2 variable block",
|
|
foreground: accent4(),
|
|
},
|
|
},
|
|
{
|
|
scope: "source.jinja2 variable.other.jinja2",
|
|
settings: {
|
|
name: "jinja2 variable",
|
|
foreground: accent2(),
|
|
},
|
|
},
|
|
],
|
|
};
|