Armada Theme
Publisher: DavidSeptimusThemes in package: 1
A color theme that aims to faithfully replicate JetBrains Fleet's dark color theme.
A color theme that aims to faithfully replicate JetBrains Fleet's dark color theme.
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 |
|---|---|---|
| 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 | #E0E1E4 | — |
| variable.other.generic-type.haskell | #82D2CE | — |
| storage.type.haskell | #EBC88D | — |
| support.variable.magic.python | #E0E1E4 | — |
| punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python | #E0E1E4 | — |
| variable.language.special.self.python, variable.parameter.function.language.special.self.python | #E0E1E4 | — |
| storage.modifier.lifetime.rust | #E0E1E4 | — |
| support.function.std.rust | #EBC88D | — |
| entity.name.lifetime.rust | #E09B70 | — |
| variable.language.rust | #E0E1E4 | — |
| support.constant.edge | #82D2CE | — |
| constant.other.character-class.regexp | #E0E1E4 | — |
| keyword.operator.quantifier.regexp | #EBC88D | — |
| punctuation.definition.string.begin,punctuation.definition.string.end | #E394DC | — |
| variable.parameter, variable.parameter.function | #E0E1E4 | — |
| variable.parameter.js | #A8CC7C | — |
| storage.type.function.arrow | #E0E1E4 | — |
| punctuation.section.embedded.begin.tsx,punctuation.section.embedded.end.tsx | #E0E1E4 | — |
| comment markup.link | #555558 | — |
| markup.changed.diff | #E09B70 | — |
| meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff | #AF9CFF | — |
| markup.inserted.diff | #E394DC | — |
| markup.deleted.diff | #E0E1E4 | — |
| meta.function.c,meta.function.cpp | #E0E1E4 | — |
| 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 | #E0E1E4 | — |
| punctuation.separator.key-value | #E0E1E4 | — |
| keyword.operator.expression.import | #AF9CFF | — |
| support.constant.property.math, support.constant.math | #E0E1E4 | — |
| variable.other.constant | #AF9CFF | — |
| storage.type.object.array.java | #87C3FF | — |
| storage.type.annotation, punctuation.definition.annotation, punctuation.definition.annotation.java | #A8CC7C | — |
| 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, meta.method.body.java | #E0E1E4 | — |
| meta.method.java | #EBC88D | — |
| entity.name.type | #87C3FF | — |
| storage.type.generic.java | #82D2CE | — |
| storage.modifier.import.java | #87C3FF | — |
| keyword.operator.instanceof.java, storage.type.primitive.java, storage.type.java | #82D2CE | — |
| meta.definition.variable.name.java | #E0E1E4 | — |
| keyword.operator.logical | #E0E1E4 | — |
| keyword.operator.bitwise | #E0E1E4 | — |
| keyword.operator.channel | #E0E1E4 | — |
| support.constant.property-value.scss,support.constant.property-value.css | #EBC88D | — |
| keyword.operator.css,keyword.operator.scss,keyword.operator.less | #E0E1E4 | — |
| support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss | #EBC88D | — |
| punctuation.separator.list.comma.css | #E0E1E4 | — |
| support.constant.color.w3c-standard-color-name.css | #EBC88D | — |
| support.type.vendored.property-name.css | #E0E1E4 | — |
| entity.other.attribute-name.pseudo-element.less, entity.other.attribute-name.pseudo-class.less, punctuation.definition.entity.less, entity.other.attribute-name.pseudo-class.extend.less, entity.name.tag.less, meta.selector.less, meta.attribute-selector.less string.quoted.double.less, meta.attribute-selector.less punctuation.definition.string.begin.less, meta.attribute-selector.less punctuation.definition.string.end.less | #AF9CFF | — |
| punctuation.separator.combinator.less | #E0E1E4 | — |
| keyword.control.at-rule.import.less, keyword.control.at-rule.font-face.less, keyword.other.important.less, keyword.control.conditional.less | #A8CC7C | — |
| meta.function-call.less string.unquoted.less | #ADD1DF | underline |
| meta.function-call.less, support.function.color-operation.less, support.function.url.less | #AF9CFF | — |
| support.type.property-name.less | #82D2CE | — |
| variable.other.readwrite.less | #87C3FF | — |
| constant.codepoint-range.less, support.unicode-range.less, meta.group.less, keyword.other.unit.less, constant.numeric.less, constant.other.color.less, constant.other.color.rgb-value.less, constant.other.color.hex-value.less, constant.other.color.hsl-value.less, constant.other.color.rgba-value.less, constant.other.color.hsla-value.less | #EBC88D | — |
| support.constant.property-value.less | #E394DC | — |
| support.module.node,support.type.object.module,support.module.node | #87C3FF | — |
| entity.name.type.module | #87C3FF | — |
| variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node | #E0E1E4 | — |
| support.constant.json | #EBC88D | — |
| keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.expression.keyof | #82D2CE | — |
| keyword.operator.optional, keyword.operator.ternary | #E0E1E4 | — |
| support.type.object.console | #E0E1E4 | — |
| support.variable.property.process | #EBC88D | — |
| support.function.console | #EBC88D | — |
| keyword.operator.misc.rust | #E0E1E4 | — |
| keyword.operator.sigil.rust | #82D2CE | — |
| keyword.operator.delete | #82D2CE | — |
| support.type.object.dom | #E0E1E4 | — |
| support.variable.dom,support.variable.property.dom | #E0E1E4 | — |
| keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational | #E0E1E4 | — |
| 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 | #82D2CE | — |
| punctuation.separator.delimiter | #E0E1E4 | — |
| punctuation.separator.c,punctuation.separator.cpp | #82D2CE | — |
| support.type.posix-reserved.c,support.type.posix-reserved.cpp | #E0E1E4 | — |
| keyword.operator.sizeof.c,keyword.operator.sizeof.cpp | #82D2CE | — |
| support.type.python | #87C3FF | — |
| keyword.operator.logical.python | #82D2CE | — |
| entity.name.function.python | #E0E1E4 | bold |
| punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python | #E0E1E4 | — |
| meta.function-call.generic.python | #EBC88D | — |
| constant.character.format.placeholder.other.python | #EBC88D | — |
| keyword.operator | #E0E1E4 | — |
| keyword.operator.assignment.compound | #82D2CE | — |
| keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts | #E0E1E4 | — |
| keyword | #82D2CE | — |
| entity.name.namespace | #E09B70 | — |
| variable | #E0E1E4 | — |
| variable.c | #E0E1E4 | — |
| variable.language | #CC7C8A | — |
| token.variable.parameter.java | #E0E1E4 | — |
| import.storage.java | #E09B70 | — |
| token.package.keyword | #82D2CE | — |
| token.package | #E0E1E4 | — |
| entity.name.function, meta.require, support.function.any-method, variable.function | #EBC88D | — |
| entity.name.type.namespace | #87C3FF | — |
| support.class, entity.name.type.class | #87C3FF | — |
| entity.name.class.identifier.namespace.type | #87C3FF | — |
| variable.other.class.js, variable.other.class.ts, variable.object.property.ts, meta.definition.variable.ts variable.other.constant.ts, meta.definition.variable.ts variable.other.readwrite.ts, meta.definition.variable.js variable.other.readwrite.js, meta.definition.variable.js variable.other.constant.js, variable.other.property, variable.object.property, variable.other.enummember | #AF9CFF | — |
| variable.object.property.js | #87C3FF | — |
| meta.var.expr.ts variable.other.property.ts | #E0E1E4 | — |
| variable.other.class.php | #E0E1E4 | — |
| keyword.control | #82D2CE | — |
| control.elements, keyword.operator.less | #EBC88D | — |
| keyword.other.special-method | #EBC88D | — |
| storage | #82D2CE | — |
| token.storage | #82D2CE | — |
| 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 | #82D2CE | — |
| support.function | #EBC88D | — |
| support.type.property-name | #E0E1E4 | — |
| support.constant.property-value | #E0E1E4 | — |
| support.constant.font-name | #EBC88D | — |
| meta.tag | #EBC88D | — |
| string | #E394DC | — |
| entity.other.inherited-class | #87C3FF | — |
| constant.other.symbol | #E0E1E4 | — |
| constant.numeric | #EBC88D | — |
| constant | #82D2CE | — |
| punctuation.definition.constant | #EBC88D | — |
| entity.name.tag | #EBC88D | — |
| entity.other.attribute-name | #AF9CFF | — |
| entity.other.attribute-name.id | #AF9CFF | — |
| entity.other.attribute-name.class.css | #EBC88D | — |
| meta.selector | #82D2CE | — |
| markup.heading | #E0E1E4 | — |
| markup.heading punctuation.definition.heading, entity.name.section | #AF9CFF | — |
| keyword.other.unit | #E0E1E4 | — |
| todo.bold | #EBC88D | — |
| punctuation.definition.bold | #E09B70 | — |
| punctuation.definition.italic,todo.emphasis | #82D2CE | — |
| emphasis md | #82D2CE | — |
| entity.name.section.markdown | #E0E1E4 | — |
| punctuation.definition.heading.markdown, markup.heading.setext, meta.separator.markdown, markup.fenced_code.block.markdown punctuation.definition.markdown | #82D2CE | — |
| markup.raw.block.markdown, markup.fenced_code.block.markdown | #E394DC | — |
| markup.fenced_code.block.markdown meta.embedded.block | #E0E1E4 | — |
| fenced_code.block.language.markdown, fenced_code.block.language.attributes.markdown | #909194 | — |
| punctuation.definition.list.begin.markdown | #82D2CE | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.strikethrough.markdown | #82D2CE | — |
| markup.bold | #E0E1E4 | bold |
| markup.italic | #E0E1E4 | italic |
| markup.strikethrough | #A3A5A7 | — |
| markup.inline.raw.markdown | #E394DC | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, markup.inline.raw.string.markdown | #E394DC | — |
| punctuation.definition.list.markdown | #E0E1E4 | — |
| punctuation.definition.metadata.markdown | #E0E1E4 | — |
| punctuation.definition.metadata.markdown | #E0E1E4 | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #E394DC | — |
| string.other.link.title.markdown, string.other.link.description.markdown, punctuation.definition.link.description.begin.markdown, punctuation.definition.link.title.begin.markdown, punctuation.definition.link.title.end.markdown, punctuation.definition.quote.begin.markdown, punctuation.definition.table.markdown, punctuation.separator.table.markdown, punctuation.definition.raw.markdown | #82D2CE | — |
| string.regexp | #E0E1E4 | — |
| constant.character.escape | #82D2CE | — |
| punctuation.section.embedded, variable.interpolation | #E0E1E4 | — |
| punctuation.section.embedded.begin,punctuation.section.embedded.end | #82D2CE | — |
| invalid.illegal | #E0E1E4 | — |
| invalid.illegal.bad-ampersand.html | #E0E1E4 | — |
| invalid.broken | #E0E1E4 | — |
| invalid.deprecated | #E0E1E4 | — |
| invalid.unimplemented | #E0E1E4 | — |
| source.json meta.structure.dictionary.json > string.quoted.json | #E0E1E4 | — |
| source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string | #E0E1E4 | — |
| 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 | #E394DC | — |
| source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json | #82D2CE | — |
| support.type.property-name.json, support.type.property-name.json punctuation, string.key.json | #AF9CFF | — |
| text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade | #82D2CE | — |
| text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade | #82D2CE | — |
| support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php | #E09B70 | — |
| keyword.operator.error-control.php | #82D2CE | — |
| keyword.operator.type.php | #82D2CE | — |
| punctuation.section.array.begin.php | #E0E1E4 | — |
| punctuation.section.array.end.php | #E0E1E4 | — |
| invalid.illegal.non-null-typehinted.php | #EC5D6F | — |
| storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php | #E09B70 | — |
| meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php | #EBC88D | — |
| 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 | #E0E1E4 | — |
| support.constant.core.rust | #EBC88D | — |
| support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php | #EBC88D | — |
| entity.name.goto-label.php,support.other.php | #AF9CFF | — |
| keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php | #E0E1E4 | — |
| keyword.operator.regexp.php | #82D2CE | — |
| keyword.operator.comparison.php | #E0E1E4 | — |
| keyword.operator.heredoc.php,keyword.operator.nowdoc.php | #82D2CE | — |
| meta.function.decorator.python | #A8CC7C | — |
| support.token.decorator.python,meta.function.decorator.identifier.python | #E0E1E4 | — |
| string.quoted.docstring.multi.python, string.quoted.docstring.multi.python punctuation.definition.string.begin.python, string.quoted.docstring.multi.python punctuation.definition.string.end.python | #909194 | — |
| meta.fstring.python storage | #E394DC | — |
| string.quoted.binary.single.python punctuation.definition.string.begin, string.quoted.binary.single.python punctuation.definition.string.end, string.quoted.binary.single.python storage, string.quoted.binary.single.python | #A8CC7C | — |
| function.parameter | #E0E1E4 | — |
| function.brace | #E0E1E4 | — |
| function.parameter.ruby, function.parameter.cs | #E0E1E4 | — |
| constant.language.symbol.ruby | #E0E1E4 | — |
| rgb-value | #E0E1E4 | — |
| inline-color-decoration rgb-value | #EBC88D | — |
| less rgb-value | #EBC88D | — |
| selector.sass | #E0E1E4 | — |
| support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx | #82D2CE | — |
| block.scope.end,block.scope.begin | #E0E1E4 | — |
| storage.type.cs | #E09B70 | — |
| entity.name.variable.local.cs | #E0E1E4 | — |
| token.info-token | #AF9CFF | — |
| token.warn-token | #EBC88D | — |
| token.error-token | #EC5D6F | — |
| token.debug-token | #82D2CE | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #E0E1E4 | — |
| meta.template.expression | #E0E1E4 | — |
| keyword.operator.module | #82D2CE | — |
| support.type.type.flowtype | #AF9CFF | — |
| support.type.primitive | #E09B70 | — |
| meta.property.object | #E0E1E4 | — |
| support.class.component.js, support.class.component.tsx | #E09B70 | — |
| meta.jsx.children.tsx | #E0E1E4 | — |
| variable.parameter.function.js | #E0E1E4 | — |
| keyword.other.template.begin | #E394DC | — |
| keyword.other.template.end | #E394DC | — |
| keyword.other.substitution.begin | #E394DC | — |
| keyword.other.substitution.end | #E394DC | — |
| keyword.operator.assignment | #E0E1E4 | — |
| entity.name.type.package.go | #A8CC7C | — |
| entity.name.type.go | #E0E1E4 | — |
| variable.other.shadowed.go | #E09B70 | — |
| support.type.prelude.elm | #E0E1E4 | — |
| support.constant.elm | #EBC88D | — |
| punctuation.quasi.element | #82D2CE | — |
| constant.character.entity | #E0E1E4 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #E0E1E4 | — |
| entity.global.clojure | #E09B70 | — |
| meta.symbol.clojure | #E0E1E4 | — |
| constant.keyword.clojure | #E0E1E4 | — |
| meta.arguments.coffee, variable.parameter.function.coffee | #E0E1E4 | — |
| source.ini | #E394DC | — |
| meta.scope.prerequisites.makefile | #E0E1E4 | — |
| source.makefile | #E09B70 | — |
| storage.modifier.import.groovy | #E09B70 | — |
| meta.method.groovy | #EBC88D | — |
| meta.definition.variable.name.groovy | #E0E1E4 | — |
| meta.definition.class.inherited.classes.groovy | #E394DC | — |
| support.variable.semantic.hlsl | #E09B70 | — |
| 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 | #82D2CE | — |
| text.variable, text.bracketed | #E0E1E4 | — |
| support.type.swift, support.type.vb.asp | #E09B70 | — |
| entity.name.function.xi | #E09B70 | — |
| entity.name.class.xi | #E0E1E4 | — |
| constant.character.character-class.regexp.xi | #E0E1E4 | — |
| constant.regexp.xi | #82D2CE | — |
| keyword.control.xi | #E0E1E4 | — |
| invalid.xi | #E0E1E4 | — |
| beginning.punctuation.definition.quote.markdown.xi | #E394DC | — |
| beginning.punctuation.definition.list.markdown.xi | #555558 | — |
| constant.character.xi | #AF9CFF | — |
| accent.xi | #AF9CFF | — |
| wikiword.xi | #EBC88D | — |
| constant.other.color.rgb-value.xi | #E0E1E4 | — |
| entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition | #E09B70 | — |
| entity.name.label.cs | #E0E1E4 | — |
| meta.brace.square | #E0E1E4 | — |
| comment,punctuation.definition.comment | #555558 | — |
| markup.quote.markdown | #E0E1E4 | — |
| punctuation.definition.block.sequence.item.yaml | #E0E1E4 | — |
| keyword.control.property.anchor.yaml, entity.name.type.anchor.yaml | #A8CC7C | — |
| keyword.control.flow.alias.yaml, variable.other.alias.yaml | #E09B70 | — |
| constant.language.merge.yaml | #EBC88D | — |
| meta.schema.yaml | #CC7C8A | — |
| entity.name.tag.yaml | #82D2CE | — |
| constant.numeric.integer.yaml, constant.numeric.float.yaml, string.unquoted.plain.out.yaml, string.quoted.single.yaml, string.unquoted.plain.in.yaml, constant.language.boolean.yaml | #AF9CFF | — |
| keyword.control.flow.block-scalar.literal.yaml, string.unquoted.block.yaml | #E0E1E4 | — |
| constant.language.symbol.elixir | #E0E1E4 | — |
| 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 |
| keyword.control.import.python,keyword.control.flow.python | — | italic |
| meta.decorator.ts,meta.decorator.ts entity.name.function.ts,meta.decorator.js,meta.decorator.js entity.name.function.js | #A8CC7C | — |
| entity.name.tag.localname.xml | #87C3FF | — |
| meta.tag.xml | #E0E1E4 | — |
| entity.name.tag.namespace.xml | #A8CC7C | — |
| keyword.other.doctype.xml, meta.tag.sgml.doctype.xml | #A8CC7C | — |
| variable.language.documentroot.xml | #AF9CFF | — |
| meta.tag.preprocessor.xml punctuation.definition.tag.xml | #E0E1E4 | — |
| meta.tag.sgml.doctype.xml punctuation.definition.tag.xml | #A8CC7C | — |
| entity.other.attribute-name.namespace.xml | #A8CC7C | — |
| punctuation.separator.namespace.xml | #E0E1E4 | — |
| meta.tag.preprocessor.xml | #E0E1E4 | — |
| string.unquoted.cdata.xml punctuation.definition.string.begin.xml, string.unquoted.cdata.xml punctuation.definition.string.end.xml, string.unquoted.cdata.xml, text.xml | #E0E1E4 | — |
| constant.character.entity.xml, punctuation.definition.constant.xml | #E09B70 | — |
| punctuation.definition.string.begin.xml, punctuation.definition.string.end.xml | #E394DC | — |
| entity.name.tag.xml | #AF9CFF | — |
| meta.tag.metadata.doctype.html, meta.tag.metadata.doctype.html entity.name.tag.html | #A8CC7C | — |
| entity.other.attribute-name.html | #AF9CFF | — |
| entity.name.tag.html | #87C3FF | — |
| punctuation.definition.tag | #555558 | — |
| punctuation.definition.entity.html, constant.character.entity.numeric.hexadecimal.html, constant.character.entity.named.nbsp.html, constant.character.entity.named.Alpha.html | #E09B70 | — |
| punctuation.definition.comment.html | #909194 | — |
| entity.name.type.instance.jsdoc | #909194 | — |
| variable.other.jsdoc | #E0E1E4 | — |
| log.date | #9EA3A8 | — |
| log.constant | #AF9CFF | — |
| log.verbose | #9EA3A8 | — |
| log.debug | #71A3EF | — |
| log.info | #69B090 | — |
| log.warning | #CD984D | — |
| log.error | #F87C88 | bold |
| punctuation.definition.comment, comment, comment.block, comment.block.documentation, comment.line, comment.line.double-slash | #909194 | — |
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}!`;
}