CraftingStudioPro Themes
Fourteen modern developer themes built on one design system — Tokyo Night, Deep Ocean, Night Owl, Midnight, Aurora, Cyberpunk, Obsidian, Forest, Crimson, Arctic, Espresso, Sunset, Pure Light and Parchment.
Fourteen modern developer themes built on one design system — Tokyo Night, Deep Ocean, Night Owl, Midnight, Aurora, Cyberpunk, Obsidian, Forest, Crimson, Arctic, Espresso, Sunset, Pure Light and Parchment.
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| source, text | #d6deeb | — |
| comment, punctuation.definition.comment, unused.comment, wildcard.comment | #728a8a | italic |
| comment.block.documentation, comment.line.documentation, string.quoted.docstring, comment.block.documentation punctuation.definition.comment | #7aa2a6 | italic |
| comment.block.documentation storage.type.class.jsdoc, comment.block.documentation entity.name.type.instance.jsdoc, comment.block.documentation variable.other.jsdoc, keyword.other.phpdoc, storage.type.class.doxygen | #c792ea | italic |
| keyword.codetag.notation, comment.notation | #ecc48d | bold |
| keyword, keyword.other, storage.type.function.arrow | #c792ea | — |
| keyword.control, keyword.control.flow, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, keyword.control.default, keyword.control.conditional, keyword.control.loop, keyword.control.trycatch, keyword.control.at-rule, keyword.package, keyword.import, keyword.map, keyword.function, keyword.var | #d6a8f4 | italic |
| storage, storage.type, storage.modifier, keyword.other.important, keyword.other.unit, keyword.other.template, keyword.other.substitution | #c792ea | — |
| variable.language.this, variable.language.self, variable.language.super, variable.language.special, keyword.other.this, constant.language.this | #c792ea | italic |
| keyword.operator.new, keyword.operator.expression, keyword.operator.wordlike | #d6a8f4 | — |
| entity.name.function, support.function, meta.function-call.generic, meta.definition.method entity.name.function, entity.name.function.member | #82aaff | — |
| meta.function-call entity.name.function, variable.function, support.function.builtin, meta.method-call entity.name.function | #82aaff | — |
| entity.name.function.preprocessor, entity.name.function.macro | #82aaff | italic |
| meta.decorator, entity.name.function.decorator, punctuation.decorator, meta.decorator variable.other, meta.attribute, entity.name.function.attribute | #f78c6c | italic |
| variable, variable.other, variable.other.readwrite, meta.definition.variable | #d6deeb | — |
| variable.other.constant, variable.other.enummember, entity.name.constant, constant.other.caps, variable.other.readonly | #addb67 | — |
| variable.parameter, meta.parameter, meta.function.parameters variable.other, variable.other.jsdoc | #c5e3e7 | italic |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.variable.property, variable.object.property, entity.name.variable.field, variable.other.member | #7fdbca | — |
| support.type.property-name, meta.mapping.key string, entity.name.tag.yaml | #7fdbca | — |
| support.variable, variable.language, support.constant.dom | #addb67 | — |
| entity.name.type, support.type, entity.name.type.alias, meta.type.annotation entity.name.type, storage.type.primitive, support.class.builtin | #addb67 | — |
| entity.name.class, entity.name.type.class, support.class, meta.definition.class entity.name, entity.other.inherited-class, entity.name.type.struct | #addb67 | — |
| entity.name.type.interface, entity.name.interface, meta.interface entity.name | #c5e3e7 | — |
| entity.name.type.enum, entity.name.enum, storage.type.enum | #addb67 | — |
| entity.name.type.parameter, meta.type.parameters entity.name.type, storage.type.generic | #addb67 | italic |
| entity.name.namespace, entity.name.type.namespace, entity.name.type.module, entity.name.module, entity.name.scope-resolution, support.module | #addb67 | — |
| string, string.quoted, string.template, punctuation.definition.string | #ecc48d | — |
| constant.character.escape, string.regexp constant.character.escape, constant.other.character-class.escape | #f78c6c | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded.line | #d6a8f4 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float | #f78c6c | — |
| constant.language.boolean, constant.language.true, constant.language.false | #f78c6c | — |
| constant.language.null, constant.language.undefined, constant.language.nil, constant.language.none | #f78c6c | — |
| constant.language, support.constant, constant.other | #f78c6c | — |
| string.regexp, string.regexp punctuation.definition.string, constant.other.character-class.set.regexp | #f78c6c | — |
| keyword.operator.or.regexp, keyword.operator.quantifier.regexp, keyword.control.anchor.regexp | #f78c6c | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical, keyword.operator.ternary, keyword.operator.spread, keyword.operator.optional, keyword.operator.type | #7fdbca | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.accessor, meta.brace, punctuation.definition.parameters, punctuation.definition.array, punctuation.definition.dict, punctuation.section | #7a91a6 | — |
| entity.name.tag, meta.tag, punctuation.definition.tag | #f07178 | — |
| entity.name.tag.js.jsx, entity.name.tag.tsx, support.class.component | #addb67 | — |
| entity.other.attribute-name, meta.attribute.class, meta.attribute.id, entity.other.attribute-name.html | #c792ea | italic |
| meta.attribute string, meta.tag string.quoted, string.quoted.double.html | #ecc48d | — |
| meta.tag.sgml, entity.name.tag.doctype, meta.tag.metadata.doctype | #728a8a | italic |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #addb67 | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less | #7fdbca | — |
| support.constant.property-value.css, meta.property-value.css | #f78c6c | — |
| keyword.other.unit.css, support.function.misc.css, support.function.transform.css | #f78c6c | — |
| variable.scss, variable.other.less, variable.declaration.scss | #addb67 | — |
| keyword.control.at-rule.css, keyword.control.at-rule.scss, punctuation.definition.keyword.css | #d6a8f4 | — |
| support.type.property-name.json | #7fdbca | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #7fdbca | — |
| punctuation.definition.dictionary.json, punctuation.separator.dictionary.key-value.json | #7a91a6 | — |
| entity.name.tag.yaml, support.type.property-name.yaml | #7fdbca | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml, punctuation.definition.anchor.yaml | #f78c6c | — |
| string.unquoted.plain.out.yaml, string.unquoted.block.yaml | #ecc48d | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #82aaff | bold |
| markup.bold, markup.bold string | #f78c6c | bold |
| markup.italic, markup.italic string | #c792ea | italic |
| markup.strikethrough | #728a8a | strikethrough |
| markup.underline.link, string.other.link, constant.other.reference.link.markdown | #82aaff | underline |
| string.other.link.title.markdown, meta.link.inline.markdown | #7fdbca | — |
| markup.inline.raw, markup.fenced_code, markup.raw.block | #ecc48d | — |
| markup.quote, beginning.punctuation.definition.quote.markdown | #728a8a | italic |
| beginning.punctuation.definition.list.markdown, markup.list punctuation.definition | #f07178 | — |
| meta.separator.markdown | #7a91a6 | — |
| markup.inserted, meta.diff.header.to-file | #addb67 | — |
| markup.deleted, meta.diff.header.from-file | #f07178 | — |
| markup.changed | #ecc48d | — |
| meta.diff.header, meta.diff.range | #82aaff | — |
| variable.other.normal.shell, variable.other.special.shell, punctuation.definition.variable.shell | #addb67 | — |
| support.function.builtin.shell, keyword.command.shell | #82aaff | — |
| constant.other.option, string.unquoted.argument.shell | #c5e3e7 | — |
| variable.parameter.function.language.special.self.python, variable.language.special.self.python | #c792ea | italic |
| entity.name.function.decorator.python, meta.function.decorator.python support.type | #f78c6c | italic |
| meta.fstring.python, string.interpolated.python | #ecc48d | — |
| entity.name.package.go, keyword.package.go | #addb67 | — |
| support.type.error.go | #f07178 | — |
| storage.modifier.lifetime.rust, entity.name.type.lifetime.rust, punctuation.definition.lifetime.rust | #f07178 | italic |
| entity.name.function.macro.rust, support.macro.rust | #82aaff | — |
| meta.attribute.rust, meta.annotation.rust | #f78c6c | italic |
| storage.type.annotation.java, punctuation.definition.annotation.java | #f78c6c | italic |
| storage.type.annotation.kotlin, meta.annotation.kotlin | #f78c6c | italic |
| storage.modifier.attribute.swift, keyword.other.declaration-specifier.swift | #f78c6c | — |
| variable.other.php, punctuation.definition.variable.php | #d6deeb | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, meta.embedded.block.php | #f07178 | — |
| constant.other.symbol.ruby, constant.language.symbol.ruby, constant.language.symbol.hashkey.ruby | #f78c6c | — |
| punctuation.section.embedded.ruby, meta.embedded.line.ruby | #d6a8f4 | — |
| keyword.control.directive, punctuation.definition.directive, meta.preprocessor | #d6a8f4 | italic |
| meta.interpolation.cs, punctuation.definition.interpolation.cs | #d6a8f4 | — |
| storage.type.annotation.dart, meta.declaration.dart | #f78c6c | — |
| keyword.other.DML.sql, keyword.other.DDL.sql, keyword.other.sql | #d6a8f4 | italic |
| support.function.aggregate.sql, support.function.scalar.sql | #82aaff | — |
| entity.name.function.sql, constant.other.database-name.sql, constant.other.table-name.sql | #addb67 | — |
| support.type.graphql, entity.name.type.graphql | #addb67 | — |
| variable.graphql, string.unquoted.alias.graphql | #7fdbca | — |
| entity.name.function.directive.graphql, keyword.other.directive.graphql | #f78c6c | — |
| support.type.property-name.toml, variable.key.toml | #7fdbca | — |
| entity.name.section.toml, punctuation.definition.table.toml | #addb67 | — |
| entity.name.section.group-title.ini, keyword.other.definition.ini | #addb67 | — |
| keyword.other.special-method.dockerfile, keyword.control.dockerfile | #d6a8f4 | italic |
| entity.name.function.target.makefile, entity.name.function.makefile | #82aaff | — |
| entity.name.type.terraform, entity.name.label.terraform, storage.type.terraform | #addb67 | — |
| keyword.other.definition.ini, variable.other.env, source.env variable | #7fdbca | — |
| invalid, invalid.illegal | #f07178 | italic |
| invalid.deprecated | #ecc48d | strikethrough |
| constant.other.placeholder, constant.other.color | #f78c6c | — |
| entity.name.label, entity.name.goto-label | #f07178 | — |
| string.unquoted.key | #7fdbca | — |
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| source, text | #cdcdd2 | — |
| comment, punctuation.definition.comment, unused.comment, wildcard.comment | #88888f | italic |
| comment.block.documentation, comment.line.documentation, string.quoted.docstring, comment.block.documentation punctuation.definition.comment | #96969e | italic |
| comment.block.documentation storage.type.class.jsdoc, comment.block.documentation entity.name.type.instance.jsdoc, comment.block.documentation variable.other.jsdoc, keyword.other.phpdoc, storage.type.class.doxygen | #b3a9d4 | italic |
| keyword.codetag.notation, comment.notation | #d6b98f | bold |
| keyword, keyword.other, storage.type.function.arrow | #b3a9d4 | — |
| keyword.control, keyword.control.flow, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, keyword.control.default, keyword.control.conditional, keyword.control.loop, keyword.control.trycatch, keyword.control.at-rule, keyword.package, keyword.import, keyword.map, keyword.function, keyword.var | #c1b8de | italic |
| storage, storage.type, storage.modifier, keyword.other.important, keyword.other.unit, keyword.other.template, keyword.other.substitution | #b3a9d4 | — |
| variable.language.this, variable.language.self, variable.language.super, variable.language.special, keyword.other.this, constant.language.this | #b3a9d4 | italic |
| keyword.operator.new, keyword.operator.expression, keyword.operator.wordlike | #c1b8de | — |
| entity.name.function, support.function, meta.function-call.generic, meta.definition.method entity.name.function, entity.name.function.member | #8fb4d4 | — |
| meta.function-call entity.name.function, variable.function, support.function.builtin, meta.method-call entity.name.function | #8fb4d4 | — |
| entity.name.function.preprocessor, entity.name.function.macro | #8fb4d4 | italic |
| meta.decorator, entity.name.function.decorator, punctuation.decorator, meta.decorator variable.other, meta.attribute, entity.name.function.attribute | #d6b98f | italic |
| variable, variable.other, variable.other.readwrite, meta.definition.variable | #cdcdd2 | — |
| variable.other.constant, variable.other.enummember, entity.name.constant, constant.other.caps, variable.other.readonly | #d6b98f | — |
| variable.parameter, meta.parameter, meta.function.parameters variable.other, variable.other.jsdoc | #a6bfbf | italic |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.variable.property, variable.object.property, entity.name.variable.field, variable.other.member | #a0c1da | — |
| support.type.property-name, meta.mapping.key string, entity.name.tag.yaml | #a0c1da | — |
| support.variable, variable.language, support.constant.dom | #d6b98f | — |
| entity.name.type, support.type, entity.name.type.alias, meta.type.annotation entity.name.type, storage.type.primitive, support.class.builtin | #93c6c6 | — |
| entity.name.class, entity.name.type.class, support.class, meta.definition.class entity.name, entity.other.inherited-class, entity.name.type.struct | #93c6c6 | — |
| entity.name.type.interface, entity.name.interface, meta.interface entity.name | #a2d0d0 | — |
| entity.name.type.enum, entity.name.enum, storage.type.enum | #93c6c6 | — |
| entity.name.type.parameter, meta.type.parameters entity.name.type, storage.type.generic | #93c6c6 | italic |
| entity.name.namespace, entity.name.type.namespace, entity.name.type.module, entity.name.module, entity.name.scope-resolution, support.module | #93c6c6 | — |
| string, string.quoted, string.template, punctuation.definition.string | #a0c6a4 | — |
| constant.character.escape, string.regexp constant.character.escape, constant.other.character-class.escape | #e2ceac | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded.line | #c1b8de | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float | #d6b98f | — |
| constant.language.boolean, constant.language.true, constant.language.false | #d6b98f | — |
| constant.language.null, constant.language.undefined, constant.language.nil, constant.language.none | #d6b98f | — |
| constant.language, support.constant, constant.other | #d6b98f | — |
| string.regexp, string.regexp punctuation.definition.string, constant.other.character-class.set.regexp | #deadb5 | — |
| keyword.operator.or.regexp, keyword.operator.quantifier.regexp, keyword.control.anchor.regexp | #e2ceac | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical, keyword.operator.ternary, keyword.operator.spread, keyword.operator.optional, keyword.operator.type | #a3a3ad | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.accessor, meta.brace, punctuation.definition.parameters, punctuation.definition.array, punctuation.definition.dict, punctuation.section | #93939d | — |
| entity.name.tag, meta.tag, punctuation.definition.tag | #d69ba4 | — |
| entity.name.tag.js.jsx, entity.name.tag.tsx, support.class.component | #93c6c6 | — |
| entity.other.attribute-name, meta.attribute.class, meta.attribute.id, entity.other.attribute-name.html | #d6b98f | italic |
| meta.attribute string, meta.tag string.quoted, string.quoted.double.html | #a0c6a4 | — |
| meta.tag.sgml, entity.name.tag.doctype, meta.tag.metadata.doctype | #88888f | italic |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #93c6c6 | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less | #a0c1da | — |
| support.constant.property-value.css, meta.property-value.css | #d6b98f | — |
| keyword.other.unit.css, support.function.misc.css, support.function.transform.css | #d6b98f | — |
| variable.scss, variable.other.less, variable.declaration.scss | #d6b98f | — |
| keyword.control.at-rule.css, keyword.control.at-rule.scss, punctuation.definition.keyword.css | #c1b8de | — |
| support.type.property-name.json | #a0c1da | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #a0c1da | — |
| punctuation.definition.dictionary.json, punctuation.separator.dictionary.key-value.json | #93939d | — |
| entity.name.tag.yaml, support.type.property-name.yaml | #a0c1da | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml, punctuation.definition.anchor.yaml | #d6b98f | — |
| string.unquoted.plain.out.yaml, string.unquoted.block.yaml | #a0c6a4 | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #8fb4d4 | bold |
| markup.bold, markup.bold string | #d6b98f | bold |
| markup.italic, markup.italic string | #b3a9d4 | italic |
| markup.strikethrough | #88888f | strikethrough |
| markup.underline.link, string.other.link, constant.other.reference.link.markdown | #8f9cb8 | underline |
| string.other.link.title.markdown, meta.link.inline.markdown | #a0c1da | — |
| markup.inline.raw, markup.fenced_code, markup.raw.block | #a0c6a4 | — |
| markup.quote, beginning.punctuation.definition.quote.markdown | #88888f | italic |
| beginning.punctuation.definition.list.markdown, markup.list punctuation.definition | #d69ba4 | — |
| meta.separator.markdown | #93939d | — |
| markup.inserted, meta.diff.header.to-file | #a0c6a4 | — |
| markup.deleted, meta.diff.header.from-file | #d69ba4 | — |
| markup.changed | #d6b98f | — |
| meta.diff.header, meta.diff.range | #8fb4d4 | — |
| variable.other.normal.shell, variable.other.special.shell, punctuation.definition.variable.shell | #d6b98f | — |
| support.function.builtin.shell, keyword.command.shell | #8fb4d4 | — |
| constant.other.option, string.unquoted.argument.shell | #a6bfbf | — |
| variable.parameter.function.language.special.self.python, variable.language.special.self.python | #b3a9d4 | italic |
| entity.name.function.decorator.python, meta.function.decorator.python support.type | #d6b98f | italic |
| meta.fstring.python, string.interpolated.python | #a0c6a4 | — |
| entity.name.package.go, keyword.package.go | #93c6c6 | — |
| support.type.error.go | #d69ba4 | — |
| storage.modifier.lifetime.rust, entity.name.type.lifetime.rust, punctuation.definition.lifetime.rust | #d69ba4 | italic |
| entity.name.function.macro.rust, support.macro.rust | #8fb4d4 | — |
| meta.attribute.rust, meta.annotation.rust | #d6b98f | italic |
| storage.type.annotation.java, punctuation.definition.annotation.java | #d6b98f | italic |
| storage.type.annotation.kotlin, meta.annotation.kotlin | #d6b98f | italic |
| storage.modifier.attribute.swift, keyword.other.declaration-specifier.swift | #d6b98f | — |
| variable.other.php, punctuation.definition.variable.php | #cdcdd2 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, meta.embedded.block.php | #d69ba4 | — |
| constant.other.symbol.ruby, constant.language.symbol.ruby, constant.language.symbol.hashkey.ruby | #d6b98f | — |
| punctuation.section.embedded.ruby, meta.embedded.line.ruby | #c1b8de | — |
| keyword.control.directive, punctuation.definition.directive, meta.preprocessor | #c1b8de | italic |
| meta.interpolation.cs, punctuation.definition.interpolation.cs | #c1b8de | — |
| storage.type.annotation.dart, meta.declaration.dart | #d6b98f | — |
| keyword.other.DML.sql, keyword.other.DDL.sql, keyword.other.sql | #c1b8de | italic |
| support.function.aggregate.sql, support.function.scalar.sql | #8fb4d4 | — |
| entity.name.function.sql, constant.other.database-name.sql, constant.other.table-name.sql | #93c6c6 | — |
| support.type.graphql, entity.name.type.graphql | #93c6c6 | — |
| variable.graphql, string.unquoted.alias.graphql | #a0c1da | — |
| entity.name.function.directive.graphql, keyword.other.directive.graphql | #d6b98f | — |
| support.type.property-name.toml, variable.key.toml | #a0c1da | — |
| entity.name.section.toml, punctuation.definition.table.toml | #93c6c6 | — |
| entity.name.section.group-title.ini, keyword.other.definition.ini | #93c6c6 | — |
| keyword.other.special-method.dockerfile, keyword.control.dockerfile | #c1b8de | italic |
| entity.name.function.target.makefile, entity.name.function.makefile | #8fb4d4 | — |
| entity.name.type.terraform, entity.name.label.terraform, storage.type.terraform | #93c6c6 | — |
| keyword.other.definition.ini, variable.other.env, source.env variable | #a0c1da | — |
| invalid, invalid.illegal | #d69ba4 | italic |
| invalid.deprecated | #d6b98f | strikethrough |
| constant.other.placeholder, constant.other.color | #e2ceac | — |
| entity.name.label, entity.name.goto-label | #d69ba4 | — |
| string.unquoted.key | #a0c1da | — |
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| source, text | #3a3227 | — |
| comment, punctuation.definition.comment, unused.comment, wildcard.comment | #726853 | italic |
| comment.block.documentation, comment.line.documentation, string.quoted.docstring, comment.block.documentation punctuation.definition.comment | #665c48 | italic |
| comment.block.documentation storage.type.class.jsdoc, comment.block.documentation entity.name.type.instance.jsdoc, comment.block.documentation variable.other.jsdoc, keyword.other.phpdoc, storage.type.class.doxygen | #8a3d86 | italic |
| keyword.codetag.notation, comment.notation | #9e550d | bold |
| keyword, keyword.other, storage.type.function.arrow | #8a3d86 | — |
| keyword.control, keyword.control.flow, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, keyword.control.default, keyword.control.conditional, keyword.control.loop, keyword.control.trycatch, keyword.control.at-rule, keyword.package, keyword.import, keyword.map, keyword.function, keyword.var | #7b3378 | italic |
| storage, storage.type, storage.modifier, keyword.other.important, keyword.other.unit, keyword.other.template, keyword.other.substitution | #8a3d86 | — |
| variable.language.this, variable.language.self, variable.language.super, variable.language.special, keyword.other.this, constant.language.this | #8a3d86 | italic |
| keyword.operator.new, keyword.operator.expression, keyword.operator.wordlike | #7b3378 | — |
| entity.name.function, support.function, meta.function-call.generic, meta.definition.method entity.name.function, entity.name.function.member | #1a5f96 | — |
| meta.function-call entity.name.function, variable.function, support.function.builtin, meta.method-call entity.name.function | #1a5f96 | — |
| entity.name.function.preprocessor, entity.name.function.macro | #1a5f96 | italic |
| meta.decorator, entity.name.function.decorator, punctuation.decorator, meta.decorator variable.other, meta.attribute, entity.name.function.attribute | #9e550d | italic |
| variable, variable.other, variable.other.readwrite, meta.definition.variable | #3a3227 | — |
| variable.other.constant, variable.other.enummember, entity.name.constant, constant.other.caps, variable.other.readonly | #9e550d | — |
| variable.parameter, meta.parameter, meta.function.parameters variable.other, variable.other.jsdoc | #13606a | italic |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.variable.property, variable.object.property, entity.name.variable.field, variable.other.member | #17557f | — |
| support.type.property-name, meta.mapping.key string, entity.name.tag.yaml | #17557f | — |
| support.variable, variable.language, support.constant.dom | #9e550d | — |
| entity.name.type, support.type, entity.name.type.alias, meta.type.annotation entity.name.type, storage.type.primitive, support.class.builtin | #0f6a6a | — |
| entity.name.class, entity.name.type.class, support.class, meta.definition.class entity.name, entity.other.inherited-class, entity.name.type.struct | #0f6a6a | — |
| entity.name.type.interface, entity.name.interface, meta.interface entity.name | #0d5c5c | — |
| entity.name.type.enum, entity.name.enum, storage.type.enum | #0f6a6a | — |
| entity.name.type.parameter, meta.type.parameters entity.name.type, storage.type.generic | #0f6a6a | italic |
| entity.name.namespace, entity.name.type.namespace, entity.name.type.module, entity.name.module, entity.name.scope-resolution, support.module | #0f6a6a | — |
| string, string.quoted, string.template, punctuation.definition.string | #4f7018 | — |
| constant.character.escape, string.regexp constant.character.escape, constant.other.character-class.escape | #8a4a0a | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded.line | #7b3378 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float | #9e550d | — |
| constant.language.boolean, constant.language.true, constant.language.false | #9e550d | — |
| constant.language.null, constant.language.undefined, constant.language.nil, constant.language.none | #9e550d | — |
| constant.language, support.constant, constant.other | #9e550d | — |
| string.regexp, string.regexp punctuation.definition.string, constant.other.character-class.set.regexp | #9d2f4d | — |
| keyword.operator.or.regexp, keyword.operator.quantifier.regexp, keyword.control.anchor.regexp | #8a4a0a | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical, keyword.operator.ternary, keyword.operator.spread, keyword.operator.optional, keyword.operator.type | #5b5140 | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.accessor, meta.brace, punctuation.definition.parameters, punctuation.definition.array, punctuation.definition.dict, punctuation.section | #675d4b | — |
| entity.name.tag, meta.tag, punctuation.definition.tag | #b3352f | — |
| entity.name.tag.js.jsx, entity.name.tag.tsx, support.class.component | #0f6a6a | — |
| entity.other.attribute-name, meta.attribute.class, meta.attribute.id, entity.other.attribute-name.html | #9e550d | italic |
| meta.attribute string, meta.tag string.quoted, string.quoted.double.html | #4f7018 | — |
| meta.tag.sgml, entity.name.tag.doctype, meta.tag.metadata.doctype | #726853 | italic |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #0f6a6a | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less | #17557f | — |
| support.constant.property-value.css, meta.property-value.css | #9e550d | — |
| keyword.other.unit.css, support.function.misc.css, support.function.transform.css | #9e550d | — |
| variable.scss, variable.other.less, variable.declaration.scss | #9e550d | — |
| keyword.control.at-rule.css, keyword.control.at-rule.scss, punctuation.definition.keyword.css | #7b3378 | — |
| support.type.property-name.json | #17557f | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #17557f | — |
| punctuation.definition.dictionary.json, punctuation.separator.dictionary.key-value.json | #675d4b | — |
| entity.name.tag.yaml, support.type.property-name.yaml | #17557f | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml, punctuation.definition.anchor.yaml | #9e550d | — |
| string.unquoted.plain.out.yaml, string.unquoted.block.yaml | #4f7018 | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #1a5f96 | bold |
| markup.bold, markup.bold string | #9e550d | bold |
| markup.italic, markup.italic string | #8a3d86 | italic |
| markup.strikethrough | #726853 | strikethrough |
| markup.underline.link, string.other.link, constant.other.reference.link.markdown | #9e550d | underline |
| string.other.link.title.markdown, meta.link.inline.markdown | #17557f | — |
| markup.inline.raw, markup.fenced_code, markup.raw.block | #4f7018 | — |
| markup.quote, beginning.punctuation.definition.quote.markdown | #726853 | italic |
| beginning.punctuation.definition.list.markdown, markup.list punctuation.definition | #b3352f | — |
| meta.separator.markdown | #675d4b | — |
| markup.inserted, meta.diff.header.to-file | #4f7018 | — |
| markup.deleted, meta.diff.header.from-file | #b3352f | — |
| markup.changed | #9e550d | — |
| meta.diff.header, meta.diff.range | #1a5f96 | — |
| variable.other.normal.shell, variable.other.special.shell, punctuation.definition.variable.shell | #9e550d | — |
| support.function.builtin.shell, keyword.command.shell | #1a5f96 | — |
| constant.other.option, string.unquoted.argument.shell | #13606a | — |
| variable.parameter.function.language.special.self.python, variable.language.special.self.python | #8a3d86 | italic |
| entity.name.function.decorator.python, meta.function.decorator.python support.type | #9e550d | italic |
| meta.fstring.python, string.interpolated.python | #4f7018 | — |
| entity.name.package.go, keyword.package.go | #0f6a6a | — |
| support.type.error.go | #b3352f | — |
| storage.modifier.lifetime.rust, entity.name.type.lifetime.rust, punctuation.definition.lifetime.rust | #b3352f | italic |
| entity.name.function.macro.rust, support.macro.rust | #1a5f96 | — |
| meta.attribute.rust, meta.annotation.rust | #9e550d | italic |
| storage.type.annotation.java, punctuation.definition.annotation.java | #9e550d | italic |
| storage.type.annotation.kotlin, meta.annotation.kotlin | #9e550d | italic |
| storage.modifier.attribute.swift, keyword.other.declaration-specifier.swift | #9e550d | — |
| variable.other.php, punctuation.definition.variable.php | #3a3227 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, meta.embedded.block.php | #b3352f | — |
| constant.other.symbol.ruby, constant.language.symbol.ruby, constant.language.symbol.hashkey.ruby | #9e550d | — |
| punctuation.section.embedded.ruby, meta.embedded.line.ruby | #7b3378 | — |
| keyword.control.directive, punctuation.definition.directive, meta.preprocessor | #7b3378 | italic |
| meta.interpolation.cs, punctuation.definition.interpolation.cs | #7b3378 | — |
| storage.type.annotation.dart, meta.declaration.dart | #9e550d | — |
| keyword.other.DML.sql, keyword.other.DDL.sql, keyword.other.sql | #7b3378 | italic |
| support.function.aggregate.sql, support.function.scalar.sql | #1a5f96 | — |
| entity.name.function.sql, constant.other.database-name.sql, constant.other.table-name.sql | #0f6a6a | — |
| support.type.graphql, entity.name.type.graphql | #0f6a6a | — |
| variable.graphql, string.unquoted.alias.graphql | #17557f | — |
| entity.name.function.directive.graphql, keyword.other.directive.graphql | #9e550d | — |
| support.type.property-name.toml, variable.key.toml | #17557f | — |
| entity.name.section.toml, punctuation.definition.table.toml | #0f6a6a | — |
| entity.name.section.group-title.ini, keyword.other.definition.ini | #0f6a6a | — |
| keyword.other.special-method.dockerfile, keyword.control.dockerfile | #7b3378 | italic |
| entity.name.function.target.makefile, entity.name.function.makefile | #1a5f96 | — |
| entity.name.type.terraform, entity.name.label.terraform, storage.type.terraform | #0f6a6a | — |
| keyword.other.definition.ini, variable.other.env, source.env variable | #17557f | — |
| invalid, invalid.illegal | #b3352f | italic |
| invalid.deprecated | #9e550d | strikethrough |
| constant.other.placeholder, constant.other.color | #8a4a0a | — |
| entity.name.label, entity.name.goto-label | #b3352f | — |
| string.unquoted.key | #17557f | — |
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| source, text | #2f333c | — |
| comment, punctuation.definition.comment, unused.comment, wildcard.comment | #6a707e | italic |
| comment.block.documentation, comment.line.documentation, string.quoted.docstring, comment.block.documentation punctuation.definition.comment | #5f6875 | italic |
| comment.block.documentation storage.type.class.jsdoc, comment.block.documentation entity.name.type.instance.jsdoc, comment.block.documentation variable.other.jsdoc, keyword.other.phpdoc, storage.type.class.doxygen | #7a3fc4 | italic |
| keyword.codetag.notation, comment.notation | #a8560d | bold |
| keyword, keyword.other, storage.type.function.arrow | #7a3fc4 | — |
| keyword.control, keyword.control.flow, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, keyword.control.default, keyword.control.conditional, keyword.control.loop, keyword.control.trycatch, keyword.control.at-rule, keyword.package, keyword.import, keyword.map, keyword.function, keyword.var | #6c33b4 | italic |
| storage, storage.type, storage.modifier, keyword.other.important, keyword.other.unit, keyword.other.template, keyword.other.substitution | #7a3fc4 | — |
| variable.language.this, variable.language.self, variable.language.super, variable.language.special, keyword.other.this, constant.language.this | #7a3fc4 | italic |
| keyword.operator.new, keyword.operator.expression, keyword.operator.wordlike | #6c33b4 | — |
| entity.name.function, support.function, meta.function-call.generic, meta.definition.method entity.name.function, entity.name.function.member | #1d6fd0 | — |
| meta.function-call entity.name.function, variable.function, support.function.builtin, meta.method-call entity.name.function | #1d6fd0 | — |
| entity.name.function.preprocessor, entity.name.function.macro | #1d6fd0 | italic |
| meta.decorator, entity.name.function.decorator, punctuation.decorator, meta.decorator variable.other, meta.attribute, entity.name.function.attribute | #a8560d | italic |
| variable, variable.other, variable.other.readwrite, meta.definition.variable | #2f333c | — |
| variable.other.constant, variable.other.enummember, entity.name.constant, constant.other.caps, variable.other.readonly | #a8560d | — |
| variable.parameter, meta.parameter, meta.function.parameters variable.other, variable.other.jsdoc | #136271 | italic |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.variable.property, variable.object.property, entity.name.variable.field, variable.other.member | #1a5fb4 | — |
| support.type.property-name, meta.mapping.key string, entity.name.tag.yaml | #1a5fb4 | — |
| support.variable, variable.language, support.constant.dom | #a8560d | — |
| entity.name.type, support.type, entity.name.type.alias, meta.type.annotation entity.name.type, storage.type.primitive, support.class.builtin | #0f6f80 | — |
| entity.name.class, entity.name.type.class, support.class, meta.definition.class entity.name, entity.other.inherited-class, entity.name.type.struct | #0f6f80 | — |
| entity.name.type.interface, entity.name.interface, meta.interface entity.name | #0d616f | — |
| entity.name.type.enum, entity.name.enum, storage.type.enum | #0f6f80 | — |
| entity.name.type.parameter, meta.type.parameters entity.name.type, storage.type.generic | #0f6f80 | italic |
| entity.name.namespace, entity.name.type.namespace, entity.name.type.module, entity.name.module, entity.name.scope-resolution, support.module | #0f6f80 | — |
| string, string.quoted, string.template, punctuation.definition.string | #17795e | — |
| constant.character.escape, string.regexp constant.character.escape, constant.other.character-class.escape | #8c4a0c | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded.line | #6c33b4 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float | #a8560d | — |
| constant.language.boolean, constant.language.true, constant.language.false | #a8560d | — |
| constant.language.null, constant.language.undefined, constant.language.nil, constant.language.none | #a8560d | — |
| constant.language, support.constant, constant.other | #a8560d | — |
| string.regexp, string.regexp punctuation.definition.string, constant.other.character-class.set.regexp | #a52a48 | — |
| keyword.operator.or.regexp, keyword.operator.quantifier.regexp, keyword.control.anchor.regexp | #8c4a0c | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical, keyword.operator.ternary, keyword.operator.spread, keyword.operator.optional, keyword.operator.type | #4f5a6b | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.accessor, meta.brace, punctuation.definition.parameters, punctuation.definition.array, punctuation.definition.dict, punctuation.section | #5d6675 | — |
| entity.name.tag, meta.tag, punctuation.definition.tag | #c02648 | — |
| entity.name.tag.js.jsx, entity.name.tag.tsx, support.class.component | #0f6f80 | — |
| entity.other.attribute-name, meta.attribute.class, meta.attribute.id, entity.other.attribute-name.html | #a8560d | italic |
| meta.attribute string, meta.tag string.quoted, string.quoted.double.html | #17795e | — |
| meta.tag.sgml, entity.name.tag.doctype, meta.tag.metadata.doctype | #6a707e | italic |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #0f6f80 | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less | #1a5fb4 | — |
| support.constant.property-value.css, meta.property-value.css | #a8560d | — |
| keyword.other.unit.css, support.function.misc.css, support.function.transform.css | #a8560d | — |
| variable.scss, variable.other.less, variable.declaration.scss | #a8560d | — |
| keyword.control.at-rule.css, keyword.control.at-rule.scss, punctuation.definition.keyword.css | #6c33b4 | — |
| support.type.property-name.json | #1a5fb4 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #1a5fb4 | — |
| punctuation.definition.dictionary.json, punctuation.separator.dictionary.key-value.json | #5d6675 | — |
| entity.name.tag.yaml, support.type.property-name.yaml | #1a5fb4 | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml, punctuation.definition.anchor.yaml | #a8560d | — |
| string.unquoted.plain.out.yaml, string.unquoted.block.yaml | #17795e | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #1d6fd0 | bold |
| markup.bold, markup.bold string | #a8560d | bold |
| markup.italic, markup.italic string | #7a3fc4 | italic |
| markup.strikethrough | #6a707e | strikethrough |
| markup.underline.link, string.other.link, constant.other.reference.link.markdown | #2563c9 | underline |
| string.other.link.title.markdown, meta.link.inline.markdown | #1a5fb4 | — |
| markup.inline.raw, markup.fenced_code, markup.raw.block | #17795e | — |
| markup.quote, beginning.punctuation.definition.quote.markdown | #6a707e | italic |
| beginning.punctuation.definition.list.markdown, markup.list punctuation.definition | #c02648 | — |
| meta.separator.markdown | #5d6675 | — |
| markup.inserted, meta.diff.header.to-file | #17795e | — |
| markup.deleted, meta.diff.header.from-file | #c02648 | — |
| markup.changed | #a8560d | — |
| meta.diff.header, meta.diff.range | #1d6fd0 | — |
| variable.other.normal.shell, variable.other.special.shell, punctuation.definition.variable.shell | #a8560d | — |
| support.function.builtin.shell, keyword.command.shell | #1d6fd0 | — |
| constant.other.option, string.unquoted.argument.shell | #136271 | — |
| variable.parameter.function.language.special.self.python, variable.language.special.self.python | #7a3fc4 | italic |
| entity.name.function.decorator.python, meta.function.decorator.python support.type | #a8560d | italic |
| meta.fstring.python, string.interpolated.python | #17795e | — |
| entity.name.package.go, keyword.package.go | #0f6f80 | — |
| support.type.error.go | #c02648 | — |
| storage.modifier.lifetime.rust, entity.name.type.lifetime.rust, punctuation.definition.lifetime.rust | #c02648 | italic |
| entity.name.function.macro.rust, support.macro.rust | #1d6fd0 | — |
| meta.attribute.rust, meta.annotation.rust | #a8560d | italic |
| storage.type.annotation.java, punctuation.definition.annotation.java | #a8560d | italic |
| storage.type.annotation.kotlin, meta.annotation.kotlin | #a8560d | italic |
| storage.modifier.attribute.swift, keyword.other.declaration-specifier.swift | #a8560d | — |
| variable.other.php, punctuation.definition.variable.php | #2f333c | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, meta.embedded.block.php | #c02648 | — |
| constant.other.symbol.ruby, constant.language.symbol.ruby, constant.language.symbol.hashkey.ruby | #a8560d | — |
| punctuation.section.embedded.ruby, meta.embedded.line.ruby | #6c33b4 | — |
| keyword.control.directive, punctuation.definition.directive, meta.preprocessor | #6c33b4 | italic |
| meta.interpolation.cs, punctuation.definition.interpolation.cs | #6c33b4 | — |
| storage.type.annotation.dart, meta.declaration.dart | #a8560d | — |
| keyword.other.DML.sql, keyword.other.DDL.sql, keyword.other.sql | #6c33b4 | italic |
| support.function.aggregate.sql, support.function.scalar.sql | #1d6fd0 | — |
| entity.name.function.sql, constant.other.database-name.sql, constant.other.table-name.sql | #0f6f80 | — |
| support.type.graphql, entity.name.type.graphql | #0f6f80 | — |
| variable.graphql, string.unquoted.alias.graphql | #1a5fb4 | — |
| entity.name.function.directive.graphql, keyword.other.directive.graphql | #a8560d | — |
| support.type.property-name.toml, variable.key.toml | #1a5fb4 | — |
| entity.name.section.toml, punctuation.definition.table.toml | #0f6f80 | — |
| entity.name.section.group-title.ini, keyword.other.definition.ini | #0f6f80 | — |
| keyword.other.special-method.dockerfile, keyword.control.dockerfile | #6c33b4 | italic |
| entity.name.function.target.makefile, entity.name.function.makefile | #1d6fd0 | — |
| entity.name.type.terraform, entity.name.label.terraform, storage.type.terraform | #0f6f80 | — |
| keyword.other.definition.ini, variable.other.env, source.env variable | #1a5fb4 | — |
| invalid, invalid.illegal | #c02648 | italic |
| invalid.deprecated | #a8560d | strikethrough |
| constant.other.placeholder, constant.other.color | #8c4a0c | — |
| entity.name.label, entity.name.goto-label | #c02648 | — |
| string.unquoted.key | #1a5fb4 | — |
export interface User {
id: string;
name: string;
role: "admin" | "member";
tags: string[];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser(id: string): Promise<User | null> {
if (!id) {
return null;
}
const response = await fetch(`/api/users/${id}`, {
method: "GET",
headers: { Accept: "application/json" },
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
return (await response.json()) as User;
}
function greet(user: User): string {
// Simple greeting function that uses the user's name
return `Hello, ${user.name}!`;
}
export interface User {
id: string;
name: string;
role: "admin" | "member";
tags: string[];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser(id: string): Promise<User | null> {
if (!id) {
return null;
}
const response = await fetch(`/api/users/${id}`, {
method: "GET",
headers: { Accept: "application/json" },
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
return (await response.json()) as User;
}
function greet(user: User): string {
// Simple greeting function that uses the user's name
return `Hello, ${user.name}!`;
}
export interface User {
id: string;
name: string;
role: "admin" | "member";
tags: string[];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser(id: string): Promise<User | null> {
if (!id) {
return null;
}
const response = await fetch(`/api/users/${id}`, {
method: "GET",
headers: { Accept: "application/json" },
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
return (await response.json()) as User;
}
function greet(user: User): string {
// Simple greeting function that uses the user's name
return `Hello, ${user.name}!`;
}
export interface User {
id: string;
name: string;
role: "admin" | "member";
tags: string[];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser(id: string): Promise<User | null> {
if (!id) {
return null;
}
const response = await fetch(`/api/users/${id}`, {
method: "GET",
headers: { Accept: "application/json" },
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
return (await response.json()) as User;
}
function greet(user: User): string {
// Simple greeting function that uses the user's name
return `Hello, ${user.name}!`;
}