Allegory Theme
Collection of over 20 light and dark themes
Collection of over 20 light and dark themes
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded | #D4D4D4 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #6A9955 | — |
| constant.language | #569cd6 | — |
| constant.numeric | #b5cea8 | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #569cd6 | — |
| entity.name.tag.css | #d7ba7d | — |
| entity.other.attribute-name | #9cdcfe | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #d7ba7d | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #569cd6 | bold |
| markup.heading | #569cd6 | bold |
| markup.italic | — | italic |
| markup.inserted | #b5cea8 | — |
| markup.deleted | #ce9178 | — |
| markup.changed | #569cd6 | — |
| punctuation.definition.quote.begin.markdown | #6A9955 | — |
| punctuation.definition.list.begin.markdown | #6796e6 | — |
| markup.inline.raw | #ce9178 | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor | #569cd6 | — |
| meta.preprocessor.string | #ce9178 | — |
| meta.preprocessor.numeric | #b5cea8 | — |
| meta.structure.dictionary.key.python | #9cdcfe | — |
| meta.diff.header | #569cd6 | — |
| storage | #569cd6 | — |
| storage.type | #569cd6 | — |
| storage.modifier | #569cd6 | — |
| string | #ce9178 | — |
| string.tag | #ce9178 | — |
| string.value | #ce9178 | — |
| string.regexp | #d16969 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #569cd6 | — |
| meta.template.expression | #d4d4d4 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #9cdcfe | — |
| keyword | #569cd6 | — |
| keyword.control | #569cd6 | — |
| keyword.operator | #d4d4d4 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python | #569cd6 | — |
| keyword.other.unit | #b5cea8 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #569cd6 | — |
| support.function.git-rebase | #9cdcfe | — |
| constant.sha.git-rebase | #b5cea8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #569cd6 | — |
| entity.name.function, support.function, support.constant.handlebars | #DCDCAA | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #4EC9B0 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #4EC9B0 | — |
| keyword.control | #C586C0 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #9CDCFE | — |
| meta.object-literal.key | #9CDCFE | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #CE9178 | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #CE9178 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #d16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #DCDCAA | — |
| keyword.operator.quantifier.regexp | #d7ba7d | — |
| constant.character | #569cd6 | — |
| constant.character.escape | #d7ba7d | — |
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 |
|---|---|---|
| — | #555555 | — |
| comment | #cccccc | — |
| string | #f7a21b | — |
| constant.numeric | #f7a21b | — |
| constant.language | #f0624b | — |
| constant.character, constant.other | #f0624b | — |
| variable | — | |
| keyword | #f0624b | — |
| storage | #f0624b | |
| storage.type | #3d8e91 | |
| entity.name.class | #f0624b | underline |
| entity.other.inherited-class | #f0624b | |
| entity.name.function | #888c81 | |
| variable.parameter | #555555 | |
| entity.name.tag | #3d8e91 | |
| entity.other.attribute-name | #f0624b | |
| support.function | #3d8e91 | |
| support.constant | #f0624b | |
| support.type, support.class | #f0624b | |
| support.other.variable | — | |
| invalid | #cf433e | |
| invalid.deprecated | #cf433e | — |
| meta.structure.dictionary.json string.quoted.double.json | #f7a21b | — |
| meta.diff, meta.diff.header | #cccccc | — |
| markup.deleted | #e61f44 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #f7b83d | — |
| constant.numeric.line-number.find-in-files - match | #8FBE00A0 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| keyword.other | #a6a6a6 | — |
| meta.property-value, support.constant.property-value, constant.other.color | #f7a21b | — |
| meta.structure.dictionary.json string.quoted.double.json | #f0624b | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #f7a21b | — |
| meta.property-name support.type.property-name | — | normal |
| meta.property-value punctuation.separator.key-value | #555555 | — |
| keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as | #3d8e91 | — |
| meta.use support.class.builtin, meta.other.inherited-class support.class.builtin | #3d8e91 | normal |
| variable.other | #555555 | normal |
| variable.parameter.function.coffee | #f7a21b | |
| entity.name.section.markdown | #f0624b | — |
| punctuation.definition.heading.markdown | #f0624b | — |
| markup.raw.inline.markdown | #f7a21b | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #f0624b | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown | #f0624b | — |
| punctuation.definition.metadata.markdown | #f0624b | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown, meta.image.inline.markdown | #3d8e91 | |
| markup.bold.markdown, markup.italic.markdown | #3d8e91 | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
| markup.raw.block.markdown | #664e4d | — |
| markup.deleted.git_gutter | #e61f44 | — |
| markup.inserted.git_gutter | #a7da1e | — |
| markup.changed.git_gutter | #f7b83d | — |
| meta.template.expression | #555555 | — |
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 |
|---|---|---|
| — | #787673 | — |
| meta.embedded, source.groovy.embedded | #787673 | — |
| comment, punctuation.definition.comment | #c1beb9 | italic |
| variable, string constant.other.placeholder | #ffebf2 | — |
| constant.other.color | #ffebf2 | — |
| invalid, invalid.illegal | #ffebf2 | — |
| keyword, punctuation.accessor, storage.type | #996e00 | — |
| storage.modifier, constant.keyword.clojure | #b88914 | — |
| punctuation, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, meta.function punctuation.separator.comma, punctuation.definition.string, punctuation.definition.parameters, punctuation.terminator.expression, punctuation.definition.arguments, punctuation.definition.array, punctuation.section.array, punctuation.definition.list.begin, punctuation.definition.list.end, punctuation.separator.arguments, punctuation.definition.list, meta.array, source.elixir punctuation.definition.string, string.quoted.double.json punctuation.definition.string.json | #c1beb9 | — |
| keyword.control, constant.other.color, keyword.other.template, keyword.other.substitution | #b88914 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #8b8984 | — |
| meta.function-call, variable.function, support.function, keyword.other.debugger, keyword.other.special-method, entity.name.function.clojure | #8b8984 | — |
| meta.block variable.other | #787673 | — |
| support.other.variable, string.other.link | #996e00 | — |
| constant.language, support.constant, constant.character, constant.escape, keyword.other.unit, keyword.other | #aa7c09 | — |
| constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #936c7a | normal |
| entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #9d9b95 | — |
| support.type | #c39622 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #b88914 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #8b8984 | — |
| variable.other.global.safer.php | #9c818b | — |
| variable.language | #996e00 | italic |
| entity.name.method.js | #875e6d | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor, keyword.control.conditional.js, keyword.control.conditional.ts, keyword.control.switch.js, keyword.control.switch.ts | #c39622 | — |
| storage.type.function.arrow.js, storage.type.function.arrow.js.jsx, storage.type.function.arrow.ts, storage.type.function.arrow.tsx, storage.type.function.arrow.coffee, keyword.operator.assignment, keyword.operator.comparison | #996e00 | — |
| entity.name.function.go, source.go keyword.control.loop.go | #8b8984 | — |
| meta.class.ts entity.name.type.class, meta.class.tsx entity.name.type.class, meta.class meta.function-call variable.function.ts, meta.class meta.function-call variable.function.tsx, source.ts keyword.control.loop.ts, source.tsx keyword.control.loop.tsx, source.ts meta.interface.ts entity.name.type.interface.ts, source.tsx meta.interface.tsx entity.name.type.interface.tsx, source.ts meta.type.declaration.ts entity.name.type.ts, source.tsx meta.type.declaration.tsx entity.name.type.tsx | #8b8984 | — |
| meta.method.identifier.java entity.name.function.java, meta.method.identifier.java storage.type.generic.java, meta.class meta.function-call variable.function.java, source.java keyword.control.loop.java, storage.type.function.arrow.java, meta.class.identifier.java entity.name.type.class.java | #8b8984 | — |
| meta.method.identifier.cs entity.name.function.cs, meta.method.identifier.cs storage.type.generic.cs, meta.class meta.function-call variable.function.cs, source.cs keyword.control.loop.cs, storage.type.function.arrow.cs, meta.class.identifier.cs entity.name.type.class.cs, source.cs entity.name.function.cs, source.cs entity.name.type.class.cs | #8b8984 | — |
| source.elixir entity.name.function.elixir, entity.name.type.module.elixir | #8b8984 | — |
| keyword.control.flow.js, keyword.control.flow.js.jsx, keyword.control.trycatch.js, keyword.control.trycatch.js.jsx, source.js meta.group.braces.curly.js keyword.control.loop.js, source.js.jsx meta.group.braces.curly.js.jsx keyword.control.loop.js.jsx, source.js meta.export.default.js keyword.control.default.js, source.js.jsx meta.export.default.js.jsx keyword.control.default.js.jsx, keyword.control.switch.js, keyword.control.switch.js.jsx | #996e00 | — |
| keyword.control.flow.coffee, keyword.control.trycatch.coffee, source.coffee meta.group.braces.curly.coffee keyword.control.loop.coffee, source.coffee meta.export.default.coffee keyword.control.default.coffee, keyword.control.switch.coffee | #996e00 | — |
| keyword.control.flow.ts, keyword.control.flow.tsx, keyword.control.trycatch.ts, keyword.control.trycatch.tsx, source.ts meta.group.braces.curly.ts keyword.control.loop.ts, source.tsx meta.group.braces.curly.tsx keyword.control.loop.tsx, source.ts meta.export.default.ts keyword.control.default.ts, source.tsx meta.export.default.tsx keyword.control.default.tsx, keyword.control.switch.ts, keyword.control.switch.tsx | #996e00 | — |
| keyword.control.flow.php, keyword.control.trycatch.php, source.php meta.group.braces.curly.php keyword.control.loop.php, keyword.control.switch.php | #996e00 | — |
| source.shell meta.scope.while-loop.shell keyword.control.shell, source.shell meta.scope.for-in-loop.shell keyword.control.shell | #996e00 | italic |
| source.shell meta.scope.while-loop.shell meta.scope.if-block.shell keyword.control.shell, source.shell meta.scope.for-in-loop.shell meta.scope.if-block.shell keyword.control.shell | #996e00 | italic |
| keyword.control.flow.java, keyword.control.trycatch.java, source.java meta.group.braces.curly.java keyword.control.loop.java, keyword.control.switch.java | #996e00 | — |
| source.cs keyword.control.flow, keyword.control.trycatch.cs, source.cs meta.group.braces.curly.cs keyword.control.loop.cs, source.cs keyword.control.switch.cs | #996e00 | — |
| keyword.control.elixir | #996e00 | italic |
| keyword.control.java | #996e00 | italic |
| meta.tag.preprocessor.xml | #996e00 | — |
| meta.tag.preprocessor.xml entity.other.attribute-name | #aeaca7 | — |
| keyword.operator.assignment | #996e00 | — |
| keyword.operator.logical.js, keyword.operator.logical.js.jsx | #996e00 | — |
| keyword.operator.logical.coffee | #996e00 | — |
| keyword.operator.logical.ts, keyword.operator.logical.tsx | #996e00 | — |
| source.go keyword.operator.assignment.go | #996e00 | normal |
| source.php keyword.operator, punctuation.separator.inheritance.php | #996e00 | — |
| source.shell meta.scope.logical-expression.shell | #996e00 | — |
| entity.other.attribute-name | #9c818b | italic |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #c39622 | — |
| text.html.basic | #875e6d | — |
| entity.other.attribute-name.class | #ad1f51 | — |
| source.sass keyword.control | #875e6d | — |
| markup.inserted | #787673 | — |
| markup.deleted | #8b8984 | — |
| markup.deleted.diff | #8b8984 | — |
| markup.inserted.diff | #787673 | — |
| markup.changed | #9c818b | — |
| string.regexp | #c39622 | — |
| constant.character.escape | #c39622 | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #8b8984 | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #8b8984 | italic |
| support.type.property-name.json | #875e6d | — |
| support.constant.json | #787673 | — |
| meta.structure.dictionary.value.json string.quoted.double | #b88914 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value constant.language | #996e00 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #8b8984 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #936c7a | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #9c818b | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #9c818b | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #936c7a | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #875e6d | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #8b8984 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #8b8984 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #8b8984 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #8b8984 | — |
| beginning.punctuation.definition.list.markdown | #996e00 | — |
| text.html.markdown markup.inline.raw.markdown | #9c818b | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #8b8984 | — |
| text.html.markdown meta.dummy.line-break | — | |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, markup.heading1, markup.heading.markdown, entity.name, entity.name.section.markdown, heading.1.markdown | #996e00 | — |
| markup.heading.markdown punctuation.definition.heading.markdown | #875e6d | — |
| markup.italic.markdown | — | italic |
| markup.bold, markup.bold string | #8b8984 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #8b8984 | bold |
| markup.underline | #875e6d | underline |
| markup.strike | strike | |
| markup.quote punctuation.definition.blockquote.markdown | #fbfaf9 | — |
| markup.quote.markdown | #875e6d | — |
| beginning.punctuation.definition.quote.markdown | #996e00 | — |
| meta.paragraph.markdown | #8b8984 | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #936c7a | — |
| markup.quote | italic | |
| string.other.link.title.markdown | #996e00 | — |
| markup.underline.link.markdown | #936c7a | — |
| string.other.link.description.title.markdown | #9c818b | — |
| constant.other.reference.link.markdown | #9d9b95 | — |
| markup.raw.block | #9c818b | — |
| markup.raw.block.fenced.markdown | #fbfaf950 | — |
| punctuation.definition.fenced.markdown | #fbfaf950 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #8b8984 | — |
| variable.language.fenced.markdown | #8b8984 | — |
| meta.separator | #8b8984 | bold |
| markup.table | #8b8984 | — |
| token.info-token | #936c7a | — |
| token.warn-token | #8b8984 | — |
| token.error-token | #8b8984 | — |
| token.debug-token | #9c818b | — |
| string, string.quoted | #ad1f51 | — |
| meta.attribute-selector.css entity.other.attribute-name.attribute, variable.other.readwrite.js | #936c7a | — |
| support.constant.math | #787673 | — |
| string.regexp | #787673 | — |
| constant.numeric, constant.character.numeric | #ad1f51 | — |
| variable.language, variable.other | #996e00 | — |
| variable.language.this.js, variable.language.this.php | #996e00 | — |
| keyword | #787673 | — |
| storage, meta.var.expr, meta.class meta.method.declaration meta.var.expr storage.type.js, storage.type.property.js, storage.type.property.ts, storage.type.property.tsx | #aa7c09 | italic |
| storage.type.class.js | #996e00 | — |
| entity.name.class, meta.class entity.name.type.class | #875e6d | — |
| entity.name.type | #787673 | |
| entity.name.function | #8b8984 | — |
| punctuation.definition.variable | #787673 | — |
| punctuation.section.embedded.begin, punctuation.section.embedded.end | #c1beb9 | — |
| constant.language, punctuation.definition.constant, variable.other.constant, meta.preprocessor | #787673 | — |
| support.function.construct, keyword.other.new | #aa7c09 | — |
| constant.character, constant.other | #996e00 | — |
| constant.character.escape | #8b8984 | — |
| string.regexp, string.regexp keyword.other | #8b8984 | — |
| entity.other.inherited-class | #875e6d | — |
| entity.name.tag | #996e00 | — |
| punctuation.definition.tag, meta.tag | #9d9b95 | — |
| entity.name.tag, meta.tag.other.html, meta.tag.other.js, meta.tag.other.tsx, entity.name.tag.tsx, entity.name.tag.js, entity.name.tag, meta.tag.js, meta.tag.tsx, meta.tag.html | #996e00 | — |
| entity.other.attribute-name | #996e00 | — |
| entity.name.tag.custom | #936c7a | — |
| support.function | #936c7a | — |
| punctuation.separator.continuation | #996e00 | — |
| invalid.broken | #fbfaf9 | — |
| invalid.unimplemented | #996e00 | — |
| invalid.illegal | #996e00 | — |
| support.type, support.class | #c39622 | — |
| support.variable.dom | #996e00 | — |
| support.type.exception | #8b8984 | — |
| support.other.variable | — | — |
| invalid | #996e00 | — |
| invalid.deprecated | #996e00 | — |
| keyword.operator | #b88914 | — |
| keyword.operator.relational | #9c818b | italic |
| keyword.operator.assignment | #996e00 | — |
| keyword.operator.arithmetic | #9c818b | — |
| keyword.operator.bitwise | #9c818b | — |
| keyword.operator.increment | #9c818b | — |
| keyword.operator.ternary | #9c818b | — |
| comment.line.double-slash | #aeaca7 | — |
| object | #936c7a | — |
| constant.language.null | #787673 | — |
| meta.brace | #aeaca7 | — |
| meta.delimiter.period | #875e6d | — |
| constant.language.boolean | #c39622 | — |
| object.comma | #787673 | — |
| variable.parameter.function | #c39622 | — |
| support.type.vendor.property-name, support.constant.vendor.property-value, support.type.property-name, meta.property-list entity.name.tag | #9d9b95 | — |
| meta.property-list entity.name.tag.reference | #936c7a | — |
| constant.other.color.rgb-value punctuation.definition.constant | #8b8984 | — |
| meta.selector | #9c818b | italic |
| entity.other.attribute-name.id | #b88914 | — |
| meta.property-name | #c39622 | — |
| entity.name.tag.doctype, meta.tag.sgml.doctype | #aeaca7 | italic |
| keyword.control.operator | #c39622 | — |
| keyword.operator.logical | #9c818b | — |
| variable.instance, variable.other.instance, variable.readwrite.instance, variable.other.readwrite.instance, variable.other.property | #936c7a | — |
| variable.other.object.property | #875e6d | italic |
| meta.function-call.js.jsx entity.name.function.js.jsx | #9c818b | — |
| variable.other.object.js, variable.other.object.jsx, variable.object.property.js, variable.object.property.jsx | #875e6d | — |
| keyword.operator.comparison, keyword.control.flow.js, keyword.control.flow.ts, keyword.control.flow.tsx, keyword.control.ruby, keyword.control.module.ruby, keyword.control.class.ruby, keyword.control.def.ruby, keyword.control.loop.js, keyword.control.loop.ts, keyword.control.import.js, keyword.control.import.ts, keyword.control.import.tsx, keyword.control.from.js, keyword.control.from.ts, keyword.control.from.tsx | #996e00 | — |
| variable.interpolation | #787673 | — |
| support.variable.property | #c39622 | — |
| string.template meta.template.expression | #787673 | — |
| string.template punctuation.definition.string | #875e6d | — |
| italic | #9c818b | italic |
| bold | #787673 | bold |
| quote | #aeaca7 | italic |
| raw | #787673 | — |
| variable.assignment.coffee | #c39622 | — |
| variable.parameter.function.coffee | #875e6d | — |
| variable.assignment.coffee | #787673 | — |
| variable.other.readwrite.cs | #875e6d | — |
| entity.name.type.class.cs, storage.type.cs | #875e6d | — |
| entity.name.type.namespace.cs | #787673 | — |
| entity.name.tag.css, entity.name.tag.less, entity.name.tag.custom.css, support.constant.property-value.css | #ad1f51 | — |
| entity.name.tag.wildcard.css, entity.name.tag.wildcard.less, entity.name.tag.wildcard.scss, entity.name.tag.wildcard.sass | #ad1f51 | — |
| keyword.other.unit.css, keyword.other.unit.px.css, keyword.other.unit.vw.css, keyword.other.unit.vh.css, keyword.other.unit.ch.css, keyword.other.unit.ex.css, keyword.other.unit.percentage.css, keyword.other.unit.rem.css, keyword.other.unit.em.css | #9c818b | — |
| keyword.control.at-rule.media.css | #aa7c09 | — |
| entity.other.attribute-name.id, punctuation.definition.entity.css | #996e00 | — |
| source.elixir support.type.elixir, source.elixir meta.module.elixir entity.name.class.elixir | #875e6d | — |
| source.elixir entity.name.function | #787673 | — |
| source.elixir constant.other.symbol.elixir, source.elixir constant.other.keywords.elixir | #936c7a | — |
| source.elixir variable.other.readwrite.module.elixir, source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir | #787673 | — |
| source.elixir .punctuation.binary.elixir | #9c818b | italic |
| source.go meta.function-call.go | #787673 | — |
| source.go keyword.package.go, source.go keyword.import.go, source.go keyword.function.go, source.go keyword.type.go, source.go keyword.struct.go, source.go keyword.interface.go, source.go keyword.const.go, source.go keyword.var.go, source.go keyword.map.go, source.go keyword.channel.go, source.go keyword.control.go | #9c818b | italic |
| source.go constant.language.go, source.go constant.other.placeholder.go | #787673 | — |
| meta.class entity.name.type.class, entity.global.clojure | #ad1f51 | — |
| meta.method.declaration storage.type.js, meta.symbol.clojure | #936c7a | — |
| terminator.js | #875e6d | — |
| meta.js punctuation.definition.js | #875e6d | — |
| entity.name.type.instance.jsdoc, entity.name.type.instance.phpdoc | #aeaca7 | — |
| variable.other.jsdoc, variable.other.phpdoc | #c39622 | — |
| variable.other.meta.import.js, meta.import.js variable.other, variable.other.meta.export.js, meta.export.js variable.other | #875e6d | — |
| variable.parameter.function.js | #875e6d | — |
| variable.js, variable.other.js | #875e6d | — |
| entity.name.type.js, entity.name.type.module.js | #c39622 | — |
| support.class.js | #875e6d | — |
| variable.other.ruby | #875e6d | — |
| entity.name.type.class.ruby | #9c818b | — |
| constant.language.symbol.hashkey.ruby | #875e6d | — |
| meta.attribute-selector.less entity.other.attribute-name.attribute | #936c7a | — |
| variable.other.php, variable.other.property.php | #875e6d | — |
| support.class.php | #9c818b | — |
| meta.function-call.php punctuation | #875e6d | — |
| variable.other.global.php | #9c818b | — |
| variable.other.global.php punctuation.definition.variable | #9c818b | — |
| constant.language.python | #9c818b | — |
| variable.parameter.function.python, meta.function-call.arguments.python | #875e6d | — |
| meta.function-call.python, meta.function-call.generic.python | #875e6d | — |
| punctuation.python | #875e6d | — |
| entity.name.function.decorator.python | #787673 | — |
| source.python variable.language.special | #875e6d | — |
| variable.scss, variable.sass, variable.parameter.url.scss, variable.parameter.url.sass | #936c7a | — |
| source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable | #787673 | — |
| meta.attribute-selector.scss entity.other.attribute-name.attribute, meta.attribute-selector.sass entity.other.attribute-name.attribute | #875e6d | — |
| entity.name.tag.scss, entity.name.tag.sass | #787673 | — |
| keyword.other.unit.scss, keyword.other.unit.sass | #aa7c09 | — |
| variable.other.readwrite.alias.ts, variable.other.readwrite.alias.tsx, variable.other.readwrite.ts, variable.other.readwrite.tsx, variable.other.object.ts, variable.other.object.tsx, variable.object.property.ts, variable.object.property.tsx, variable.other.ts, variable.other.tsx, variable.tsx, variable.ts | #875e6d | — |
| entity.name.type.ts, entity.name.type.tsx | #875e6d | — |
| support.class.node.ts, support.class.node.tsx | #875e6d | — |
| meta.type.parameters.ts entity.name.type, meta.type.parameters.tsx entity.name.type | #aeaca7 | — |
| meta.import.ts punctuation.definition.block, meta.import.tsx punctuation.definition.block, meta.export.ts punctuation.definition.block, meta.export.tsx punctuation.definition.block | #875e6d | — |
| meta.decorator punctuation.decorator.ts, meta.decorator punctuation.decorator.tsx | #875e6d | — |
| meta.tag.js meta.jsx.children.tsx | #875e6d | — |
| entity.name.tag.yaml | #875e6d | — |
| variable.other.readwrite.js, variable.parameter | #936c7a | — |
| support.class.component.js, support.class.component.tsx | #ad1f51 | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #875e6d | — |
| entity.name.type.tsx, entity.name.type.module.tsx | #c39622 | — |
| meta.method.declaration storage.type.ts, meta.method.declaration storage.type.tsx | #936c7a | — |
| meta.property-list.css meta.property-value.css variable.other.less, meta.property-list.scss variable.scss, meta.property-list.sass variable.sass, meta.brace, keyword.operator.operator, keyword.operator.or.regexp, keyword.operator.expression.in, keyword.operator.relational, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.type, keyword.operator, keyword, punctuation.definintion.string, punctuation, variable.other.readwrite.js, storage.type, source.css, entity.other.attribute-name.class, entity.other.attribute-name.id, string.quoted, variable.other.constant, variable.language.this.js | — | |
| meta.diff, meta.diff.header | #875e6d | italic |
| markup.deleted | #875e6d | — |
| markup.changed | #875e6d | — |
| markup.inserted | #875e6d | — |
| markup.quote | #8b8984 | — |
| markup.list | #875e6d | — |
| markup.bold, markup.italic | #875e6d | — |
| markup.inline.raw | #996e00 | |
| markup.heading.setext | #936c7a |
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 |
|---|---|---|
| — | #bbb | — |
| comment, punctuation.definition.comment, unused.comment, wildcard.comment | #64727d | italic |
| constant | #eabe9a | — |
| entity | #F7E3AF | — |
| invalid | #bbb | — |
| keyword | #b18bb1 | italic |
| keyword.operator | #D0D6B5 | regular |
| keyword.operator.new | #D0D6B5 | italic |
| variable.language.this | — | italic |
| meta | #DB6E8F | — |
| meta.brace | #D0D6B5 | — |
| punctuation | #D0D6B5 | — |
| punctuation.definition.template-expression, punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #D0D6B5 | — |
| storage | #b18bb1 | italic |
| storage.type.function.arrow | #b18bb1 | regular |
| string, punctuation.definition.string | #A3B09A | — |
| support | #F7E3AF | — |
| support.variable.property | #DB6E8F | — |
| support.function, entity.name.function | #F9B5AC | — |
| variable | #C6878F | — |
| variable.other.property, variable.other.object.property | #DB6E8F | — |
| variable.parameter | #DB6E8F | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #D0D6B5 | — |
| comment.block.documentation storage, comment.block.documentation variable, comment.block.documentation punctuation, comment.block.documentation meta | #64727d | — |
| meta.object-literal.key entity, meta.object-literal.key | #bbb | — |
| source.css entity, source.stylus entity | #eabe9a | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.id.css punctuation.definition.entity.css | #eabe9a | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.css punctuation.definition.entity.css | #eabe9a | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-class.css punctuation.definition.entity.css | #eabe9a | — |
| entity.name.tag | #DB6E8F | — |
| source.css support, source.stylus support | #bbb | — |
| source.css support.constant.media, source.stylus support.constant.media | #D0D6B5 | — |
| entity.other.attribute-name.pseudo-class.css punctuation.definition.entity.css, entity.other.attribute-name.id.css punctuation.definition.entity.css, entity.other.attribute-name.class.css punctuation.definition.entity.css | #D0D6B5 | — |
| source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant | #A3B09A | — |
| source.css constant.numeric, source.stylus constant.numeric | #F9B5AC | — |
| source.css keyword.other.unit, source.stylus keyword.other.unit | #A3B09A | regular |
| source.css string, source.css punctuation.definition.string, source.stylus string, source.stylus punctuation.definition.string | #A3B09A | — |
| punctuation.definition.keyword | #b18bb1 | — |
| meta.property-value.css, source.stylus meta.property-value | #A3B09A | — |
| source.css variable, source.stylus variable | #C6878F | — |
| source.css variable.parameter.url, source.stylus variable.parameter.url | #A3B09A | — |
| meta.property-list.scss, meta.property-list.css | #bbb | — |
| meta.property-value.scss, meta.property-value.less | #A3B09A | — |
| source.css meta.at-rule.keyframes, source.css meta.at-rule.mixin, source.css meta.property-list | #D0D6B5 | — |
| meta.at-rule.each.scss | #D0D6B5 | — |
| text.html.basic entity.name, text.html.basic meta.tag.sgml | #DB6E8F | — |
| meta.toc-list.id.html | #A3B09A | — |
| text.html.basic entity.other | #F7E3AF | italic |
| punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.scope.between-tag-pair.html | #808080 | — |
| text.html.basic meta.tag | #bbb | — |
| constant.name.attribute.tag.jade, args.mixin.jade, string.interpolated.jade, text.jade meta.tag.other, text.jade constant | #D0D6B5 | — |
| entity.other.attribute-name.tag.jade | — | italic |
| entity.other.attribute-name.class.jade, entity.other.attribute-name.id.jade | #eabe9a | — |
| punctuation.definition.tag.xml, punctuation.definition.tag.begin.xml, punctuation.definition.tag.end.xml, meta.scope.between-tag-pair.xml | #808080 | — |
| meta.tag.xml, meta.tag.preprocessor.xml | #bbb | — |
| entity.other.attribute-name.localname.xml | — | italic |
| source.js support.class.component, source.jsx support.class.component | #DB6E8F | — |
| source.js entity.other.attribute-name, source.jsx entity.other.attribute-name | #F7E3AF | italic |
| source.js meta.jsx.children meta.object-literal.key, source.jsx meta.jsx.children meta.object-literal.key | #bbb | — |
| source.js meta.tag variable.other.readwrite, source.jsx meta.tag variable.other.readwrite | #C6878F | — |
| punctuation.definition.tag.begin.js, punctuation.definition.tag.end.js | #808080 | — |
| source.js meta.jsx.children, source.jsx meta.jsx.children | #bbb | — |
| keyword.operator.expression.typeof.js, keyword.operator.expression.instanceof.js | #D0D6B5 | italic |
| meta.embedded.block.json | #D0D6B5 | — |
| source.json support, support.json | #bbb | — |
| support.type.property-name.json | #bbb | — |
| source.json string.json, source.json punctuation.definition.string.json | #A3B09A | — |
| punctuation.definition.heading.markdown | #D0D6B5 | — |
| entity.name.section.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #DB6E8F | bold |
| meta.paragraph.markdown | #bbb | — |
| meta.paragraph.markdown meta.other | #bbb | — |
| beginning.punctuation.definition.quote.markdown | #D0D6B5 | — |
| markup.quote.markdown meta.paragraph.markdown | #A3B09A | italic |
| meta.separator.markdown | #D0D6B5 | — |
| markup.fenced_code.block.markdown | #bbb | — |
| markup.inline.raw.string.markdown | #D0D6B5 | — |
| markup.bold.markdown, markup.bold.markdown punctuation.definition.bold.markdown | #bbb | bold |
| markup.italic.markdown | — | italic |
| beginning.punctuation.definition.list.markdown | #DB6E8F | — |
| string.other.link.title.markdown | #F9B5AC | — |
| string.other.link.title.markdown, string.other.link.description.markdown, string.other.link.description.title.markdown | #F9B5AC | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #7ea9a9 | — |
| fenced_code.block.language, markup.inline.raw.markdown | #A3B09A | — |
| fenced_code.block.language, markup.inline.raw.markdown | #A3B09A | — |
| constant.other.database-name.sql | #bbb | — |
| constant.other.table-name.sql | #bbb | — |
| markup.error | #CC565EDF | — |
| markup.inserted | #9BBA9A | — |
| markup.deleted | #CC565EDF | — |
| markup.changed | #FFB86C | — |
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}!`;
}