Codemos Modern
Publisher: CodemosThemes in package: 2
Innovative, modern theme suite/hub for VS Code
Innovative, modern theme suite/hub for VS 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 |
|---|---|---|
| string, support.string | #CB8569FF | |
| punctuation.definition.string, support.punctuation.definition.string | #CB8569FF | |
| constant.other.color, constant.other.rgb-value, support.constant.color, variable.other.color | #CB8569FF | |
| constant.other.annotation, entity.name.annotation, entity.name.function.annotation, entity.other.annotation, meta.annotation entity.name.function, meta.annotation punctuation.brackets, meta.annotation.identifier, meta.annotation, meta.function.annotation, punctuation.annotation, punctuation.definition.annotation-arguments, punctuation.definition.annotation, punctuation.section.annotation, storage.type.annotation, support.annotation, support.other.annotation | #EF6363FF | |
| constant.other.attribute, entity.name.attribute, entity.name.function.attribute, entity.other.attribute, meta.attribute entity.name.function, meta.attribute punctuation.brackets, meta.attribute.identifier, meta.attribute, meta.function.attribute, punctuation.attribute, punctuation.definition.attribute, punctuation.section.attribute, storage.type.attribute, support.attribute, support.other.attribute | #EF6363FF | |
| constant.other.decorator, entity.name.decorator, entity.name.function.decorator, entity.other.decorator, meta.decorator entity.name.function, meta.decorator punctuation.brackets, meta.decorator.identifier, meta.decorator, meta.function.decorator, punctuation.decorator, punctuation.definition.decorator, punctuation.section.decorator, storage.type.decorator, support.decorator, support.other.decorator | #EF6363FF | |
| constant.character.escape | #EF6363FF | |
| constant.other.function, entity.name.function-call, entity.name.function, entity.name.operator.custom-literal, entity.other.attribute-name.parent-selector, entity.other.function-call, entity.other.function, punctuation.definition.function, punctuation.function, support.function | #D28342FF | |
| entity.name.function.static, entity.name.function.static-call, entity.other.function.static, punctuation.definition.function.static, punctuation.function.static, support.function.static | #D28342FF | italic |
| entity.name.function.member, entity.name.method-call, entity.name.method, entity.other.method-call, entity.other.method, punctuation.definition.method, punctuation.method, support.method | #D28342FF | |
| entity.name.method.static, entity.name.method.static-call, entity.other.method.static, punctuation.definition.method.static, punctuation.method.static, support.method.static | #D28342FF | italic |
| entity.name.interface, entity.name.type.interface, entity.other.attribute-name.interface, support.interface | #BFAF40FF | |
| entity.name.class, entity.name.type.class, entity.other.attribute-name.class, support.class | #BFAF40FF | |
| entity.other.inherited-class | #BFAF40FF | bold |
| entity.name.struct, entity.name.type.struct, entity.other.attribute-name.struct, support.struct | #BFAF40FF | |
| entity.other.inherited-struct | #BFAF40FF | bold |
| entity.name.enum, entity.name.type.enum, entity.other.attribute-name.enum, support.enum | #BFAF40FF | |
| entity.other.inherited-enum | #BFAF40FF | bold |
| entity.name.type, entity.other.attribute-name.type, support.type | #BFAF40FF | |
| support.language.variable, variable.language, variable.other.language | #BFAF40FF | |
| comment, support.comment | #45AA41FF | italic |
| punctuation.definition.comment, support.punctuation.definition.comment | #45AA41FF | |
| entity.name.namespace, entity.name.scope-resolution, entity.name.type.namespace, entity.other.attribute-name.namespace, storage.modifier.namespace, support.namespace, support.other.namespace | #46A598FF | |
| entity.name.module, entity.name.type.module, entity.other.attribute-name.module, storage.modifier.module, support.module, support.other.module | #46A598FF | |
| entity.name.package, entity.name.type.package, entity.other.attribute-name.package, storage.modifier.import, storage.modifier.package, support.package, support.other.package | #46A598FF | |
| entity.name.tag, entity.name.type.tag, entity.other.attribute-name.tag, entity.tag, storage.type.tag, support.tag | #46A598FF | |
| constant.language, keyword.control.delete, keyword.control.new, keyword.operator.delete, keyword.operator.new, keyword, punctuation.definition.keyword, storage, support.constant, support.keyword, support.punctuation.definition.keyword, support.storage | #4B9ECDFF | |
| constant.language.primitive-type, entity.name.type.primitive, keyword.other.primitive-type, keyword.type, storage.type.built-in, storage.type.builtin, storage.type.primitive, support.type.built-in, support.type.builtin, support.type.primitive | #4B9ECDFF | |
| entity.name.function.preprocessor, entity.name.macro, entity.name.type.macro, entity.other.attribute-name.macro, meta.macro, meta.preprocessor.macro, storage.type.macro, support.macro | #9B87EAFF | |
| constant.regexp, keyword.operator.regexp, string.regexp, support.constant.regexp, support.string.regexp | #9B87EAFF | |
| keyword.control, support.keyword.control | #ED63BAFF | |
| entity.name.event, keyword.other.event, variable.other.event | #D19797FF | |
| entity.other.annotation.parameter, meta.annotation.parameters, variable.annotation, variable.other.annotation.parameter, variable.parameter.annotation | #D19797FF | |
| entity.other.attribute.parameter, meta.attribute.parameters, variable.attribute, variable.other.attribute.parameter, variable.parameter.attribute | #D19797FF | |
| entity.other.decorator.parameter, meta.decorator.parameters, variable.decorator, variable.other.decorator.parameter, variable.parameter.decorator | #D19797FF | |
| entity.name.variable, meta.block variable, meta.function variable, meta.method variable, variable.other.readwrite, variable | #C59E7FFF | |
| entity.name.variable.constant, meta.block variable.other.constant, meta.function variable.other.constant, meta.method variable.other.constant, variable.other.constant | #C59E7FFF | |
| entity.name.variable.static, variable.other.static | #C59E7FFF | italic |
| entity.name.variable.parameter, variable.parameter | #C59E7FFF | |
| meta.brace.round, punctuation.definition.arguments, punctuation.definition.begin.bracket.round, punctuation.definition.end.bracket.round, punctuation.definition.group.begin, punctuation.definition.group.end, punctuation.definition.parameters, punctuation.section.function.begin.bracket.round, punctuation.section.function.end.bracket.round | #C59E7FFF | |
| entity.name.variable.field, entity.name.variable.property, meta.class variable, meta.interface variable, meta.object-literal.key, meta.object.member, meta.struct variable, support.variable.property, variable.other.member, variable.other.property, variable.other.object.property | #ADA77FFF | |
| entity.name.variable.field.constant, entity.name.variable.property.constant, meta.class variable.other.constant, meta.interface variable.other.constant, meta.object-literal.key.constant, meta.object.member.constant, meta.struct variable.other.constant, support.variable.property.constant, variable.other.constant.member, variable.other.constant.property | #ADA77FFF | |
| entity.name.variable.field.static, entity.name.variable.property.static, variable.other.static.member, variable.other.static.property | #ADA77FFF | italic |
| constant.numeric, meta.preprocessor.numeric | #80B27FFF | |
| keyword.other.unit | #80B27FFF | |
| keyword.operator.quantifier.regexp | #80B27FFF | |
| entity.name.type.generic, storage.type.generic, support.generic | #83AEA8FF | |
| constant.enum, constant.other.enum-member, constant.other.enum, entity.name.variable.enum-member, entity.name.variable.enummember, variable.other.enum-member, variable.other.enummember | #83AEA8FF | |
| entity.name.variable.global, support.variable.automatic, variable.language.special.global, variable.other.global | #83AEA8FF | |
| constant.other.caps, variable.other.constant | #83AEA8FF | |
| meta.interpolation, meta.template.expression, punctuation.definition.interpolation, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded, string.interpolated | #87ABC0FF | |
| entity.other.attribute-name, support.type.property-name | #87ABC0FF | |
| keyword.control.anchor.regexp, keyword.operator.negation.regexp, keyword.operator.or.regexp | #87ABC0FF | |
| constant.character.character-class.regexp, constant.character.set.regexp, constant.other.character-class.regexp, constant.other.character-class.set.regexp | #A9A0CBFF | |
| constant.character, constant.other.unicode-range | #A9A0CBFF | |
| keyword.control.directive, keyword.other.directive, keyword.other.preprocessor, keyword.preprocessor | #CD95B8FF | |
| entity.name.label, entity.name.goto-label | #CD95B8FF | |
| punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, punctuation.definition.character-class.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.group.regexp, support.other.parenthesis.regexp | #CD95B8FF | |
| entity.name.operator, keyword.operator, punctiation.accessor, punctuation.brackets, punctuation.separator, storage.type.function.arrow, support.operator | #FFFFFF8A | |
| punctuation.definition.tag | #FFFFFF8A | |
| emphasis | — | italic |
| strong | — | bold |
| deleted | — | strikethrough |
| invalid, support.invalid | #EF6363FF | |
| invalid.deprecated, support.invalid.deprecated | #EF6363FF | strikethrough |
| source.asm entity.name.function | #BFAF40FF | |
| source.asm meta.preprocessor | #9B87EAFF | |
| source.asm meta.preprocessor keyword.control | #CD95B8FF | |
| source.asm entity.name.section | #ED63BAFF | |
| source.asm keyword.operator.word | #D28342FF | |
| source.asm keyword.operator.word.mnemonic.general-purpose.control-transfer | #ED63BAFF | |
| source.asm entity.directive | #4B9ECDFF | |
| source.arm storage.memaddress | #87ABC0FF | |
| source.arm routine | #BFAF40FF | |
| meta.embedded.block.batchfile keyword.command, source.batchfile keyword.command | #BFAF40FF | |
| meta.embedded.block.batchfile keyword.operator.comparison, meta.embedded.block.batchfile keyword.operator.logical, source.batchfile keyword.operator.comparison, source.batchfile keyword.operator.logical | #4B9ECDFF | |
| meta.embedded.block.batchfile keyword.command.rem, source.batchfile keyword.command.rem | #9B87EAFF | |
| meta.embedded.block.batchfile keyword.operator.at, source.batchfile keyword.operator.at | #CD95B8FF | |
| meta.embedded.block.bibtex support.function.key, text.bibtex support.function.key | #87ABC0FF | |
| meta.embedded.block.bibtex entity.name.type.entry-key, text.bibtex entity.name.type.entry-key | #C59E7FFF | |
| meta.embedded.block.bibtex support.variable, text.bibtex support.variable | #83AEA8FF | |
| meta.embedded.block.bibtex meta.key-assignment, meta.embedded.block.bibtex meta.preamble.braces, meta.embedded.block.bibtex meta.string-constant, text.bibtex meta.key-assignment, text.bibtex meta.preamble.braces, text.bibtex meta.string-constant | #CB8569FF | |
| meta.embedded.block.c storage.modifier.array.bracket, source.c storage.modifier.array.bracket | #FFFFFF8A | |
| meta.embedded.block.c keyword.operator.delete, meta.embedded.block.c keyword.operator.new, source.c keyword.operator.delete, source.c keyword.operator.new | #EF6363FF | |
| meta.embedded.block.clojure entity.global, source.clojure entity.global | #83AEA8FF | |
| meta.embedded.block.clojure constant.keyword, meta.embedded.block.clojure keyword.control, source.clojure constant.keyword, source.clojure keyword.control | #4B9ECDFF | |
| meta.embedded.block.clojure storage.control, source.clojure storage.control | #4B9ECDFF | |
| meta.embedded.block.clojure meta.symbol, source.clojure meta.symbol | #C59E7FFF | |
| source.cmake command-identifier | #9B87EAFF | |
| source.cmake punctuation.parenthesis, source.cmake punctuation.section.parens | #FFFFFF8A | — |
| source.cmake expression.group | #D19797FF | — |
| source.cmake | #EF6363FF | — |
| source.coffee meta.arguments | #C59E7FFF | |
| source.coffee support.variable | #83AEA8FF | |
| entity.other.attribute-name.pragma | #CD95B8FF | |
| punctuation.definition.function.return-type, storage.modifier.reference | #FFFFFF8A | |
| meta.embedded.block.cpp keyword.operator.delete, meta.embedded.block.cpp keyword.operator.new, source.cpp keyword.operator.delete, source.cpp keyword.operator.new | #EF6363FF | |
| keyword.other.operator.overload | #D28342FF | |
| keyword.operator.alignas, keyword.operator.alignof, keyword.operator.and_eq, keyword.operator.and, keyword.operator.bitand, keyword.operator.bitor, keyword.operator.cast, keyword.operator.compl, keyword.operator.const, keyword.operator.noexcept, keyword.operator.not_eq, keyword.operator.not, keyword.operator.or_eq, keyword.operator.or, keyword.operator.sizeof, keyword.operator.typeid, keyword.operator.xor_eq, keyword.operator.xor, keyword.other.static_assert, meta.embedded.block.cpp keyword.operator.functionlike, meta.embedded.block.cpp keyword.operator.wordlike, source.cpp keyword.operator.functionlike, source.cpp keyword.operator.wordlike | #4B9ECDFF | |
| meta.preprocessor punctuation.separator.hash | #CD95B8FF | — |
| support.type.vendored.property-name | #D19797FF | |
| meta.property-name | #87ABC0FF | |
| support.constant.vendored.property-value | #EF6363FF | |
| meta.property-value | #4B9ECDFF | |
| keyword.other.important | #EF6363FF | |
| entity.other.attribute-name.id | #9B87EAFF | |
| entity.other.attribute-name.pseudo-element | #A9A0CBFF | |
| entity.other.attribute-name.class | #BFAF40FF | |
| entity.other.attribute-name.pseudo-class | #ADA77FFF | |
| entity.other.keyframe-offset | #CD95B8FF | |
| meta.embedded.block.css punctuation.definition.keyword, meta.embedded.block.less punctuation.definition.keyword, meta.embedded.block.scss punctuation.definition.keyword, source.css punctuation.definition.keyword, source.less punctuation.definition.keyword, source.scss punctuation.definition.keyword | #ED63BAFF | |
| meta.at-rule.media.header | #CD95B8FF | |
| meta.embedded.block.dart string.interpolated, source.dart string.interpolated | #CB8569FF | |
| meta.embedded.block.dart string.interpolated meta.embedded.expression, source.dart string.interpolated meta.embedded.expression | #87ABC0FF | |
| source.editorconfig keyword.other.definition | #46A598FF | |
| source.editorconfig meta.section.header | #EF6363FF | |
| source.editorconfig meta.section.header keyword.operator | #D19797FF | |
| meta.embedded.block.fish support.function, source.fish support.function | #BFAF40FF | — |
| meta.embedded.block.fish source.option, meta.embedded.block.fish string.other.option, source.fish source.option, source.fish string.other.option | #ADA77FFF | — |
| meta.embedded.block.fish variable.language, source.fish variable.language | #83AEA8FF | — |
| meta.embedded.block.fish keyword.operator.comparison, meta.embedded.block.fish keyword.operator.logical, meta.embedded.block.fish keyword.operator.redirect, source.fish keyword.operator.comparison, source.fish keyword.operator.logical, source.fish keyword.operator.redirect | #4B9ECDFF | — |
| meta.embedded.block.fsharp keyword.symbol, source.fsharp keyword.symbol | #FFFFFF8A | |
| meta.embedded.block.fsharp entity.name.section, source.fsharp entity.name.section | #46A598FF | |
| meta.embedded.block.fsharp keyword.format.specifier, source.fsharp keyword.format.specifier | #87ABC0FF | |
| meta.embedded.block.fsharp support.function.attribute, source.fsharp support.function.attribute | #EF6363FF | |
| meta.embedded.block.fsharp support.function.attribute keyword.symbol, source.fsharp support.function.attribute keyword.symbol | #D19797FF | |
| constant.other.placeholder | #87ABC0FF | |
| meta.embedded.block.groovy storage.type, source.groovy storage.type | #BFAF40FF | |
| meta.embedded.block.groovy keyword.operator.in, meta.embedded.block.groovy storage.type.def, source.groovy keyword.operator.in, source.groovy storage.type.def | #4B9ECDFF | |
| meta.embedded.block.groovy constant.enum.name, source.groovy constant.enum.name | #83AEA8FF | |
| meta.embedded.block.groovy constant.other.key, meta.embedded.block.groovy constant.variable, meta.embedded.block.groovy meta.definition.variable.name, source.groovy constant.other.key, source.groovy constant.variable, source.groovy meta.definition.variable.name | #C59E7FFF | |
| meta.embedded.block.groovy variable.other.interpolated, source.groovy variable.other.interpolated | #87ABC0FF | |
| meta.embedded.block.groovy meta.method-call, source.groovy meta.method-call | #D28342FF | |
| meta.embedded.block.groovy punctuation.definition.method-parameters.begin, meta.embedded.block.groovy punctuation.definition.method-parameters.end, source.groovy punctuation.definition.method-parameters.begin, source.groovy punctuation.definition.method-parameters.end | #FFFFFF8A | |
| meta.embedded.block.groovy meta.declaration.annotation constant.other.key, source.groovy meta.declaration.annotation constant.other.key | #D19797FF | |
| source.helm constant.other.value | #ADA77FFF | |
| source.helm punctuation.definition.mapping | #87ABC0FF | |
| source.helm keyword.operator.pipe | #CD95B8FF | |
| source.hlsl support.variable | #83AEA8FF | |
| constant.character.entity | #A9A0CBFF | |
| meta.embedded.block.ini keyword.other.definition, source.ini keyword.other.definition | #46A598FF | |
| meta.embedded.block.ini entity.name.section.group-title, source.ini entity.name.section.group-title | #D19797FF | |
| meta.embedded.block.ini punctuation.definition.entity, source.ini punctuation.definition.entity | #EF6363FF | |
| meta.embedded.block.java meta.declaration.annotation storage.modifier, source.java meta.declaration.annotation storage.modifier | #D19797FF | — |
| meta.embedded.block.java storage.type, source.java storage.type | #BFAF40FF | — |
| meta.embedded.block.java storage.type.local, source.java storage.type.local | #4B9ECDFF | — |
| meta.embedded.block.java keyword.control.ternary, meta.embedded.block.java variable.language.wildcard, source.java keyword.control.ternary, source.java variable.language.wildcard | #FFFFFF8A | — |
| meta.embedded.block.kotlin entity.string.template.element punctuation.definition.keyword, meta.embedded.block.kotlin entity.string.template.element, source.kotlin entity.string.template.element punctuation.definition.keyword, source.kotlin entity.string.template.element | #87ABC0FF | |
| meta.embedded.block.kotlin keyword.operator, source.kotlin keyword.operator | #4B9ECDFF | |
| meta.embedded.block.kotlin keyword.operator.arithmetic, meta.embedded.block.kotlin keyword.operator.assignment, meta.embedded.block.kotlin keyword.operator.comparison, meta.embedded.block.kotlin keyword.operator.declaration, meta.embedded.block.kotlin keyword.operator.elvis, meta.embedded.block.kotlin keyword.operator.logical, source.kotlin keyword.operator.arithmetic, source.kotlin keyword.operator.assignment, source.kotlin keyword.operator.comparison, source.kotlin keyword.operator.declaration, source.kotlin keyword.operator.elvis, source.kotlin keyword.operator.logical | #FFFFFF8A | |
| meta.embedded.block.latex keyword.control.preamble punctuation.definition.function, meta.embedded.block.latex punctuation.definition.keyword, text.tex keyword.control.preamble punctuation.definition.function, text.tex punctuation.definition.keyword | #ED63BAFF | |
| meta.embedded.block.latex keyword.other.item punctuation.definition.keyword, meta.embedded.block.latex storage.type.function punctuation.definition.function, text.tex keyword.other.item punctuation.definition.keyword, text.tex storage.type.function punctuation.definition.function | #4B9ECDFF | |
| meta.embedded.block.lua entity.other.attribute, source.lua entity.other.attribute | #ADA77FFF | |
| heading.1, markup.heading.setext.1 | #EF6363FF | bold |
| heading.2, markup.heading.setext.2 | #D28342FF | bold |
| heading.3, markup.heading.setext.3 | #BFAF40FF | bold |
| heading.4, markup.heading.setext.4 | #45AA41FF | bold |
| heading.5, markup.heading.setext.5 | #46A598FF | bold |
| heading.6, markup.heading.setext.6 | #4B9ECDFF | bold |
| markup.italic | — | italic |
| markup.bold | — | bold |
| markup.strikethrough | — | strikethrough |
| markup.underline | — | underline |
| markup.underline.link | #4B9ECDFF | underline |
| string.other.link, punctuation.definition.list.begin.markdown | #CB8569FF | |
| punctuation.definition.table | #CB8569FF | |
| markup.fenced_code.block, markup.inline.raw, markup.raw.block | #EF6363FF | |
| punctuation.definition.quote.begin | #9B87EAFF | |
| markup.quote | #A9A0CBFF | |
| meta.separator | #CB8569FF | |
| markup.inserted | #45AA41FF | — |
| markup.deleted | #EF6363FF | — |
| markup.changed | #4B9ECDFF | — |
| source.matlab storage.type.number.imaginary | #80B27FFF | |
| source.nginx storage.type.directive.context | #ED63BAFF | — |
| source.nginx entity.name.context.location | #CD95B8FF | — |
| source.nginx punctuation.definition.variable | #C59E7FFF | — |
| source.nginx punctuation.terminator | #FFFFFF8A | — |
| source.nginx meta.context | #CB8569FF | — |
| meta.embedded.block.perl constant.other.key, source.perl constant.other.key | #ADA77FFF | |
| source.php entity.other.alias | #BFAF40FF | |
| constant.other.class.php | #83AEA8FF | |
| meta.embedded.block.php constant.other, source.php constant.other | #C59E7FFF | |
| meta.embedded.block.php string punctuation.definition.variable, source.php string punctuation.definition.variable | #87ABC0FF | |
| variable.other.php | #C59E7FFF | |
| meta.embedded.block.php string variable punctuation.definition.variable, source.php string variable punctuation.definition.variable | #C59E7FFF | |
| meta.embedded.block.php string variable.language punctuation.definition.variable, source.php string variable.language punctuation.definition.variable | #BFAF40FF | |
| meta.embedded.block.php keyword.operator.heredoc, meta.embedded.block.php keyword.operator.nowdoc, source.php keyword.operator.heredoc, source.php keyword.operator.nowdoc | #D19797FF | |
| meta.embedded.block.php keyword.operator.logical, source.php keyword.operator.logical | #4B9ECDFF | |
| meta.embedded.block.php keyword.operator.arithmetic, source.php keyword.definition.arrow, source.php punctuation.section.array | #FFFFFF8A | |
| keyword.blade | #ED63BAFF | |
| support.function.construct.begin, support.function.construct.end | #87ABC0FF | |
| meta.attribute entity.name.function.php | #D28342FF | |
| source.sql.embedded | #FFFFFF8A | |
| meta.method-call.static entity.name.function | #D28342FF | italic |
| meta.embedded.block.powershell support.function.attribute, source.powershell support.function.attribute | #EF6363FF | |
| meta.embedded.block.powershell support.function, source.powershell support.function | #BFAF40FF | |
| meta.embedded.block.powershell keyword.operator.comparison, meta.embedded.block.powershell keyword.operator.documentation, meta.embedded.block.powershell keyword.operator.logical, source.powershell keyword.operator.comparison, source.powershell keyword.operator.documentation, source.powershell keyword.operator.logical | #4B9ECDFF | |
| source.python meta.function.decorator support.type | #EF6363FF | — |
| source.python punctuation.definition.list | #FFFFFF8A | — |
| source.python constant.character.format.placeholder | #87ABC0FF | — |
| support.function.magic, support.variable.magic | #9B87EAFF | — |
| meta.embedded.block.python meta.attribute, source.python meta.attribute | #ADA77FFF | — |
| meta.embedded.block.python meta.function-call, source.python meta.function-call | #D28342FF | — |
| meta.embedded.block.python storage.type.string, source.python storage.type.string | #CB8569FF | — |
| meta.embedded.block.python keyword.operator.logical, source.python keyword.operator.logical | #4B9ECDFF | — |
| meta.embedded.block.python meta.fstring, source.python meta.fstring | #CB8569FF | — |
| meta.embedded.block.python storage.type.format, source.python storage.type.format | #D28342FF | — |
| meta.embedded.block.python meta.typehint.comment, source.python meta.typehint.comment | #9B87EAFF | — |
| meta.embedded.block.python comment.typehint.directive, meta.embedded.block.python comment.typehint.punctuation, source.python comment.typehint.directive, source.python comment.typehint.punctuation | #A9A0CBFF | — |
| meta.function.decorator.python punctuation.definition.arguments | #EF6363FF | — |
| meta.function.decorator.python punctuation.separator, meta.function.decorator.python punctuation.definition.string | #D19797FF | — |
| meta.function.decorator.python string | #D19797FF | — |
| variable.other.cshtml.directive.sectionName, variable.other.razor.directive.sectionName | #CD95B8FF | |
| meta.embedded.block.ruby constant.other.symbol, source.ruby constant.other.symbol | #ADA77FFF | |
| meta.embedded.block.ruby variable.other.constant.instance, meta.embedded.block.ruby variable.other.readwrite.instance, source.ruby variable.other.constant.instance, source.ruby variable.other.readwrite.instance | #ADA77FFF | |
| entity.name.function.macro | #9B87EAFF | |
| meta.embedded.block.rust entity.name.function.macro.rules, source.rust entity.name.function.macro.rules | #CD95B8FF | |
| keyword.operator.macro, meta.embedded.block.rust variable.other.metavariable.name, source.rust variable.other.metavariable.name | #A9A0CBFF | |
| meta.embedded.block.rust variable.other.metavariable.specifier, source.rust variable.other.metavariable.specifier | #4B9ECDFF | |
| entity.name.type.lifetime, punctuation.definition.lifetime | #EF6363FF | |
| meta.attribute keyword.operator.namespace | #D19797FF | |
| keyword.operator.dereference, keyword.operator.borrow | #D19797FF | |
| entity.name.command, meta.embedded.block.shellscript support.function, source.shell support.function | #BFAF40FF | — |
| meta.embedded.block.shellscript constant.other.option, source.shell constant.other.option | #ADA77FFF | — |
| meta.embedded.block.shellscript keyword.operator.comparison, meta.embedded.block.shellscript keyword.operator.logical, meta.embedded.block.shellscript keyword.operator.redirect, source.shell keyword.operator.comparison, source.shell keyword.operator.logical, source.shell keyword.operator.redirect | #4B9ECDFF | — |
| meta.embedded.block.shellscript keyword.operator.pipe, source.shell keyword.operator.pipe | #CD95B8FF | — |
| meta.embedded.block.shellscript keyword.operator.herestring, source.shell keyword.operator.herestring | #D19797FF | — |
| meta.embedded.block.shellscript keyword.operator.pattern.case, meta.embedded.block.shellscript meta.case.entry constant.character.escape, meta.embedded.block.shellscript meta.case.entry constant.character, meta.embedded.block.shellscript meta.case.entry string.regexp, source.shell keyword.operator.pattern.case, source.shell meta.case.entry constant.character.escape, source.shell meta.case.entry constant.character, source.shell meta.case.entry string.regexp | #CD95B8FF | — |
| meta.embedded.block.shellscript punctuation.definition.subshell, meta.embedded.block.shellscript punctuation.definition.variable, source.shell punctuation.definition.subshell, source.shell punctuation.definition.variable | #87ABC0FF | — |
| meta.embedded.block.shellscript variable.language, source.shell variable.language | #83AEA8FF | — |
| meta.embedded.block.shellscript punctuation.separator.statement.and, source.shell punctuation.separator.statement.and | #80B27FFF | — |
| meta.embedded.block.shellscript punctuation.section.array, source.shell punctuation.section.array | #FFFFFF8A | — |
| meta.embedded.block.shellscript punctuation.terminator, source.shell punctuation.terminator | #D19797FF | — |
| meta.embedded.block.sql storage.type, source.sql storage.type | #BFAF40FF | |
| meta.embedded.block.sql keyword.other.create, meta.embedded.block.sql keyword.other.DML, source.sql keyword.other.create, source.sql keyword.other.DML | #ED63BAFF | |
| meta.embedded.block.sql keyword.operator.star, source.sql keyword.operator.star | #80B27FFF | |
| meta.embedded.block.sql keyword.other.alias, meta.embedded.block.sql keyword.other.data-integrity, meta.embedded.block.sql keyword.other.DDL, meta.embedded.block.sql keyword.other.order, source.sql keyword.other.alias, source.sql keyword.other.data-integrity, source.sql keyword.other.DDL, source.sql keyword.other.order | #46A598FF | |
| meta.attribute punctuation.definition.arguments, storage.modifier.attribute | #EF6363FF | |
| meta.arguments.attribute | #D19797FF | |
| meta.embedded.block.toml support.type.property-name, source.toml support.type.property-name | #46A598FF | |
| meta.embedded.block.toml punctuation.definition.table.inline, source.toml punctuation.definition.table.inline | #FFFFFF8A | |
| meta.embedded.block.toml punctuation.definition.array.table, meta.embedded.block.toml punctuation.definition.table, source.toml punctuation.definition.array.table, source.toml punctuation.definition.table | #EF6363FF | |
| meta.embedded.block.toml meta.table punctuation.separator.dot, meta.embedded.block.toml meta.array punctuation.separator.dot, meta.embedded.block.toml support.type.property-name.array, meta.embedded.block.toml support.type.property-name.table, source.toml meta.table punctuation.separator.dot, source.toml meta.array punctuation.separator.dot, source.toml support.type.property-name.array, source.toml support.type.property-name.table | #D19797FF | |
| meta.embedded.block.toml constant.other.time.date, source.toml constant.other.time.date | #C59E7FFF | |
| meta.embedded.block.toml constant.other.time.time, source.toml constant.other.time.time | #ADA77FFF | |
| meta.embedded.block.toml constant.other.time.datetime, source.toml constant.other.time.datetime | #A9A0CBFF | |
| meta.embedded.block.toml constant.other.time.datetime.offset, source.toml constant.other.time.datetime.offset | #CD95B8FF | |
| keyword.operator.expression | #4B9ECDFF | |
| storage.type.numeric.bigint | #80B27FFF | |
| source.vue meta.attribute | #FFFFFF8A | |
| meta.embedded.block.yaml constant.other.timestamp, source.yaml constant.other.timestamp | #A9A0CBFF | |
| meta.embedded.block.yaml keyword.control.flow.block-scalar, source.yaml keyword.control.flow.block-scalar | #CD95B8FF | |
| meta.embedded.block.yaml punctuation.definition.anchor, meta.embedded.block.yaml entity.name.type.anchor, source.yaml punctuation.definition.anchor, source.yaml entity.name.type.anchor | #D28342FF | |
| meta.embedded.block.yaml punctuation.definition.alias, meta.embedded.block.yaml entity.name.type.alias, source.yaml punctuation.definition.alias, source.yaml entity.name.type.alias | #C59E7FFF | |
| meta.embedded.block.yaml storage.modifier.chomping-indicator, source.yaml storage.modifier.chomping-indicator | #ED63BAFF | |
| meta.embedded.block.yaml entity.other.document, source.yaml entity.other.document | #87ABC0FF |
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}!`;
}