qtz-theme
Publisher: qiupengThemes in package: 6
qtz theme for vscode, enjoy it.
qtz theme for vscode, enjoy it.
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, 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, 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 | — |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #795E26 | — |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #267f99 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class, punctuation.separator.namespace.ruby | #267f99 | — |
| keyword.control, source.cpp keyword.operator.new, source.cpp keyword.operator.delete, keyword.other.using, keyword.other.directive.using, keyword.other.operator, entity.name.operator | #AF00DB | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder | #001080 | — |
| variable.other.constant, variable.other.enummember | #0070C1 | — |
| meta.object-literal.key | #001080 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #0451a5 | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #d16969 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #811f3f | — |
| keyword.operator.quantifier.regexp | #000000 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #EE0000 | — |
| constant.character, constant.other.option | #0000ff | — |
| constant.character.escape | #EE0000 | — |
| entity.name.label | #000000 | — |
| 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 | — |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #795E26 | — |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #267f99 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class, punctuation.separator.namespace.ruby | #267f99 | — |
| keyword.control, source.cpp keyword.operator.new, source.cpp keyword.operator.delete, keyword.other.using, keyword.other.directive.using, keyword.other.operator, entity.name.operator | #AF00DB | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder | #001080 | — |
| variable.other.constant, variable.other.enummember | #0070C1 | — |
| meta.object-literal.key | #001080 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #0451a5 | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #d16969 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #811f3f | — |
| keyword.operator.quantifier.regexp | #000000 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #EE0000 | — |
| constant.character, constant.other.option | #0000ff | — |
| constant.character.escape | #EE0000 | — |
| entity.name.label | #000000 | — |
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python | #000000ff | — |
| emphasis | — | italic |
| strong | — | bold |
| meta.diff.header | #000080 | — |
| comment | #008000 | — |
| constant.language | #0000ff | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #098658 | — |
| constant.regexp | #811f3f | — |
| entity.name.tag | #800000 | — |
| entity.name.selector | #800000 | — |
| entity.other.attribute-name | #e50000 | — |
| entity.other.attribute-name.class.css, source.css entity.other.attribute-name.class, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.parent.less, source.css entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss | #800000 | — |
| invalid | #cd3131 | — |
| markup.underline | — | underline |
| markup.bold | #000080 | bold |
| markup.heading | #800000 | bold |
| markup.italic | #800080 | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #098658 | — |
| markup.deleted | #a31515 | — |
| markup.changed | #0451a5 | — |
| punctuation.definition.quote.begin.markdown, punctuation.definition.list.begin.markdown | #0451a5 | — |
| markup.inline.raw | #800000 | — |
| punctuation.definition.tag | #800000 | — |
| meta.preprocessor, entity.name.function.preprocessor | #0000ff | — |
| meta.preprocessor.string | #a31515 | — |
| meta.preprocessor.numeric | #098658 | — |
| meta.structure.dictionary.key.python | #0451a5 | — |
| storage | #0000ff | — |
| storage.type | #0000ff | — |
| storage.modifier, keyword.operator.noexcept | #0000ff | — |
| string, meta.embedded.assembly | #a31515 | — |
| string.comment.buffered.block.pug, string.quoted.pug, string.interpolated.pug, string.unquoted.plain.in.yaml, string.unquoted.plain.out.yaml, string.unquoted.block.yaml, string.quoted.single.yaml, string.quoted.double.xml, string.quoted.single.xml, string.unquoted.cdata.xml, string.quoted.double.html, string.quoted.single.html, string.unquoted.html, string.quoted.single.handlebars, string.quoted.double.handlebars | #0000ff | — |
| string.regexp | #811f3f | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #0000ff | — |
| meta.template.expression | #000000 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #0451a5 | — |
| support.type.vendored.property-name, support.type.property-name, source.css variable, source.coffee.embedded | #e50000 | — |
| support.type.property-name.json | #0451a5 | — |
| keyword | #0000ff | — |
| keyword.control | #0000ff | — |
| keyword.operator | #000000 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #0000ff | — |
| keyword.other.unit | #098658 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #800000 | — |
| support.function.git-rebase | #0451a5 | — |
| constant.sha.git-rebase | #098658 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #000000 | — |
| variable.language | #0000ff | — |
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}!`;
}