OneC Theme
Publisher: Andrei ChernyakThemes in package: 4
The color theme for Visual Studio Code
The color 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 |
|---|---|---|
| comment, punctuation.definition.comment, string.comment | #6E7781 | — |
| constant.other.placeholder, constant.character | #CF222E | — |
| constant, entity.name.constant, variable.other.constant, variable.other.enummember, variable.language, entity | #0550AE | — |
| entity.name, meta.export.default, meta.definition.variable | #953800 | — |
| variable.parameter.function, meta.jsx.children, meta.block, meta.tag.attributes, entity.name.constant, meta.object.member, meta.embedded.expression | #1F2328 | — |
| entity.name.function | #8250DF | — |
| entity.name.tag, support.class.component | #116329 | — |
| keyword | #CF222E | — |
| storage, storage.type | #CF222E | — |
| storage.modifier.package, storage.modifier.import, storage.type.java | #1F2328 | — |
| string, string punctuation.section.embedded source | #0A3069 | — |
| support | #0550AE | — |
| meta.property-name | #0550AE | — |
| variable | #953800 | — |
| variable.other | #1F2328 | — |
| invalid.broken | #82071E | italic |
| invalid.deprecated | #82071E | italic |
| invalid.illegal | #82071E | italic |
| invalid.unimplemented | #82071E | italic |
| carriage-return | #F6F8FA | italic underline |
| message.error | #82071E | — |
| string variable | #0550AE | — |
| source.regexp, string.regexp | #0A3069 | — |
| string.regexp.character-class, string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition | #0A3069 | — |
| string.regexp constant.character.escape | #116329 | bold |
| support.constant | #0550AE | — |
| support.variable | #0550AE | — |
| support.type.property-name.json | #116329 | — |
| meta.module-reference | #0550AE | — |
| punctuation.definition.list.begin.markdown | #953800 | — |
| markup.heading, markup.heading entity.name | #0550AE | bold |
| markup.quote | #116329 | — |
| markup.italic | #1F2328 | italic |
| markup.bold | #1F2328 | bold |
| markup.underline | — | underline |
| markup.strikethrough | — | strikethrough |
| markup.inline.raw | #0550AE | — |
| markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted | #82071E | — |
| punctuation.section.embedded | #CF222E | — |
| markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted | #116329 | — |
| markup.changed, punctuation.definition.changed | #953800 | — |
| markup.ignored, markup.untracked | #EAEEF2 | — |
| meta.diff.range | #8250DF | bold |
| meta.diff.header | #0550AE | — |
| meta.separator | #0550AE | bold |
| meta.output | #0550AE | — |
| brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote | #57606A | — |
| brackethighlighter.unmatched | #82071E | — |
| constant.other.reference.link, string.other.link | #0A3069 | — |
| comment | #2E902E | — |
| punctuation.definition.comment | #2E902E | — |
| string | #092E61B7 | — |
| meta.embedded.assembly | #092E61B7 | — |
| keyword - keyword.operator | #C30000 | — |
| keyword.control | #C30000 | — |
| storage | #C30000 | — |
| storage.type | #C30000 | — |
| constant.numeric | #3737AD | — |
| entity.name.type | #3737AD | — |
| entity.name.class | #3737AD | — |
| support.type | #3737AD | — |
| support.class | #3737AD | — |
| entity.name.function | #3737AD | — |
| support.function | #3737AD | — |
| variable | #3737AD | — |
| entity.name.variable | #3737AD | — |
| keyword.operator, keyword.operator.expression, keyword.operator.new, constant.language, storage.modifier, entity.other.attribute-name, entity.name.tag, variable.other.constant, variable.other.enummember, support.variable.property | #3737AD | — |
| entity.name.type.interface, entity.name.namespace, entity.other.inherited-class | #9F6F00 | — |
| support.type.property-name, punctuation.definition.array.begin, punctuation.definition.array.end, punctuation.definition.dictionary.begin, punctuation.definition.dictionary.end | #3737AD | — |
| constant.character.escape, punctuation.definition.group.regexp, punctuation.definition.character-class.regexp, constant.other.character-class.regexp, constant.other.character-class.set.regexp, keyword.operator.quantifier.regexp | #4CA49C | — |
| source.bsl | #3737AD | — |
| punctuation.bracket.begin.bsl, punctuation.bracket.end.bsl | #C30000 | — |
| keyword.other.preprocessor.bsl, keyword.other.section.bsl, storage.modifier.directive.bsl, entity.name.section.bsl | #963200 | — |
| keyword.control.sdbl, variable.parameter.sdbl, keyword.control.conditional.sdbl, support.function.sdbl, support.type.sdbl, constant.numeric.sdbl, string.quoted.double.bsl, keyword.operator.logical.sdbl, constant.language.sdbl, constant.character.escape.bsl | #4CA49C | — |
| source.xbsl, source.sbsl | #3737AD | — |
| string.quoted.double.xbsl, constant.character.escape.xbsl, string.quoted.double.sbsl, constant.character.escape.sbsl | #4CA49C | — |
| support.type.property-name.json, punctuation.definition.array.begin, punctuation.definition.array.end, punctuation.definition.dictionary.begin, punctuation.definition.dictionary.end, punctuation.separator.array.json, punctuation.separator.dictionary.pair.json.comments, punctuation.separator.dictionary.key-value.json.comments | #3737AD | — |
| string.quoted.double.json | #4CA49C | — |
| constant.language.json, constant.numeric.json | #AB7700 | — |
| punctuation.definition.tag.xml, entity.name.tag.xml, entity.name.tag.localname.xml, entity.other.attribute-name.xml, entity.other.attribute-name.localname.xml | #3737AD | — |
| string.quoted.double.xml, string.unquoted.cdata.xml | #4CA49C | — |
| text.xml | #4CA49C | — |
| markup.heading.markdown | #092E61B7 | — |
| string.other.link.title.markdown, meta.link.inline.markdown, markup.inline.raw.string.markdown | #0466B2BF | — |
| markup.quote.markdown, markup.fenced_code.block.markdown | #3E5CB5BB | — |
| string.unquoted.plain.out.yaml, string.unquoted.cdata.xml, string.quoted.double.yaml, string.unquoted.block.yaml | #4CA49C | — |
| constant.numeric.integer.yaml | #AB7700 | — |
| support.variable.property.importmeta.ts, punctuation.separator.key-value.ts, support.variable.ts, variable.other.property.ts, storage.type.function.arrow.ts | #3737AD | — |
| variable.other.constant.object.ts, variable.language.super.ts, variable.language.this.ts, variable.language.this.tsx, punctuation.decorator.ts | #1F73E9 | — |
| string.quoted.single.ts, string.regexp.ts, string.template.ts, keyword.operator.negation.regexp, keyword.operator.or.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.string.begin.ts, punctuation.definition.string.end.ts, keyword.control.anchor.regexp, string.quoted.double.ts | #4CA49C | — |
| keyword.other.package.java, keyword.other.import.java, storage.modifier.java | #C30000 | — |
| storage.modifier.package.java, storage.modifier.import.java, entity.name.type.class.java, entity.name.function.java | #9F6F00 | — |
| source.java, storage.type.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.generic.java, storage.type.object.array.java, storage.type.generic.wildcard.java, keyword.operator.instanceof.java, keyword.control.ternary.java | #3737AD | — |
| keyword.other.documentation.javadoc.java, variable.language.this.java, variable.language.java, storage.type.annotation.java, punctuation.definition.annotation.java | #1F73E9 | — |
| keyword.other.documentation.javadoc.java | #2E902E | — |
| string.quoted.double.java, punctuation.definition.string.begin.java, punctuation.definition.string.end.java, string.quoted.single.java | #4CA49C | — |
| #C30000 | — | |
| #9F6F00 | — | |
| punctuation.terminator.statement.js, punctuation.separator.comma.js, storage.type.function.arrow.js, support.variable.js, punctuation.separator.key-value.js, punctuation.separator.parameter.js | #3737AD | — |
| variable.language.this.js | #1F73E9 | — |
| entity.name.type.instance.jsdoc, punctuation.definition.block.tag.jsdoc, storage.type.class.jsdoc, punctuation.definition.bracket.curly.begin.jsdoc, punctuation.definition.bracket.curly.end.jsdoc, variable.other.jsdoc | #2E902E | — |
| string.quoted.single.js, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, string.quoted.double.js, string.regexp.js, punctuation.definition.string.template.begin.js, punctuation.definition.string.template.end.js, string.template.js | #4CA49C | — |
| meta.function-call.generic.python | #9F6F00 | — |
| punctuation.separator.element.python, keyword.operator.logical.python, source.python, keyword.control.flow.python | #3737AD | — |
| support.variable.magic.python | #1F73E9 | — |
| string.quoted.docstring.multi.python | #2E902E | — |
| string.quoted.single.python, punctuation.definition.string.begin.python, punctuation.definition.string.end.python, constant.character.format.placeholder.other.python, storage.type.string.python, string.quoted.raw.single.python, string.quoted.multi.python, support.other.escape.special.regexp | #4CA49C | — |
| keyword.other.namespace.php, keyword.other.use.php, storage.modifier.php | #C30000 | — |
| entity.name.type.namespace.php, support.other.namespace.php, support.class.php, entity.name.type.class.php, support.class.builtin.php | #9F6F00 | — |
| punctuation.terminator.expression.php, punctuation.separator.delimiter.php | #3737AD | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, variable.language.this.php | #1F73E9 | — |
| keyword.other.phpdoc.php, comment.block.documentation.phpdoc.php | #2E902E | — |
| string.quoted.single.php | #4CA49C | — |
| #C30000 | — | |
| #9F6F00 | — | |
| punctuation.separator.key-value.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.tag.html | #3737AD | — |
| #1F73E9 | — | |
| #2E902E | — | |
| string.quoted.double.html, string.unquoted.html | #4CA49C | — |
| text.html.jinja, keyword.control.jinja, variable.other.jinja | #646464 | — |
| token.info-token | #316BCD | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #CD3131 | — |
| token.debug-token | #800080 | — |
| comment | #2E902E | — |
| punctuation.definition.comment | #2E902E | — |
| string | #092E61B7 | — |
| meta.embedded.assembly | #092E61B7 | — |
| keyword - keyword.operator | #C30000 | — |
| keyword.control | #C30000 | — |
| storage | #C30000 | — |
| storage.type | #C30000 | — |
| constant.numeric | #3737AD | — |
| entity.name.type | #3737AD | — |
| entity.name.class | #3737AD | — |
| support.type | #3737AD | — |
| support.class | #3737AD | — |
| entity.name.function | #3737AD | — |
| support.function | #3737AD | — |
| variable | #3737AD | — |
| entity.name.variable | #3737AD | — |
| keyword.operator, keyword.operator.expression, keyword.operator.new, constant.language, constant.numeric, storage.modifier, entity.other.attribute-name, entity.name.type, entity.name.function, entity.name.tag, variable.other.constant, variable.other.enummember, support.variable.property, support.function, support.class, support.variable, variable.other | #3737AD | — |
| constant.numeric | #484545 | — |
| entity.name.type.interface, entity.name.namespace, entity.other.inherited-class | #9F6F00 | — |
| storage.type, storage.modifier | #C30000 | — |
| support.type.property-name, punctuation.definition.array.begin, punctuation.definition.array.end, punctuation.definition.dictionary.begin, punctuation.definition.dictionary.end | #3737AD | — |
| constant.character.escape, punctuation.definition.group.regexp, punctuation.definition.character-class.regexp, constant.other.character-class.regexp, constant.other.character-class.set.regexp, keyword.operator.quantifier.regexp, meta.block, string.quoted.single, string.quoted.double | #4CA49C | — |
| source.bsl, punctuation.bracket.begin.bsl, punctuation.bracket.end.bsl | #3737AD | — |
| keyword.control.sdbl, support.function.sdbl, support.type.sdbl | #092E61B7 | — |
| constant.other.date.bsl | #484545 | — |
| constant.language.bsl, keyword.operator.logical.bsl | #C30000 | — |
| keyword.other.preprocessor.bsl, keyword.other.section.bsl, keyword.control.import.bsl, keyword.control.native.bsl, storage.modifier.directive.bsl, storage.type.annotation.bsl, entity.name.section.bsl | #963200 | — |
| source.sdbl, string.quoted.double.bsl, constant.numeric.sdbl, constant.language.sdbl, string.quoted.double.sdbl, keyword.operator.sdbl, keyword.operator.logical.sdbl, keyword.operator.comparison.sdbl, keyword.control.conditional.sdbl, keyword.operator.arithmetic.sdbl, variable.parameter.sdbl | #4CA49C | — |
| #2E902E | — | |
| source.xbsl, storage.modifier.import, storage.type.xbsl, variable.parameter.method.xbsl | #3737AD | — |
| support.function.sql.xbsl | #092E61B7 | — |
| #484545 | — | |
| constant.language.xbsl, keyword.operator.logical.xbsl | #C30000 | — |
| keyword.control.import.xbsl | #963200 | — |
| keyword.control.less.xbsl, keyword.sql.xbsl, string.quoted.double.xbsl, string.other.query.xbsl, string.query.xbsl, constant.character.escape.xbsl, variable.parameter.xbsl, punctuation.definition.string.begin.bsl, punctuation.definition.string.begin.bsl | #4CA49C | — |
| #2E902E | — | |
| keyword.other.DML.II.sql, keyword.other.DML.sql, keyword.other.DDL.create.II.sql, keyword.other.LUW.sql, keyword.other.alias.sql, keyword.other.authorization.sql, keyword.other.cascade.sql, keyword.other.create.sql, keyword.other.data-integrity.sql, keyword.other.object-comments.sql, keyword.other.order.sql, keyword.other.table.sql, entity.name.function.sql | #C30000 | — |
| string.interpolated.sql, string.other.quoted.brackets.sql, string.quoted.double.sql, string.quoted.other.backtick.sql, string.quoted.single.sql, string.regexp.modr.sql, string.regexp.sql | #4CA49C | — |
| comment.block, comment.line.double-dash.sql | #2E902E | — |
| source.sql, keyword.operator.comparison.sql, keyword.operator.concatenator.sql, keyword.operator.math.sql, keyword.operator.star.sql, storage.modifier.sql, storage.type.sql, constant.character.escape.slash.sql, constant.character.escape.sql, constant.numeric.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.other.sql | #092E61B7 | — |
| support.type.property-name.json, punctuation.separator.array.json, punctuation.separator.dictionary.pair.json.comments, punctuation.separator.dictionary.key-value.json.comments | #3737AD | — |
| string.quoted.double.json | #4CA49C | — |
| constant.language.json, constant.numeric.json | #AB7700 | — |
| punctuation.definition.tag.xml, entity.name.tag.xml, entity.name.tag.localname.xml, entity.other.attribute-name.xml, entity.other.attribute-name.localname.xml | #3737AD | — |
| string.quoted.double.xml, string.unquoted.cdata.xml | #4CA49C | — |
| text.xml | #4CA49C | — |
| markup.heading, text.html.markdown | #3737AD | — |
| markup.inline.raw | #0466B2BF | — |
| markup.bold | #0F75BE | — |
| keyword.language.gherkin.feature, keyword.language.gherkin.feature.scenario | #484545 | — |
| keyword.language.gherkin.feature.step | #C30000 | — |
| keyword.control.cucumber.table | #4CA49C | — |
| text.gherkin.feature | #3737AD | — |
| keyword.control.conditional.batchfile, keyword.other.special-method.batchfile, keyword.command.batchfile, keyword.operator.logical.batchfile | #C30000 | — |
| comment.line.colon.batchfile, comment.line.rem.batchfile | #2E902E | — |
| source.batchfile, keyword.command.rem.batchfile, keyword.control.repeat.batchfile, keyword.control.repeat.do.batchfile, keyword.control.repeat.in.batchfile, keyword.control.statement.batchfile, keyword.operator.arithmetic.batchfile, keyword.operator.assignment.augmented.batchfile, keyword.operator.assignment.batchfile, keyword.operator.at.batchfile, keyword.operator.comparison.batchfile, keyword.operator.conditional.batchfile, keyword.operator.pipe.batchfile, keyword.operator.redirection.batchfile | #3737AD | — |
| source.shell, keyword.control.powershell, storage.type.powershell | #3737AD | — |
| support.variable.property.importmeta.ts, punctuation.separator.key-value.ts, support.variable.ts, variable.other.property.ts, storage.type.function.arrow.ts | #3737AD | — |
| variable.other.constant.object.ts, variable.language.super.ts, variable.language.this.ts, variable.language.this.tsx, punctuation.decorator.ts | #1F73E9 | — |
| string.quoted.single.ts, string.regexp.ts, string.template.ts, keyword.operator.negation.regexp, keyword.operator.or.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.string.begin.ts, punctuation.definition.string.end.ts, keyword.control.anchor.regexp, string.quoted.double.ts | #4CA49C | — |
| keyword.other.package.java, keyword.other.import.java, storage.modifier.java | #C30000 | — |
| storage.modifier.package.java, storage.modifier.import.java, entity.name.type.class.java, entity.name.function.java | #9F6F00 | — |
| source.java, storage.type.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.generic.java, storage.type.object.array.java, storage.type.generic.wildcard.java, keyword.operator.instanceof.java, keyword.control.ternary.java | #3737AD | — |
| keyword.other.documentation.javadoc.java, variable.language.this.java, variable.language.java, storage.type.annotation.java, punctuation.definition.annotation.java | #1F73E9 | — |
| keyword.other.documentation.javadoc.java | #2E902E | — |
| string.quoted.double.java, punctuation.definition.string.begin.java, punctuation.definition.string.end.java, string.quoted.single.java | #4CA49C | — |
| #C30000 | — | |
| #9F6F00 | — | |
| punctuation.terminator.statement.js, punctuation.separator.comma.js, storage.type.function.arrow.js, support.variable.js, punctuation.separator.key-value.js, punctuation.separator.parameter.js | #3737AD | — |
| variable.language.this.js | #1F73E9 | — |
| entity.name.type.instance.jsdoc, punctuation.definition.block.tag.jsdoc, storage.type.class.jsdoc, punctuation.definition.bracket.curly.begin.jsdoc, punctuation.definition.bracket.curly.end.jsdoc, variable.other.jsdoc | #2E902E | — |
| string.quoted.single.js, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, string.quoted.double.js, string.regexp.js, punctuation.definition.string.template.begin.js, punctuation.definition.string.template.end.js, string.template.js | #4CA49C | — |
| meta.function-call.generic.python | #9F6F00 | — |
| punctuation.separator.element.python, keyword.operator.logical.python, source.python, keyword.control.flow.python | #3737AD | — |
| support.variable.magic.python | #1F73E9 | — |
| string.quoted.docstring.multi.python | #2E902E | — |
| string.quoted.single.python, punctuation.definition.string.begin.python, punctuation.definition.string.end.python, constant.character.format.placeholder.other.python, storage.type.string.python, string.quoted.raw.single.python, string.quoted.multi.python, support.other.escape.special.regexp | #4CA49C | — |
| keyword.other.namespace.php, keyword.other.use.php, storage.modifier.php | #C30000 | — |
| entity.name.type.namespace.php, support.other.namespace.php, support.class.php, entity.name.type.class.php, support.class.builtin.php | #9F6F00 | — |
| punctuation.terminator.expression.php, punctuation.separator.delimiter.php | #3737AD | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, variable.language.this.php | #1F73E9 | — |
| keyword.other.phpdoc.php, comment.block.documentation.phpdoc.php | #2E902E | — |
| string.quoted.single.php | #4CA49C | — |
| #C30000 | — | |
| #9F6F00 | — | |
| punctuation.separator.key-value.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.tag.html | #3737AD | — |
| #1F73E9 | — | |
| #2E902E | — | |
| string.quoted.double.html, string.unquoted.html | #4CA49C | — |
| text.html.jinja, keyword.control.jinja, variable.other.jinja | #646464 | — |
| comment | #2E902E | — |
| punctuation.definition.comment | #2E902E | — |
| string | #092E61B7 | — |
| meta.embedded.assembly | #092E61B7 | — |
| keyword - keyword.operator | #C30000 | — |
| keyword.control | #C30000 | — |
| storage | #C30000 | — |
| storage.type | #C30000 | — |
| constant.numeric | #3737AD | — |
| entity.name.type | #3737AD | — |
| entity.name.class | #3737AD | — |
| support.type | #3737AD | — |
| support.class | #3737AD | — |
| entity.name.function | #3737AD | — |
| support.function | #3737AD | — |
| variable | #3737AD | — |
| entity.name.variable | #3737AD | — |
| keyword.operator, keyword.operator.expression, keyword.operator.new, constant.language, constant.numeric, storage.modifier, entity.other.attribute-name, entity.name.type, entity.name.function, entity.name.tag, variable.other.constant, variable.other.enummember, support.variable.property, support.function, support.class, support.variable, variable.other | #3737AD | — |
| constant.numeric | #484545 | — |
| entity.name.type.interface, entity.name.namespace, entity.other.inherited-class | #9F6F00 | — |
| storage.type, storage.modifier | #C30000 | — |
| support.type.property-name, punctuation.definition.array.begin, punctuation.definition.array.end, punctuation.definition.dictionary.begin, punctuation.definition.dictionary.end | #3737AD | — |
| constant.character.escape, punctuation.definition.group.regexp, punctuation.definition.character-class.regexp, constant.other.character-class.regexp, constant.other.character-class.set.regexp, keyword.operator.quantifier.regexp, meta.block, string.quoted.single, string.quoted.double | #4CA49C | — |
| source.bsl, punctuation.bracket.begin.bsl, punctuation.bracket.end.bsl | #3737AD | — |
| keyword.control.sdbl, support.function.sdbl, support.type.sdbl | #092E61B7 | — |
| constant.other.date.bsl | #484545 | — |
| constant.language.bsl, keyword.operator.logical.bsl | #C30000 | — |
| keyword.other.preprocessor.bsl, keyword.other.section.bsl, keyword.control.import.bsl, keyword.control.native.bsl, storage.modifier.directive.bsl, storage.type.annotation.bsl, entity.name.section.bsl | #963200 | — |
| source.sdbl, string.quoted.double.bsl, constant.numeric.sdbl, constant.language.sdbl, string.quoted.double.sdbl, keyword.operator.sdbl, keyword.operator.logical.sdbl, keyword.operator.comparison.sdbl, keyword.control.conditional.sdbl, keyword.operator.arithmetic.sdbl, variable.parameter.sdbl | #4CA49C | — |
| #2E902E | — | |
| source.xbsl, storage.modifier.import, storage.type.xbsl, variable.parameter.method.xbsl | #3737AD | — |
| support.function.sql.xbsl | #092E61B7 | — |
| #484545 | — | |
| constant.language.xbsl, keyword.operator.logical.xbsl | #C30000 | — |
| keyword.control.import.xbsl | #963200 | — |
| keyword.control.less.xbsl, keyword.sql.xbsl, string.quoted.double.xbsl, string.other.query.xbsl, string.query.xbsl, constant.character.escape.xbsl, variable.parameter.xbsl, punctuation.definition.string.begin.bsl, punctuation.definition.string.begin.bsl | #4CA49C | — |
| #2E902E | — | |
| keyword.other.DML.II.sql, keyword.other.DML.sql, keyword.other.DDL.create.II.sql, keyword.other.LUW.sql, keyword.other.alias.sql, keyword.other.authorization.sql, keyword.other.cascade.sql, keyword.other.create.sql, keyword.other.data-integrity.sql, keyword.other.object-comments.sql, keyword.other.order.sql, keyword.other.table.sql, entity.name.function.sql | #C30000 | — |
| string.interpolated.sql, string.other.quoted.brackets.sql, string.quoted.double.sql, string.quoted.other.backtick.sql, string.quoted.single.sql, string.regexp.modr.sql, string.regexp.sql | #4CA49C | — |
| comment.block, comment.line.double-dash.sql | #2E902E | — |
| source.sql, keyword.operator.comparison.sql, keyword.operator.concatenator.sql, keyword.operator.math.sql, keyword.operator.star.sql, storage.modifier.sql, storage.type.sql, constant.character.escape.slash.sql, constant.character.escape.sql, constant.numeric.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.other.sql | #092E61B7 | — |
| support.type.property-name.json, punctuation.separator.array.json, punctuation.separator.dictionary.pair.json.comments, punctuation.separator.dictionary.key-value.json.comments | #3737AD | — |
| string.quoted.double.json | #4CA49C | — |
| constant.language.json, constant.numeric.json | #AB7700 | — |
| punctuation.definition.tag.xml, entity.name.tag.xml, entity.name.tag.localname.xml, entity.other.attribute-name.xml, entity.other.attribute-name.localname.xml | #3737AD | — |
| string.quoted.double.xml, string.unquoted.cdata.xml | #4CA49C | — |
| text.xml | #4CA49C | — |
| markup.heading, text.html.markdown | #3737AD | — |
| markup.inline.raw | #0466B2BF | — |
| markup.bold | #0F75BE | — |
| keyword.language.gherkin.feature, keyword.language.gherkin.feature.scenario | #484545 | — |
| keyword.language.gherkin.feature.step | #C30000 | — |
| keyword.control.cucumber.table | #4CA49C | — |
| text.gherkin.feature | #3737AD | — |
| keyword.control.conditional.batchfile, keyword.other.special-method.batchfile, keyword.command.batchfile, keyword.operator.logical.batchfile | #C30000 | — |
| comment.line.colon.batchfile, comment.line.rem.batchfile | #2E902E | — |
| source.batchfile, keyword.command.rem.batchfile, keyword.control.repeat.batchfile, keyword.control.repeat.do.batchfile, keyword.control.repeat.in.batchfile, keyword.control.statement.batchfile, keyword.operator.arithmetic.batchfile, keyword.operator.assignment.augmented.batchfile, keyword.operator.assignment.batchfile, keyword.operator.at.batchfile, keyword.operator.comparison.batchfile, keyword.operator.conditional.batchfile, keyword.operator.pipe.batchfile, keyword.operator.redirection.batchfile | #3737AD | — |
| source.shell, keyword.control.powershell, storage.type.powershell | #3737AD | — |
| punctuation.definition.anchor.yaml, punctuation.definition.alias.yaml, punctuation.definition.block.sequence.item.yaml, punctuation.definition.directive.begin.yaml, punctuation.definition.key-value.begin.yaml, punctuation.definition.mapping.begin.yaml, punctuation.definition.mapping.end.yaml, punctuation.definition.sequence.begin.yaml, punctuation.definition.sequence.end.yaml, punctuation.definition.string.begin.yaml, punctuation.definition.string.end.yaml, punctuation.separator.map.value.yaml, punctuation.separator.key-value.mapping.yaml, punctuation.separator.mapping.yaml, punctuation.separator.sequence.yaml, punctuation.whitespace.comment.leading.yaml | #3737AD | — |
| punctuation.definition.comment.yaml | #2E902E | — |
| constant.character.escape.single-quote.yaml, constant.character.escape.unicode.16-bit.yaml, constant.character.escape.unicode.32-bit.yaml, constant.character.escape.unicode.8-bit.yaml, constant.character.escape.yaml, constant.language.boolean.yaml, constant.language.null.yaml, constant.numeric.float.inf.yaml, constant.numeric.float.nan.yaml, constant.numeric.float.yaml, constant.numeric.indentation-indicator.yaml, constant.numeric.integer.decimal.yaml, constant.numeric.integer.hexadecimal.yaml, constant.numeric.integer.octal.yaml, constant.numeric.yaml-version.yaml | #4CA49C | — |
| entity.name.section.group-title.ini, keyword.other.definition.ini | #3737AD | — |
| source.ini | #4CA49C | — |
| text.log | #3737AD | — |
| log.debug, log.info | #0585D4 | — |
| log.warning | #B17B08 | — |
| log.error, log.exception | #C61717 | — |
| log.constant, log.date | #4CA49C | — |
| punctuation.definition.comment.begin.js, punctuation.definition.comment.end.js, punctuation.definition.comment.html, punctuation.definition.comment.js | #4CA49C | — |
| string.other.inline-data.html, string.quoted.double.html, string.quoted.single.html, string.unquoted.html, text.html.basic, text.html.derivative | #4CA49C | — |
| text.html.jinja, keyword.control.jinja, variable.other.jinja | #2E902E | — |
| punctuation.definition.entity.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.tag.html, punctuation.separator.key-value.html, punctuation.whitespace.comment.leading.js, punctuation.whitespace.embedded.leading.html, punctuation.whitespace.embedded.trailing.html | #3737AD | — |
| entity.name.function.namespace-prefix.css, entity.name.tag.css, entity.name.tag.custom.css, entity.name.tag.wildcard.css, entity.other.attribute-name.class.css, entity.other.attribute-name.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.other.keyframe-offset.css, entity.other.keyframe-offset.percentage.css, entity.other.namespace-prefix.css | #9F6F00 | — |
| constant.character.escape.codepoint.css, constant.character.escape.css, constant.character.escape.newline.css, constant.numeric.css, constant.numeric.other.density.css, constant.other.color.rgb-value.hex.css, constant.other.unicode-range.css, support.constant.color.current.css, support.constant.color.w3c-extended-color-name.css, support.constant.color.w3c-standard-color-name.css, support.constant.font-name.css, support.constant.language-range.css, support.constant.media.css, support.constant.parity.css, support.constant.property-value.css, support.constant.property-value.list-style-type.css, support.constant.step-direction.css, support.constant.text-direction.css, support.constant.vendored.property-value.css, meta.property-list.css, meta.property-list.font-feature.css, meta.property-name.css, meta.property-value.css, keyword.other.important.css, keyword.other.unit.${2:/downcase}.css, keyword.other.unit.percentage.css, keyword.other.unit.rem.css, keyword.other.unit.vw.css, keyword.other.unit.px.css, keyword.other.unit.em.css, variable.argument.css, variable.css, variable.font-feature.css, variable.parameter.document-rule.css, variable.parameter.font-name.css, variable.parameter.keyframe-list.css, variable.parameter.misc.css, variable.parameter.style-name.css, variable.parameter.url.css | #4CA49C | — |
| support.type.property-name.css, support.type.property-name.media.css, support.type.vendored.property-name.css, support.type.vendored.property-name.media.css | #3737AD | — |
| support.variable.property.importmeta.ts, punctuation.separator.key-value.ts, support.variable.ts, variable.other.property.ts, storage.type.function.arrow.ts | #3737AD | — |
| variable.other.constant.object.ts, variable.language.super.ts, variable.language.this.ts, variable.language.this.tsx, punctuation.decorator.ts | #1F73E9 | — |
| string.quoted.single.ts, string.regexp.ts, string.template.ts, keyword.operator.negation.regexp, keyword.operator.or.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.string.begin.ts, punctuation.definition.string.end.ts, keyword.control.anchor.regexp, string.quoted.double.ts | #4CA49C | — |
| keyword.other.package.java, keyword.other.import.java, storage.modifier.java | #C30000 | — |
| storage.modifier.package.java, storage.modifier.import.java, entity.name.type.class.java, entity.name.function.java | #9F6F00 | — |
| source.java, storage.type.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.generic.java, storage.type.object.array.java, storage.type.generic.wildcard.java, keyword.operator.instanceof.java, keyword.control.ternary.java | #3737AD | — |
| keyword.other.documentation.javadoc.java, variable.language.this.java, variable.language.java, storage.type.annotation.java, punctuation.definition.annotation.java | #1F73E9 | — |
| keyword.other.documentation.javadoc.java | #2E902E | — |
| string.quoted.double.java, punctuation.definition.string.begin.java, punctuation.definition.string.end.java, string.quoted.single.java | #4CA49C | — |
| #C30000 | — | |
| #9F6F00 | — | |
| punctuation.terminator.statement.js, punctuation.separator.comma.js, storage.type.function.arrow.js, support.variable.js, punctuation.separator.key-value.js, punctuation.separator.parameter.js | #3737AD | — |
| variable.language.this.js | #1F73E9 | — |
| entity.name.type.instance.jsdoc, punctuation.definition.block.tag.jsdoc, storage.type.class.jsdoc, punctuation.definition.bracket.curly.begin.jsdoc, punctuation.definition.bracket.curly.end.jsdoc, variable.other.jsdoc | #2E902E | — |
| string.quoted.single.js, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, string.quoted.double.js, string.regexp.js, punctuation.definition.string.template.begin.js, punctuation.definition.string.template.end.js, string.template.js | #4CA49C | — |
| meta.function-call.generic.python | #9F6F00 | — |
| punctuation.separator.element.python, keyword.operator.logical.python, source.python, keyword.control.flow.python | #3737AD | — |
| support.variable.magic.python | #1F73E9 | — |
| string.quoted.docstring.multi.python | #2E902E | — |
| string.quoted.single.python, punctuation.definition.string.begin.python, punctuation.definition.string.end.python, constant.character.format.placeholder.other.python, storage.type.string.python, string.quoted.raw.single.python, string.quoted.multi.python, support.other.escape.special.regexp | #4CA49C | — |
| keyword.other.namespace.php, keyword.other.use.php, storage.modifier.php | #C30000 | — |
| entity.name.type.namespace.php, support.other.namespace.php, support.class.php, entity.name.type.class.php, support.class.builtin.php | #9F6F00 | — |
| punctuation.terminator.expression.php, punctuation.separator.delimiter.php | #3737AD | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, variable.language.this.php | #1F73E9 | — |
| keyword.other.phpdoc.php, comment.block.documentation.phpdoc.php | #2E902E | — |
| string.quoted.single.php | #4CA49C | — |
| #C30000 | — | |
| #9F6F00 | — | |
| punctuation.separator.key-value.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.tag.html | #3737AD | — |
| #1F73E9 | — | |
| #2E902E | — | |
| string.quoted.double.html, string.unquoted.html | #4CA49C | — |
| text.html.jinja, keyword.control.jinja, variable.other.jinja | #646464 | — |
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}!`;
}