Twilight Lilac Theme
Publisher: XnotThemes in package: 1
Very dark theme based on shades of purple.
Very dark theme based on shades of purple.
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 |
|---|---|---|
| comment | #5C6370 | — |
| comment markup.link | #5C6370 | — |
| entity.name.type | #E5C07B | — |
| entity.other.inherited-class | #E5C07B | — |
| keyword | #C678DD | — |
| keyword.control | #C678DD | — |
| keyword.operator | #C678DD | — |
| keyword.other.special-method | #61AFEF | — |
| keyword.other.unit | #D19A66 | — |
| storage | #C678DD | — |
| storage.type.annotation, storage.type.primitive | #C678DD | — |
| storage.modifier.package, storage.modifier.import | #ABB2BF | — |
| constant | #D19A66 | — |
| constant.variable | #D19A66 | — |
| constant.character.escape | #56B6C2 | — |
| constant.numeric | #D19A66 | — |
| constant.other.color | #56B6C2 | — |
| constant.other.symbol | #56B6C2 | — |
| variable | #E06C75 | — |
| variable.interpolation | #BE5046 | — |
| variable.parameter | #ABB2BF | — |
| string | #98C379 | — |
| string > source, string embedded | #ABB2BF | — |
| string.regexp | #56B6C2 | — |
| string.regexp source.ruby.embedded | #E5C07B | — |
| string.other.link | #E06C75 | — |
| punctuation.definition.comment | #5C6370 | — |
| punctuation.definition.method-parameters, punctuation.definition.function-parameters, punctuation.definition.parameters, punctuation.definition.separator, punctuation.definition.seperator, punctuation.definition.array | #ABB2BF | — |
| punctuation.definition.heading, punctuation.definition.identity | #61AFEF | — |
| punctuation.definition.bold | #E5C07B | bold |
| punctuation.definition.italic | #C678DD | — |
| punctuation.section.embedded | #BE5046 | — |
| punctuation.section.method, punctuation.section.class, punctuation.section.inner-class | #ABB2BF | — |
| support.class | #E5C07B | — |
| support.type | #56B6C2 | — |
| support.function | #56B6C2 | — |
| support.function.any-method | #61AFEF | — |
| entity.name.function | #61AFEF | — |
| entity.name.class, entity.name.type.class | #E5C07B | — |
| entity.name.section | #61AFEF | — |
| entity.name.tag | #E06C75 | — |
| entity.other.attribute-name | #D19A66 | — |
| entity.other.attribute-name.id | #61AFEF | — |
| meta.class | #E5C07B | — |
| meta.class.body | #ABB2BF | — |
| meta.method-call, meta.method | #ABB2BF | — |
| meta.definition.variable | #E06C75 | — |
| meta.link | #D19A66 | — |
| meta.require | #61AFEF | — |
| meta.selector | #C678DD | — |
| meta.separator | #ABB2BF | — |
| meta.tag | #ABB2BF | — |
| underline | — | — |
| none | #ABB2BF | — |
| invalid.deprecated | #523D14 | — |
| invalid.illegal | — | — |
| markup.bold | #D19A66 | bold |
| markup.changed | #C678DD | — |
| markup.deleted | #E06C75 | — |
| markup.italic | #C678DD | italic |
| markup.heading | #E06C75 | — |
| markup.heading punctuation.definition.heading | #61AFEF | — |
| markup.link | #56B6C2 | — |
| markup.inserted | #98C379 | — |
| markup.quote | #D19A66 | — |
| markup.raw | #98C379 | — |
| source.c keyword.operator | #C678DD | — |
| source.cpp keyword.operator | #C678DD | — |
| source.cs keyword.operator | #C678DD | — |
| source.css property-name, source.css property-value | #828997 | — |
| source.css property-name.support, source.css property-value.support | #ABB2BF | — |
| source.elixir source.embedded.source | #ABB2BF | — |
| source.elixir constant.language, source.elixir constant.numeric, source.elixir constant.definition | #61AFEF | — |
| source.elixir variable.definition, source.elixir variable.anonymous | #C678DD | — |
| source.elixir parameter.variable.function | #D19A66 | — |
| source.elixir quoted | #98C379 | — |
| source.elixir keyword.special-method, source.elixir embedded.section, source.elixir embedded.source.empty | #E06C75 | — |
| source.elixir readwrite.module punctuation | #E06C75 | — |
| source.elixir regexp.section, source.elixir regexp.string | #BE5046 | — |
| source.elixir separator, source.elixir keyword.operator | #D19A66 | — |
| source.elixir variable.constant | #E5C07B | — |
| source.elixir array, source.elixir scope, source.elixir section | #828997 | — |
| source.gfm markup | — | — |
| source.gfm link entity | #61AFEF | — |
| source.go storage.type.string | #C678DD | — |
| source.ini keyword.other.definition.ini | #E06C75 | — |
| source.java storage.modifier.import | #E5C07B | — |
| source.java storage.type | #E5C07B | — |
| source.java keyword.operator.instanceof | #C678DD | — |
| source.java-properties meta.key-pair | #E06C75 | — |
| source.java-properties meta.key-pair > punctuation | #ABB2BF | — |
| source.js keyword.operator | #56B6C2 | — |
| source.js keyword.operator.delete, source.js keyword.operator.in, source.js keyword.operator.of, source.js keyword.operator.instanceof, source.js keyword.operator.new, source.js keyword.operator.typeof, source.js keyword.operator.void | #C678DD | — |
| source.ts keyword.operator | #56B6C2 | — |
| source.flow keyword.operator | #56B6C2 | — |
| source.json meta.structure.dictionary.json > string.quoted.json | #E06C75 | — |
| source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string | #E06C75 | — |
| 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 | #98C379 | — |
| source.json meta.structure.dictionary.json > constant.language.json, source.json meta.structure.array.json > constant.language.json | #56B6C2 | — |
| ng.interpolation | #E06C75 | — |
| ng.interpolation.begin, ng.interpolation.end | #61AFEF | — |
| ng.interpolation function | #E06C75 | — |
| ng.interpolation function.begin, ng.interpolation function.end | #61AFEF | — |
| ng.interpolation bool | #D19A66 | — |
| ng.interpolation bracket | #ABB2BF | — |
| ng.pipe, ng.operator | #ABB2BF | — |
| ng.tag | #56B6C2 | — |
| ng.attribute-with-value attribute-name | #E5C07B | — |
| ng.attribute-with-value string | #C678DD | — |
| ng.attribute-with-value string.begin, ng.attribute-with-value string.end | #ABB2BF | — |
| source.ruby constant.other.symbol > punctuation | — | — |
| source.php class.bracket | #ABB2BF | — |
| source.python keyword.operator.logical.python | #C678DD | — |
| source.python variable.parameter | #D19A66 | — |
| customrule | #ABB2BF | — |
| support.type.property-name | #ABB2BF | — |
| string.quoted.double punctuation | #98C379 | — |
| support.constant | #D19A66 | — |
| support.type.property-name.json | #E06C75 | — |
| support.type.property-name.json punctuation | #E06C75 | — |
| punctuation.separator.key-value.ts, punctuation.separator.key-value.js, punctuation.separator.key-value.tsx | #56B6C2 | — |
| source.js.embedded.html keyword.operator, source.ts.embedded.html keyword.operator | #56B6C2 | — |
| variable.other.readwrite.js, variable.other.readwrite.ts, variable.other.readwrite.tsx | #ABB2BF | — |
| support.variable.dom.js, support.variable.dom.ts | #E06C75 | — |
| support.variable.property.dom.js, support.variable.property.dom.ts | #E06C75 | — |
| meta.template.expression.js punctuation.definition, meta.template.expression.ts punctuation.definition | #BE5046 | — |
| source.ts punctuation.definition.typeparameters, source.js punctuation.definition.typeparameters, source.tsx punctuation.definition.typeparameters | #ABB2BF | — |
| source.ts punctuation.definition.block, source.js punctuation.definition.block, source.tsx punctuation.definition.block | #ABB2BF | — |
| source.ts punctuation.separator.comma, source.js punctuation.separator.comma, source.tsx punctuation.separator.comma | #ABB2BF | — |
| support.variable.property.js, support.variable.property.ts, support.variable.property.tsx | #E06C75 | — |
| keyword.control.default.js, keyword.control.default.ts, keyword.control.default.tsx | #E06C75 | — |
| keyword.operator.expression.instanceof.js, keyword.operator.expression.instanceof.ts, keyword.operator.expression.instanceof.tsx | #C678DD | — |
| keyword.operator.expression.of.js, keyword.operator.expression.of.ts, keyword.operator.expression.of.tsx | #C678DD | — |
| meta.brace.round.js, meta.array-binding-pattern-variable.js, meta.brace.square.js, meta.brace.round.ts, meta.array-binding-pattern-variable.ts, meta.brace.square.ts, meta.brace.round.tsx, meta.array-binding-pattern-variable.tsx, meta.brace.square.tsx | #ABB2BF | — |
| source.js punctuation.accessor, source.ts punctuation.accessor, source.tsx punctuation.accessor | #ABB2BF | — |
| punctuation.terminator.statement.js, punctuation.terminator.statement.ts, punctuation.terminator.statement.tsx | #ABB2BF | — |
| meta.array-binding-pattern-variable.js variable.other.readwrite.js, meta.array-binding-pattern-variable.ts variable.other.readwrite.ts, meta.array-binding-pattern-variable.tsx variable.other.readwrite.tsx | #D19A66 | — |
| source.js support.variable, source.ts support.variable, source.tsx support.variable | #E06C75 | — |
| variable.other.constant.property.js, variable.other.constant.property.ts, variable.other.constant.property.tsx | #D19A66 | — |
| keyword.operator.new.ts, keyword.operator.new.j, keyword.operator.new.tsx | #C678DD | — |
| source.ts keyword.operator, source.tsx keyword.operator | #56B6C2 | — |
| punctuation.separator.parameter.js, punctuation.separator.parameter.ts, punctuation.separator.parameter.tsx | #ABB2BF | — |
| constant.language.import-export-all.js, constant.language.import-export-all.ts | #E06C75 | — |
| constant.language.import-export-all.jsx, constant.language.import-export-all.tsx | #56B6C2 | — |
| keyword.control.as.js, keyword.control.as.ts, keyword.control.as.jsx, keyword.control.as.tsx | #ABB2BF | — |
| variable.other.readwrite.alias.js, variable.other.readwrite.alias.ts, variable.other.readwrite.alias.jsx, variable.other.readwrite.alias.tsx | #E06C75 | — |
| variable.other.constant.js, variable.other.constant.ts, variable.other.constant.jsx, variable.other.constant.tsx | #D19A66 | — |
| meta.export.default.js variable.other.readwrite.js, meta.export.default.ts variable.other.readwrite.ts | #E06C75 | — |
| source.js meta.template.expression.js punctuation.accessor, source.ts meta.template.expression.ts punctuation.accessor, source.tsx meta.template.expression.tsx punctuation.accessor | #98C379 | — |
| source.js meta.import-equals.external.js keyword.operator, source.jsx meta.import-equals.external.jsx keyword.operator, source.ts meta.import-equals.external.ts keyword.operator, source.tsx meta.import-equals.external.tsx keyword.operator | #ABB2BF | — |
| entity.name.type.module.js,entity.name.type.module.ts,entity.name.type.module.jsx,entity.name.type.module.tsx | #98C379 | — |
| meta.class.js,meta.class.ts,meta.class.jsx,meta.class.tsx | #ABB2BF | — |
| meta.definition.property.js variable, meta.definition.property.ts variable, meta.definition.property.jsx variable, meta.definition.property.tsx variable | #ABB2BF | — |
| meta.type.parameters.js support.type, meta.type.parameters.jsx support.type, meta.type.parameters.ts support.type, meta.type.parameters.tsx support.type | #ABB2BF | — |
| source.js meta.tag.js keyword.operator, source.jsx meta.tag.jsx keyword.operator, source.ts meta.tag.ts keyword.operator, source.tsx meta.tag.tsx keyword.operator | #ABB2BF | — |
| meta.tag.js punctuation.section.embedded, meta.tag.jsx punctuation.section.embedded, meta.tag.ts punctuation.section.embedded, meta.tag.tsx punctuation.section.embedded | #ABB2BF | — |
| meta.array.literal.js variable, meta.array.literal.jsx variable, meta.array.literal.ts variable, meta.array.literal.tsx variable | #E5C07B | — |
| support.type.object.module.js, support.type.object.module.jsx, support.type.object.module.ts, support.type.object.module.tsx | #E06C75 | — |
| constant.language.json | #56B6C2 | — |
| variable.other.constant.object.js, variable.other.constant.object.jsx, variable.other.constant.object.ts, variable.other.constant.object.tsx | #D19A66 | — |
| storage.type.property.js, storage.type.property.jsx, storage.type.property.ts, storage.type.property.tsx | #56B6C2 | — |
| meta.template.expression.js string.quoted punctuation.definition, meta.template.expression.jsx string.quoted punctuation.definition, meta.template.expression.ts string.quoted punctuation.definition, meta.template.expression.tsx string.quoted punctuation.definition | #98C379 | — |
| meta.template.expression.js string.template punctuation.definition.string.template, meta.template.expression.jsx string.template punctuation.definition.string.template, meta.template.expression.ts string.template punctuation.definition.string.template, meta.template.expression.tsx string.template punctuation.definition.string.template | #98C379 | — |
| keyword.operator.expression.in.js, keyword.operator.expression.in.jsx, keyword.operator.expression.in.ts, keyword.operator.expression.in.tsx | #C678DD | — |
| variable.other.object.js, variable.other.object.ts | #ABB2BF | — |
| meta.object-literal.key.js, meta.object-literal.key.ts | #E06C75 | — |
| source.python constant.other | #ABB2BF | — |
| source.python constant | #D19A66 | — |
| constant.character.format.placeholder.other.python storage | #D19A66 | — |
| support.variable.magic.python | #E06C75 | — |
| meta.function.parameters.python | #CEB2C8 | — |
| punctuation.separator.annotation.python | #ABB2BF | — |
| punctuation.separator.parameters.python | #ABB2BF | — |
| entity.name.variable.field.cs | #E06C75 | — |
| source.cs keyword.operator | #ABB2BF | — |
| variable.other.readwrite.cs | #ABB2BF | — |
| variable.other.object.cs | #ABB2BF | — |
| variable.other.object.property.cs | #ABB2BF | — |
| entity.name.variable.property.cs | #61AFEF | — |
| storage.type.cs | #E5C07B | — |
| keyword.other.unsafe.rust | #C678DD | — |
| entity.name.type.rust | #56B6C2 | — |
| storage.modifier.lifetime.rust | #ABB2BF | — |
| entity.name.lifetime.rust | #D19A66 | — |
| storage.type.core.rust | #56B6C2 | — |
| meta.attribute.rust | #D19A66 | — |
| storage.class.std.rust | #56B6C2 | — |
| markup.raw.block.markdown | #ABB2BF | — |
| punctuation.definition.variable.shell | #E06C75 | — |
| support.constant.property-value.css | #ABB2BF | — |
| punctuation.definition.constant.css | #D19A66 | — |
| punctuation.separator.key-value.scss | #E06C75 | — |
| punctuation.definition.constant.scss | #D19A66 | — |
| meta.property-list.scss punctuation.separator.key-value.scss | #ABB2BF | — |
| storage.type.primitive.array.java | #E5C07B | — |
| entity.name.section.markdown | #E06C75 | — |
| punctuation.definition.heading.markdown | #E06C75 | — |
| markup.heading.setext | #ABB2BF | — |
| punctuation.definition.bold.markdown | #D19A66 | — |
| markup.inline.raw.markdown | #98C379 | — |
| beginning.punctuation.definition.list.markdown | #E06C75 | — |
| markup.quote.markdown | #5C6370 | italic |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #ABB2BF | — |
| punctuation.definition.metadata.markdown | #C678DD | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #C678DD | — |
| string.other.link.title.markdown, string.other.link.description.markdown | #61AFEF | — |
| punctuation.separator.variable.ruby | #E06C75 | — |
| variable.other.constant.ruby | #D19A66 | — |
| keyword.operator.other.ruby | #98C379 | — |
| punctuation.definition.variable.php | #E06C75 | — |
| meta.class.php | #ABB2BF | — |
| 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 | #DBDBDB | — |
| variable.other.generic-type.haskell | #B796D3 | — |
| storage.type.haskell | #55C2BE | — |
| support.variable.magic.python | #DBDBDB | — |
| punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python | #B4B4B4 | — |
| variable.parameter.function.language.special.self.python | #55C2BE | — |
| storage.modifier.lifetime.rust | #B4B4B4 | — |
| support.function.std.rust | #7077D9 | — |
| entity.name.lifetime.rust | #D7C58B | — |
| variable.language.rust | #DBDBDB | — |
| support.constant.edge | #B796D3 | — |
| constant.other.character-class.regexp | #DBDBDB | — |
| keyword.operator.quantifier.regexp | #55C2BE | — |
| punctuation.definition.string.begin,punctuation.definition.string.end | #9BCF88 | — |
| variable.parameter.function | #B4B4B4 | — |
| variable.parameter | #BE8298 | — |
| comment markup.link | #313754 | — |
| markup.changed.diff | #D7C58B | — |
| meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff | #6393C7 | — |
| markup.inserted.diff | #9BCF88 | — |
| markup.deleted.diff | #DBDBDB | — |
| meta.function.c,meta.function.cpp | #DBDBDB | — |
| 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 | #B4B4B4 | — |
| punctuation.separator.key-value | #B4B4B4 | — |
| keyword.operator.expression.import | #7077D9 | — |
| support.constant.math | #D7C58B | — |
| support.constant.property.math | #55C2BE | — |
| variable.other.constant | #D7C58B | — |
| storage.type.annotation.java, storage.type.object.array.java | #D7C58B | — |
| source.java | #DBDBDB | — |
| 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 | #B4B4B4 | — |
| meta.method.java | #7077D9 | — |
| storage.modifier.import.java,storage.type.java,storage.type.generic.java | #D7C58B | — |
| keyword.operator.instanceof.java | #B796D3 | — |
| meta.definition.variable.name.java | #DBDBDB | — |
| keyword.operator.logical | #B796D3 | — |
| keyword.operator.bitwise | #B796D3 | — |
| keyword.operator.channel | #B796D3 | — |
| support.constant.property-value.scss,support.constant.property-value.css | #55C2BE | — |
| punctuation.separator.annotation.result.python | #B796D3 | — |
| keyword.operator.css,keyword.operator.scss,keyword.operator.less | #B796D3 | — |
| support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss | #55C2BE | — |
| punctuation.separator.list.comma.css | #B4B4B4 | — |
| support.constant.color.w3c-standard-color-name.css | #55C2BE | — |
| support.type.vendored.property-name.css | #7077D9 | — |
| support.module.node,support.type.object.module,support.module.node | #D7C58B | — |
| entity.name.type.module | #D7C58B | — |
| variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node | #DBDBDB | — |
| support.constant.json | #55C2BE | — |
| keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof | #B796D3 | — |
| support.type.object.console | #DBDBDB | — |
| support.variable.property.process | #55C2BE | — |
| entity.name.function,support.function.console | #7077D9 | — |
| keyword.operator.misc.rust | #B4B4B4 | — |
| keyword.operator.sigil.rust | #B796D3 | — |
| keyword.operator.delete | #B796D3 | — |
| support.type.object.dom | #7077D9 | — |
| support.variable.dom,support.variable.property.dom | #DBDBDB | — |
| keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational | #B796D3 | — |
| 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 | #B796D3 | — |
| punctuation.separator.delimiter | #B4B4B4 | — |
| punctuation.separator.c,punctuation.separator.cpp | #B796D3 | — |
| support.type.posix-reserved.c,support.type.posix-reserved.cpp | #7077D9 | — |
| keyword.operator.sizeof.c,keyword.operator.sizeof.cpp | #B796D3 | — |
| variable.parameter.function.language.python | #55C2BE | — |
| support.type.python | #7AB1EB | — |
| keyword.operator.logical.python | #B796D3 | — |
| variable.parameter.function.python | #55C2BE | — |
| punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python | #B4B4B4 | — |
| meta.function-call.generic.python | #7077D9 | — |
| constant.character.format.placeholder.other.python | #55C2BE | — |
| keyword.operator | #B4B4B4 | — |
| keyword.operator.assignment.compound | #B796D3 | — |
| keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts | #B796D3 | — |
| keyword | #B796D3 | — |
| entity.name.namespace | #DBDBDB | — |
| variable | #DBDBDB | — |
| variable.c | #B4B4B4 | — |
| variable.language | #D7C58B | — |
| token.variable.parameter.java | #B4B4B4 | — |
| import.storage.java | #D7C58B | — |
| token.package.keyword | #B796D3 | — |
| token.package | #B4B4B4 | — |
| entity.name.function, meta.require, support.function.any-method, variable.function | #7077D9 | — |
| entity.name.type.namespace | #D7C58B | — |
| support.class, entity.name.type.class | #7AB1EB | — |
| entity.name.class.identifier.namespace.type | #7AB1EB | — |
| entity.name.class, variable.other.class.js, variable.other.class.ts | #7AB1EB | — |
| variable.other.class.php | #DBDBDB | — |
| entity.name.type | #D7C58B | — |
| keyword.control | #B796D3 | — |
| control.elements, keyword.operator.less | #55C2BE | — |
| keyword.other.special-method | #7077D9 | — |
| storage | #B796D3 | — |
| token.storage | #B796D3 | — |
| 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 | #B796D3 | — |
| token.storage.type.java | #D7C58B | — |
| support.function | #7077D9 | — |
| support.type.property-name | #B4B4B4 | — |
| support.constant.property-value | #B4B4B4 | — |
| support.constant.font-name | #55C2BE | — |
| meta.tag | #B4B4B4 | — |
| string | #71C58F | — |
| entity.other.inherited-class | #D7C58B | — |
| constant.other.symbol | #6393C7 | — |
| constant.numeric | #55C2BE | — |
| constant | #55C2BE | — |
| punctuation.definition.constant | #55C2BE | — |
| entity.name.tag | #DBDBDB | — |
| entity.other.attribute-name | #55C2BE | — |
| entity.other.attribute-name.id | #6393C7 | normal |
| entity.other.attribute-name.class.css | #55C2BE | normal |
| meta.selector | #B796D3 | — |
| markup.heading | #DBDBDB | — |
| markup.heading punctuation.definition.heading, entity.name.section | #6393C7 | — |
| keyword.other.unit | #DBDBDB | — |
| markup.bold,todo.bold | #55C2BE | — |
| punctuation.definition.bold | #D7C58B | — |
| markup.italic, punctuation.definition.italic,todo.emphasis | #B796D3 | — |
| emphasis md | #B796D3 | — |
| entity.name.section.markdown | #DBDBDB | — |
| punctuation.definition.heading.markdown | #DBDBDB | — |
| punctuation.definition.list.begin.markdown | #DBDBDB | — |
| markup.heading.setext | #B4B4B4 | — |
| punctuation.definition.bold.markdown | #55C2BE | — |
| markup.inline.raw.markdown | #9BCF88 | — |
| markup.inline.raw.string.markdown | #9BCF88 | — |
| punctuation.definition.list.markdown | #DBDBDB | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #DBDBDB | — |
| beginning.punctuation.definition.list.markdown | #DBDBDB | — |
| punctuation.definition.metadata.markdown | #DBDBDB | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #B796D3 | — |
| string.other.link.title.markdown,string.other.link.description.markdown | #6393C7 | — |
| string.regexp | #6393C7 | — |
| constant.character.escape | #6393C7 | — |
| punctuation.section.embedded, variable.interpolation | #DBDBDB | — |
| punctuation.section.embedded.begin,punctuation.section.embedded.end | #B796D3 | — |
| invalid.illegal | #FFFFFF | — |
| invalid.illegal.bad-ampersand.html | #B4B4B4 | — |
| invalid.broken | #FFFFFF | — |
| invalid.deprecated | #FFFFFF | — |
| invalid.unimplemented | #FFFFFF | — |
| source.json meta.structure.dictionary.json > string.quoted.json | #DBDBDB | — |
| source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string | #DBDBDB | — |
| 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 | #9BCF88 | — |
| source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json | #6393C7 | — |
| support.type.property-name.json | #DBDBDB | — |
| support.type.property-name.json punctuation | #DBDBDB | — |
| text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade | #B796D3 | — |
| text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade | #B796D3 | — |
| support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php | #D7C58B | — |
| keyword.operator.error-control.php | #B796D3 | — |
| keyword.operator.type.php | #B796D3 | — |
| punctuation.section.array.begin.php | #B4B4B4 | — |
| punctuation.section.array.end.php | #B4B4B4 | — |
| invalid.illegal.non-null-typehinted.php | #F44747 | — |
| storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php | #D7C58B | — |
| meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php | #7077D9 | — |
| 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 | #B4B4B4 | — |
| support.constant.core.rust | #55C2BE | — |
| support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php | #55C2BE | — |
| entity.name.goto-label.php,support.other.php | #7077D9 | — |
| keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php | #B796D3 | — |
| keyword.operator.regexp.php | #B796D3 | — |
| keyword.operator.comparison.php | #B796D3 | — |
| keyword.operator.heredoc.php,keyword.operator.nowdoc.php | #B796D3 | — |
| meta.function.decorator.python | #B796D3 | — |
| support.token.decorator.python,meta.function.decorator.identifier.python | #7077D9 | — |
| function.parameter | #B4B4B4 | — |
| function.brace | #B4B4B4 | — |
| function.parameter.ruby, function.parameter.cs | #B4B4B4 | — |
| constant.language.symbol.ruby | #6393C7 | — |
| rgb-value | #6393C7 | — |
| inline-color-decoration rgb-value | #8DC4C2 | — |
| less rgb-value | #8DC4C2 | — |
| selector.sass | #DBDBDB | — |
| support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx | #D7C58B | — |
| block.scope.end,block.scope.begin | #B4B4B4 | — |
| storage.type.cs | #D7C58B | — |
| entity.name.variable.local.cs | #DBDBDB | — |
| token.info-token | #6393C7 | — |
| token.warn-token | #8DC4C2 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B796D3 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #B796D3 | — |
| meta.template.expression | #B4B4B4 | — |
| keyword.operator.module | #B796D3 | — |
| support.type.type.flowtype | #6393C7 | — |
| support.type.primitive | #D7C58B | — |
| meta.property.object | #DBDBDB | — |
| variable.parameter.function.js | #DBDBDB | — |
| keyword.other.template.begin | #9BCF88 | — |
| keyword.other.template.end | #9BCF88 | — |
| keyword.other.substitution.begin | #9BCF88 | — |
| keyword.other.substitution.end | #9BCF88 | — |
| keyword.operator.assignment | #B796D3 | — |
| keyword.operator.assignment.go | #D7C58B | — |
| keyword.operator.arithmetic.go, keyword.operator.address.go | #B796D3 | — |
| entity.name.package.go | #D7C58B | — |
| support.type.prelude.elm | #7077D9 | — |
| support.constant.elm | #8DC4C2 | — |
| punctuation.quasi.element | #B796D3 | — |
| constant.character.entity | #DBDBDB | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #6393C7 | — |
| entity.global.clojure | #D7C58B | — |
| meta.symbol.clojure | #DBDBDB | — |
| constant.keyword.clojure | #7077D9 | — |
| meta.arguments.coffee, variable.parameter.function.coffee | #DBDBDB | — |
| source.ini | #9BCF88 | — |
| meta.scope.prerequisites.makefile | #DBDBDB | — |
| source.makefile | #D7C58B | — |
| storage.modifier.import.groovy | #D7C58B | — |
| meta.method.groovy | #6393C7 | — |
| meta.definition.variable.name.groovy | #DBDBDB | — |
| meta.definition.class.inherited.classes.groovy | #9BCF88 | — |
| support.variable.semantic.hlsl | #D7C58B | — |
| 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 | #B796D3 | — |
| text.variable, text.bracketed | #DBDBDB | — |
| support.type.swift, support.type.vb.asp | #D7C58B | — |
| entity.name.function.xi | #D7C58B | — |
| entity.name.class.xi | #6393C7 | — |
| constant.character.character-class.regexp.xi | #DBDBDB | — |
| constant.regexp.xi | #B796D3 | — |
| keyword.control.xi | #6393C7 | — |
| invalid.xi | #B4B4B4 | — |
| beginning.punctuation.definition.quote.markdown.xi | #9BCF88 | — |
| beginning.punctuation.definition.list.markdown.xi | #313754 | — |
| constant.character.xi | #6393C7 | — |
| accent.xi | #6393C7 | — |
| wikiword.xi | #8DC4C2 | — |
| constant.other.color.rgb-value.xi | #FFFFFF | — |
| punctuation.definition.tag.xi | #313754 | — |
| entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition | #D7C58B | — |
| entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #DBDBDB | — |
| meta.brace.square | #B4B4B4 | — |
| comment, punctuation.definition.comment | #515A85 | — |
| markup.quote.markdown | #313754 | — |
| punctuation.definition.block.sequence.item.yaml | #B4B4B4 | — |
| constant.language.symbol.elixir | #6393C7 | — |
| 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 | — | — |
| comment.line.double-slash,comment.block.documentation | — | — |
| keyword.control.import.python,keyword.control.flow.python | — | — |
| markup.italic.markdown | — | — |
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}!`;
}