ethereal
Publisher: Brandon KongThemes in package: 1
A beautiful dark theme for Visual Studio Code.
A beautiful dark theme for Visual Studio Code.
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 |
|---|---|---|
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #e8b27e | italic |
| entity.other.attribute-name.class | #e8b27e | — |
| source.sass keyword.control | #a3c4ff | — |
| markup.inserted | #88e0b3 | — |
| markup.deleted | #f48771 | — |
| markup.changed | #c894ff | — |
| string.regexp | #7dc8d4 | — |
| constant.character.escape | #7dc8d4 | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #a3c4ff | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #f48771 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #c894ff | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #e8b27e | — |
| 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 | #e8a37e | — |
| 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 | #f48771 | — |
| 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 | #c890a0 | — |
| 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 | #a3c4ff | — |
| 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 | #eaa7d8 | — |
| 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 | #c894ff | — |
| 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 | #88e0b3 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #c5bdd6 | — |
| text.html.markdown markup.inline.raw.markdown | #88e0b3 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #7a6e94 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #c894ff | — |
| markup.italic | #eaa7d8 | italic |
| markup.bold, markup.bold string | #eaa7d8 | 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 | #eaa7d8 | bold |
| markup.underline | #c894ff | underline |
| markup.quote punctuation.definition.blockquote.markdown | #7dc8d4 | — |
| markup.quote | #9089b0 | italic |
| string.other.link.title.markdown | #a3c4ff | — |
| string.other.link.description.title.markdown | #c894ff | — |
| constant.other.reference.link.markdown | #e8b27e | — |
| markup.raw.block | #c894ff | — |
| markup.raw.block.fenced.markdown | #c5bdd6 | — |
| punctuation.definition.fenced.markdown | #7a6e94 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #c5bdd6 | — |
| variable.language.fenced.markdown | #7a6e94 | — |
| meta.separator | #7a6e94 | bold |
| markup.table | #c5bdd6 | — |
| punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison | #c990b0 | — |
| variable.other.generic-type.haskell | #cf88ff | — |
| storage.type.haskell | #e8b27e | — |
| support.variable.magic.python | #c990b0 | — |
| punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python | #c5bdd6 | — |
| variable.parameter.function.language.special.self.python | #9dbaff | — |
| storage.modifier.lifetime.rust | #c5bdd6 | — |
| support.function.std.rust | #88e0b3 | — |
| entity.name.lifetime.rust | #9dbaff | — |
| variable.language.rust | #c990b0 | — |
| support.constant.edge | #cf88ff | — |
| constant.other.character-class.regexp | #c990b0 | — |
| keyword.operator.quantifier.regexp | #e8b27e | — |
| punctuation.definition.string.begin,punctuation.definition.string.end | #eaa7d8 | — |
| variable.parameter.function | #c5bdd6 | — |
| comment markup.link | #7a6e94 | — |
| markup.changed.diff | #9dbaff | — |
| meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff | #88e0b3 | — |
| markup.inserted.diff | #eaa7d8 | — |
| markup.deleted.diff | #c990b0 | — |
| meta.function.c,meta.function.cpp | #c990b0 | — |
| punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c | #c5bdd6 | — |
| punctuation.separator.key-value | #c5bdd6 | — |
| keyword.operator.expression.import | #88e0b3 | — |
| support.constant.math | #9dbaff | — |
| support.constant.property.math | #e8b27e | — |
| variable.other.constant | #9dbaff | — |
| storage.type.annotation.java, storage.type.object.array.java | #9dbaff | — |
| source.java | #c990b0 | — |
| punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java | #c5bdd6 | — |
| meta.method.java | #88e0b3 | — |
| storage.modifier.import.java,storage.type.java,storage.type.generic.java | #9dbaff | — |
| keyword.operator.instanceof.java | #cf88ff | — |
| meta.definition.variable.name.java | #c990b0 | — |
| keyword.operator.logical | #7dc8d4 | — |
| keyword.operator.bitwise | #7dc8d4 | — |
| keyword.operator.channel | #7dc8d4 | — |
| support.constant.property-value.scss,support.constant.property-value.css | #e8b27e | — |
| keyword.operator.css,keyword.operator.scss,keyword.operator.less | #7dc8d4 | — |
| support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss | #e8b27e | — |
| punctuation.separator.list.comma.css | #c5bdd6 | — |
| support.constant.color.w3c-standard-color-name.css | #e8b27e | — |
| support.type.vendored.property-name.css | #7dc8d4 | — |
| support.module.node,support.type.object.module,support.module.node | #9dbaff | — |
| entity.name.type.module | #9dbaff | — |
| variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node | #c990b0 | — |
| support.constant.json | #e8b27e | — |
| keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof | #cf88ff | — |
| support.type.object.console | #c990b0 | — |
| support.variable.property.process | #e8b27e | — |
| entity.name.function,support.function.console | #88e0b3 | — |
| keyword.operator.misc.rust | #c5bdd6 | — |
| keyword.operator.sigil.rust | #cf88ff | — |
| keyword.operator.delete | #cf88ff | — |
| support.type.object.dom | #7dc8d4 | — |
| support.variable.dom,support.variable.property.dom | #c990b0 | — |
| keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational | #7dc8d4 | — |
| keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp | #cf88ff | — |
| punctuation.separator.delimiter | #c5bdd6 | — |
| punctuation.separator.c,punctuation.separator.cpp | #cf88ff | — |
| support.type.posix-reserved.c,support.type.posix-reserved.cpp | #7dc8d4 | — |
| keyword.operator.sizeof.c,keyword.operator.sizeof.cpp | #cf88ff | — |
| variable.parameter.function.language.python | #e8b27e | — |
| support.type.python | #7dc8d4 | — |
| keyword.operator.logical.python | #cf88ff | — |
| variable.parameter.function.python | #e8b27e | — |
| punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python | #c5bdd6 | — |
| meta.function-call.generic.python | #88e0b3 | — |
| constant.character.format.placeholder.other.python | #e8b27e | — |
| keyword.operator | #c5bdd6 | — |
| keyword.operator.assignment.compound | #cf88ff | — |
| keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts | #7dc8d4 | — |
| keyword | #cf88ff | — |
| entity.name.namespace | #9dbaff | — |
| variable | #c990b0 | — |
| variable.c | #c5bdd6 | — |
| variable.language | #9dbaff | — |
| token.variable.parameter.java | #c5bdd6 | — |
| import.storage.java | #9dbaff | — |
| token.package.keyword | #cf88ff | — |
| token.package | #c5bdd6 | — |
| entity.name.function, meta.require, support.function.any-method, variable.function | #88e0b3 | — |
| entity.name.type.namespace | #9dbaff | — |
| support.class, entity.name.type.class | #9dbaff | — |
| entity.name.class.identifier.namespace.type | #9dbaff | — |
| entity.name.class, variable.other.class.js, variable.other.class.ts | #9dbaff | — |
| variable.other.class.php | #c990b0 | — |
| entity.name.type | #9dbaff | — |
| keyword.control | #cf88ff | — |
| control.elements, keyword.operator.less | #e8b27e | — |
| keyword.other.special-method | #88e0b3 | — |
| storage | #cf88ff | — |
| token.storage | #cf88ff | — |
| keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void | #cf88ff | — |
| token.storage.type.java | #9dbaff | — |
| support.function | #7dc8d4 | — |
| support.type.property-name | #c5bdd6 | — |
| support.constant.property-value | #c5bdd6 | — |
| support.constant.font-name | #e8b27e | — |
| meta.tag | #c5bdd6 | — |
| string | #eaa7d8 | — |
| entity.other.inherited-class | #9dbaff | — |
| constant.other.symbol | #7dc8d4 | — |
| constant.numeric | #e8b27e | — |
| constant | #e8b27e | — |
| punctuation.definition.constant | #e8b27e | — |
| entity.name.tag | #cf88ff | — |
| entity.other.attribute-name | #e8b27e | — |
| entity.other.attribute-name.id | #88e0b3 | |
| entity.other.attribute-name.class.css | #e8b27e | |
| meta.selector | #cf88ff | — |
| markup.heading, entity.name.section, entity.name.section.markdown, markup.heading.markdown, markup.heading.setext, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #c894ff | bold |
| markup.heading punctuation.definition.heading, punctuation.definition.heading.markdown | #7a6e94 | — |
| keyword.other.unit | #c990b0 | — |
| markup.bold, markup.bold string, todo.bold | #e8b27e | bold |
| punctuation.definition.bold, punctuation.definition.bold.markdown | #7a6e94 | — |
| markup.italic, markup.italic.markdown, todo.emphasis, emphasis md | #a3c4ff | italic |
| punctuation.definition.italic, punctuation.definition.italic.markdown | #7a6e94 | — |
| markup.bold markup.italic, markup.italic markup.bold | #c894ff | bold italic |
| markup.strikethrough, markup.strikethrough.markdown | #7a6e94 | strikethrough |
| markup.inline.raw.markdown, markup.inline.raw.string.markdown | #88e0b3 | — |
| punctuation.definition.raw.markdown | #7a6e94 | — |
| punctuation.definition.list.markdown, punctuation.definition.list.begin.markdown, beginning.punctuation.definition.list.markdown, markup.list punctuation.definition.list.begin, markup.list.unnumbered punctuation.definition.list.begin | #cf88ff | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown, punctuation.definition.link.markdown | #7a6e94 | — |
| string.other.link.title.markdown, string.other.link.description.markdown, string.other.link.description.title.markdown | #a3c4ff | underline |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #7dc8d4 | — |
| constant.other.reference.link.markdown, constant.other.reference.markdown | #e8b27e | — |
| markup.quote punctuation.definition.blockquote.markdown, punctuation.definition.quote.begin.markdown | #c894ff | — |
| markup.quote, markup.quote.markdown | #9089b0 | italic |
| meta.separator, meta.separator.markdown | #7a6e94 | bold |
| markup.table, markup.table.markdown | #c5bdd6 | — |
| punctuation.separator.table.markdown, punctuation.definition.table.markdown | #7a6e94 | — |
| punctuation.definition.markdown, markup.fenced_code.block.markdown punctuation.definition.markdown | #7a6e94 | — |
| fenced_code.block.language.markdown, fenced_code.block.language | #7dc8d4 | italic |
| markup.checkbox.markdown, markup.list.task.markdown | #88e0b3 | — |
| string.regexp | #7dc8d4 | — |
| constant.character.escape | #7dc8d4 | — |
| punctuation.section.embedded, variable.interpolation | #c990b0 | — |
| punctuation.section.embedded.begin,punctuation.section.embedded.end | #cf88ff | — |
| invalid.illegal | #ffffff | — |
| invalid.illegal.bad-ampersand.html | #c5bdd6 | — |
| invalid.broken | #ffffff | — |
| invalid.deprecated | #ffffff | — |
| invalid.unimplemented | #ffffff | — |
| source.json meta.structure.dictionary.json > string.quoted.json | #c990b0 | — |
| source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string | #c990b0 | — |
| source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation | #eaa7d8 | — |
| source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json | #7dc8d4 | — |
| support.type.property-name.json | #c990b0 | — |
| support.type.property-name.json punctuation | #c990b0 | — |
| text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade | #cf88ff | — |
| text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade | #cf88ff | — |
| support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php | #9dbaff | — |
| keyword.operator.error-control.php | #cf88ff | — |
| keyword.operator.type.php | #cf88ff | — |
| punctuation.section.array.begin.php | #c5bdd6 | — |
| punctuation.section.array.end.php | #c5bdd6 | — |
| invalid.illegal.non-null-typehinted.php | #f48771 | — |
| storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php | #9dbaff | — |
| meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php | #88e0b3 | — |
| punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php | #c5bdd6 | — |
| support.constant.core.rust | #e8b27e | — |
| support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php | #e8b27e | — |
| entity.name.goto-label.php,support.other.php | #88e0b3 | — |
| keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php | #7dc8d4 | — |
| keyword.operator.regexp.php | #cf88ff | — |
| keyword.operator.comparison.php | #7dc8d4 | — |
| keyword.operator.heredoc.php,keyword.operator.nowdoc.php | #cf88ff | — |
| meta.function.decorator.python | #88e0b3 | — |
| support.token.decorator.python,meta.function.decorator.identifier.python | #7dc8d4 | — |
| function.parameter | #c5bdd6 | — |
| function.brace | #c5bdd6 | — |
| function.parameter.ruby, function.parameter.cs | #c5bdd6 | — |
| constant.language.symbol.ruby | #7dc8d4 | — |
| rgb-value | #7dc8d4 | — |
| inline-color-decoration rgb-value | #e8b27e | — |
| less rgb-value | #e8b27e | — |
| selector.sass | #c990b0 | — |
| support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx | #9dbaff | — |
| block.scope.end,block.scope.begin | #c5bdd6 | — |
| storage.type.cs | #9dbaff | — |
| entity.name.variable.local.cs | #c990b0 | — |
| token.info-token | #88e0b3 | — |
| token.warn-token | #e8b27e | — |
| token.error-token | #f48771 | — |
| token.debug-token | #cf88ff | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #cf88ff | — |
| meta.template.expression | #c5bdd6 | — |
| keyword.operator.module | #cf88ff | — |
| support.type.type.flowtype | #88e0b3 | — |
| support.type.primitive | #9dbaff | — |
| meta.property.object | #c990b0 | — |
| variable.parameter.function.js | #c990b0 | — |
| keyword.other.template.begin | #eaa7d8 | — |
| keyword.other.template.end | #eaa7d8 | — |
| keyword.other.substitution.begin | #eaa7d8 | — |
| keyword.other.substitution.end | #eaa7d8 | — |
| keyword.operator.assignment | #7dc8d4 | — |
| keyword.operator.assignment.go | #9dbaff | — |
| keyword.operator.arithmetic.go, keyword.operator.address.go | #cf88ff | — |
| entity.name.package.go | #9dbaff | — |
| support.type.prelude.elm | #7dc8d4 | — |
| support.constant.elm | #e8b27e | — |
| punctuation.quasi.element | #cf88ff | — |
| constant.character.entity | #c990b0 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #7dc8d4 | — |
| entity.global.clojure | #9dbaff | — |
| meta.symbol.clojure | #c990b0 | — |
| constant.keyword.clojure | #7dc8d4 | — |
| meta.arguments.coffee, variable.parameter.function.coffee | #c990b0 | — |
| source.ini | #eaa7d8 | — |
| meta.scope.prerequisites.makefile | #c990b0 | — |
| source.makefile | #9dbaff | — |
| storage.modifier.import.groovy | #9dbaff | — |
| meta.method.groovy | #88e0b3 | — |
| meta.definition.variable.name.groovy | #c990b0 | — |
| meta.definition.class.inherited.classes.groovy | #eaa7d8 | — |
| support.variable.semantic.hlsl | #9dbaff | — |
| support.type.texture.hlsl, support.type.sampler.hlsl, support.type.object.hlsl, support.type.object.rw.hlsl, support.type.fx.hlsl, support.type.object.hlsl | #cf88ff | — |
| text.variable, text.bracketed | #c990b0 | — |
| support.type.swift, support.type.vb.asp | #9dbaff | — |
| entity.name.function.xi | #9dbaff | — |
| entity.name.class.xi | #7dc8d4 | — |
| constant.character.character-class.regexp.xi | #c990b0 | — |
| constant.regexp.xi | #cf88ff | — |
| keyword.control.xi | #7dc8d4 | — |
| invalid.xi | #c5bdd6 | — |
| beginning.punctuation.definition.quote.markdown.xi | #eaa7d8 | — |
| beginning.punctuation.definition.list.markdown.xi | #7a6e94 | — |
| constant.character.xi | #88e0b3 | — |
| accent.xi | #88e0b3 | — |
| wikiword.xi | #e8b27e | — |
| constant.other.color.rgb-value.xi | #ffffff | — |
| punctuation.definition.tag.xi | #7a6e94 | — |
| entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition | #9dbaff | — |
| entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #c990b0 | — |
| meta.brace.square | #c5bdd6 | — |
| comment, punctuation.definition.comment | #7a6e94 | italic |
| markup.quote.markdown | #7a6e94 | — |
| punctuation.definition.block.sequence.item.yaml | #c5bdd6 | — |
| constant.language.symbol.elixir | #7dc8d4 | — |
| entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super | — | italic |
| comment.line.double-slash,comment.block.documentation | — | italic |
| keyword.control.import.python,keyword.control.flow.python | — | italic |
| markup.italic.markdown | — | italic |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.tag.begin.js, punctuation.definition.tag.end.js, punctuation.definition.tag.begin.tsx, punctuation.definition.tag.end.tsx, meta.tag punctuation.definition.tag | #7a6e94 | — |
| punctuation.separator.key-value.html, meta.tag punctuation.separator.key-value | #7a6e94 | — |
| meta.tag.metadata.doctype, meta.tag.sgml.doctype, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml.doctype string | #7a6e94 | italic |
| constant.character.entity.html, constant.character.entity.named.html, constant.character.entity.numeric.html, punctuation.definition.entity.html | #7dc8d4 | — |
| support.class.component, support.class.component.jsx, support.class.component.tsx, entity.name.tag.support.component | #9dbaff | — |
| meta.embedded.expression.tsx punctuation.section.embedded.begin.tsx, meta.embedded.expression.tsx punctuation.section.embedded.end.tsx, meta.embedded.expression.jsx punctuation.section.embedded.begin.jsx, meta.embedded.expression.jsx punctuation.section.embedded.end.jsx | #cf88ff | — |
| entity.name.tag.css, entity.name.tag.scss, entity.name.tag.less | #cf88ff | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.scss, entity.other.attribute-name.class.mixin.css, source.css entity.other.attribute-name.class | #e8b27e | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.id.scss, source.css entity.other.attribute-name.id | #88e0b3 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.scss, entity.other.attribute-name.pseudo-element.scss | #7dc8d4 | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less, meta.property-name.css | #9dbaff | — |
| support.constant.property-value.css, support.constant.property-value.scss, support.constant.color.w3c-standard-color-name.css, support.constant.font-name.css | #e8b27e | — |
| variable.css, variable.scss, variable.argument.css, variable.parameter.url.scss, variable.other.custom-property.css | #c990b0 | — |
| keyword.control.at-rule, keyword.control.at-rule.media, keyword.control.at-rule.keyframes, keyword.control.at-rule.import, punctuation.definition.keyword.css | #cf88ff | — |
| keyword.other.important.css, keyword.other.important.scss | #f48771 | bold italic |
| string.quoted.single.css, string.quoted.double.css | #eaa7d8 | — |
| constant.numeric.css, keyword.other.unit.css, keyword.other.unit.percentage.css | #e8b27e | — |
| support.type.property-name.json, source.json support.type.property-name | #cf88ff | — |
| source.json string.quoted.double, source.json meta.structure.dictionary.value string.quoted, source.json meta.structure.array string.quoted | #eaa7d8 | — |
| source.json constant.language, constant.language.json | #7dc8d4 | — |
| source.json constant.numeric | #e8b27e | — |
| entity.name.tag.yaml, entity.name.tag.local.yaml | #cf88ff | — |
| entity.name.type.anchor.yaml, punctuation.definition.anchor.yaml, variable.other.alias.yaml, punctuation.definition.alias.yaml | #88e0b3 | — |
| meta.decorator variable.other.readwrite, meta.decorator entity.name.function, meta.decorator punctuation.decorator, punctuation.decorator | #88e0b3 | italic |
| entity.name.type.alias, entity.name.type.interface, entity.name.type.module | #9dbaff | — |
| variable.language.self.python, variable.language.special.self.python | #9dbaff | italic |
| meta.fstring.python meta.embedded, string.quoted.single.python meta.embedded, string.quoted.double.python meta.embedded | #c5bdd6 | — |
| punctuation.definition.decorator.python, entity.name.function.decorator.python | #88e0b3 | italic |
| entity.name.function.macro.rust, support.function.macro.rust, punctuation.definition.macro.rust | #88e0b3 | — |
| variable.parameter.receiver.go | #9dbaff | italic |
| punctuation.definition.variable.shell, string.quoted.double.shell variable.other | #c990b0 | — |
| punctuation.definition.group.regexp, meta.group.regexp | #cf88ff | — |
| constant.other.character-class.set.regexp, punctuation.definition.character-class.regexp | #7dc8d4 | — |
| markup.underline.link, string.other.link | #7dc8d4 | underline |
| markup.inserted, markup.inserted.diff | #88e0b3 | — |
| markup.deleted, markup.deleted.diff | #f48771 | — |
| markup.changed, markup.changed.diff | #e8b27e | — |
| meta.diff.header, meta.diff.range | #c894ff | bold |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}