ThemeDatabase All Themes
Publisher: enes ozturkThemes in package: 21943
One theme database to rule them all. All 22,037 ThemeDatabase themes in one VSIX package.
One theme database to rule them all. All 22,037 ThemeDatabase themes in one VSIX package.
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 |
|---|---|---|
| constant | #F09483E6 | — |
| entity.name | #FAC29AE6 | — |
| entity.other.attribute-name.id | #25B0BCE6 | — |
| keyword | #B877DBE6 | — |
| markup.quote | #007acc | italic |
| markup.heading | #E95678E6 | — |
| markup.bold | #B877DBE6 | bold |
| markup.italic | #25B0BCE6 | italic |
| markup.inline.raw, markup.fenced_code.block | #F09483E6 | — |
| markup.underline.link | #FAB795E6 | — |
| storage | #B877DBE6 | — |
| storage, punctuation.definition.quote.begin.markdown, punctuation.definition.list.begin.markdown, punctuation.definition.heading.markdown | #B877DBE6 | — |
| string.other.link | #F09483E6 | — |
| support, variable.language | #FAC29AE6 | — |
| string.template meta.embedded | #BBBBBB | — |
| punctuation.separator | #BBBBBB | — |
| punctuation.section.embedded | #B877DBE6 | — |
| punctuation.definition.list | #F09483E6 | — |
| support | #db9b25 | — |
| support.variable.magic | #b8cf8d | — |
| support.function.magic | #74b6c2 | — |
| constant.language.boolean, constant.language.false, constant.language.true | #e0c25f | bold |
| punctuation.definition.bracket.curly.begin.jsdoc, punctuation.definition.bracket.curly.end.jsdoc, comment.line.double-dash.doc keyword.operator | #bbaa8c | — |
| constant.language.null, constant.language.undefined, constant.language.void, constant.language.nil, constant.language.nullptr | #946969 | — |
| entity.name.type.instance.jsdoc | #8f826b | — |
| support.type.primitive | #dbb645 | — |
| punctuation.definition.template-expression, punctuation.section.tag, punctuation.definition.link.title.begin.markdown, punctuation.definition.link.title.end.markdown, punctuation.definition.link.description.begin.markdown, punctuation.definition.link.description.end.markdown, punctuation.definition.metadata.markdown, constant.other.placeholder | #bb615a | — |
| string.quoted, string.unquoted, string.template, meta.attribute-selector, variable.parameter.url | #facb95 | — |
| punctuation.separator.key-value | #bfddd1 | — |
| keyword.operator.type.annotation | #d9dec0 | — |
| keyword.operator.ternary, punctuation.accessor.optional, keyword.operator.optional | #afbccb | — |
| storage.type.function.arrow | #d4bdde | — |
| variable.other.jsdoc, keyword.other.documentation, punctuation.definition.annotation, storage.type.annotation | #8a736a | — |
| keyword.operator, storage.type.function.arrow, keyword.operator.logical, punctuation.separator.parameter, entity.name.tag.reference | #dddddd | — |
| punctuation.accessor, keyword.operator.type.annotation | #b1b1b1 | — |
| storage.type.class.jsdoc, comment.line.double-dash.doc entity.name | #4e634e | — |
| constant.character.escape | #b8d786 | — |
| punctuation.definition.comment, string.quoted.docstring punctuation.definition.string.begin, string.quoted.docstring punctuation.definition.string.end, entity.other.document.begin.yaml | #5a5a5a | — |
| comment.block, comment.line, meta.separator.markdown, string.quoted.docstring | #4e4e4e | — |
| constant.numeric.decimal, constant.numeric, keyword.other.unit.hexadecimal | #e2e2c3 | — |
| keyword.other.unit | #a3c4b9 | — |
| string.regexp | #f3dcab | — |
| punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.string.template.end, punctuation.definition.string.template.begin | #fadcb9 | bold |
| punctuation.terminator.statement | #808080 | — |
| storage.modifier, keyword.local | #6d61a3 | — |
| keyword.operator.expression, keyword.operator.new, keyword.control.flow, keyword.control.switch, keyword.operator.logical, keyword.operator.instanceof, keyword.operator.type | #826afc | — |
| storage.type.function, storage.modifier.async | #6a63cc | — |
| keyword, keyword.control, storage.type | #916fde | — |
| variable.other.property | #88ac47 | — |
| entity.name.type.class | #3aad5d | bold |
| meta.directive.vue | #20a6be | — |
| support.function.builtin | #6984ef | — |
| keyword.other.important | #ff0000 | — |
| entity.name.function | #407de6 | — |
| entity.name.function | #407de6 | — |
| support.function.builtin | #6984ef | — |
| variable.parameter.function | #df7850 | — |
| variable.other.readwrite | #cc4755 | — |
| variable.other.property | #88ac47 | — |
| variable.language.super | #6cd4c2 | — |
| entity.name.type.class | #3aad5d | bold |
| variable.parameter.function | #df7850 | — |
| entity.name.function | #407de6 | — |
| variable.other.property | #88ac47 | — |
| variable.other.property | #88ac47 | — |
| entity.name.type.class | #3aad5d | bold |
| meta.directive.vue | #20a6be | — |
| variable.other.readwrite | #cc4755 | — |
| variable.other.readwrite | #cc4755 | — |
| support.variable | #cd606b | — |
| meta.symbol.namespace | #2b9468 | — |
| entity.name.type.alias | #db9b25 | — |
| entity.name.type.alias | #db9b25 | — |
| entity.name.type.alias | #db9b25 | — |
| meta.directive.vue | #20a6be | — |
| entity.name.type.alias | #db9b25 | — |
| storage.type.built-in.primitive | #c1b38a | — |
| support.function.builtin | #6984ef | — |
| storage.type.built-in.primitive | #c1b38a | — |
| entity.name.type.template | #c76025 | — |
| support.function.builtin | #6984ef | — |
| support.type.builtin | #e49835 | — |
| support.type.primitive | #e49835 | — |
| storage.type.built-in.primitive | #c1b38a | — |
| string.other.link.title.markdown | #c74954 | — |
| markup.inline.raw.string.markdown | #d7ba7d | — |
| markup.quote.markdown | #007acc | — |
| variable.other.readwrite | #cc4755 | — |
| entity.name.type.alias | #db9b25 | — |
| markup.math.inline.markdown | #c6a721 | — |
| variable.other.property | #88ac47 | — |
| meta.directive.vue | #20a6be | — |
| meta.directive.vue | #20a6be | — |
| support.function.builtin | #6984ef | — |
| support.function.builtin | #6984ef | — |
| support.function.builtin | #6984ef | — |
| markup.math.inline.markdown | #c6a721 | — |
| markup.math.inline.markdown | #c6a721 | — |
| support.type.primitive | #e49835 | — |
| support.type.primitive | #e49835 | — |
| support.type.built-in | #c1b38a | — |
| variable.other.readwrite | #cc4755 | — |
| variable.other.readwrite | #cc4755 | — |
| variable.other.readwrite | #cc4755 | — |
| variable.other.readwrite | #cc4755 | — |
| variable.other.readwrite | #cc4755 | — |
| variable.other.readwrite | #cc4755 | — |
| variable.other.readwrite | #cc4755 | — |
| variable.other.readwrite | #cc4755 | — |
| variable.other.readwrite | #cc4755 | — |
| variable.other.readwrite | #cc4755 | — |
| variable.other.readwrite | #cc4755 | — |
| variable.other.readwrite | #cc4755 | — |
| support.type.primitive | #e49835 | — |
| support.type.primitive | #e49835 | — |
| support.type.built-in | #c1b38a | — |
| variable.language.this | #64c49b | — |
| variable.other.readwrite, variable.other, variable, support.variable, string.other.link.title.markdown | #cc4755 | — |
| entity.name.tag | #b52b47 | — |
| variable.other.assignment.shell | #d34048 | |
| const | #c43652 | — |
| source.lua variable.other.readwrite, source.lua variable.other, source.lua variable, source.lua support.variable, source.lua string.other.link.title.markdown | #cc4755 | — |
| variable.parameter.function, variable.parameter, variable.parameter.function-call, meta.function.parameter, meta.function.parameters | #df7850 | — |
| source.lua variable.parameter.function, source.lua variable.parameter, source.lua variable.parameter.function-call, source.lua meta.function.parameter, source.lua meta.function.parameters | #df7850 | — |
| entity.name.type.template, storage.type.template.argument | #c76025 | — |
| source.lua entity.name.type.template, source.lua storage.type.template.argument | #c76025 | — |
| entity.name.type.alias, support.type, markup.italic.markdown, entity.name.type.kotlin | #db9b25 | — |
| markup.bold.markdown | #b56e18 | — |
| markup.math.inline.markdown, entity.name.type.cpp, entity.name.type.parameter | #c6a721 | — |
| support.type.primitive, storage.type.built-in.primitive, support.type.builtin | #e49835 | — |
| support.type.built-in, storage.type.primitive, comment.line.double-dash.doc support.type | #c1b38a | — |
| source.lua entity.name.type.alias, source.lua support.type, source.lua markup.italic.markdown, source.lua entity.name.type.kotlin | #db9b25 | — |
| comment.line.double-dash.doc variable | #b58418 | — |
| variable.other.property, support.variable.property, variable.other.object.property, variable.other.table.property, meta.attribute, constant.other.option, support.type.property-name, variable.object.property, meta.flow-mapping.yaml, entity.other.attribute, support.type.property-name.css, meta.property-name, entity.other.attribute-name, entity.name.tag.yaml, markup.list.unnumbered.markdown | #88ac47 | — |
| markup.list.numbered.markdown | #768d33 | — |
| source.lua variable.other.property, source.lua support.variable.property, source.lua variable.other.object.property, source.lua variable.other.table.property, source.lua meta.attribute, source.lua constant.other.option, source.lua support.type.property-name, source.lua variable.object.property, source.lua meta.flow-mapping.yaml, source.lua entity.other.attribute, source.lua support.type.property-name.css, source.lua meta.property-name, source.lua entity.other.attribute-name, source.lua entity.name.tag.yaml, source.lua markup.list.unnumbered.markdown | #88ac47 | — |
| entity.name.type.class, entity.name.class, entity.other.inherited-class, entity.name.function-table, entity.other.attribute-name.class | #3aad5d | bold |
| support.class | #64b58a | bold |
| source.lua entity.name.type.class, source.lua entity.name.class, source.lua entity.other.inherited-class, source.lua entity.name.function-table, source.lua entity.other.attribute-name.class | #3aad5d | bold |
| meta.symbol.namespace, entity.name.scope-resolution | #2b9468 | — |
| source.lua meta.symbol.namespace, source.lua entity.name.scope-resolution | #2b9468 | — |
| variable.language.java, variable.language.this, variable.language.self, variable.language.special.self | #64c49b | — |
| source.lua variable.language.java, source.lua variable.language.this, source.lua variable.language.self, source.lua variable.language.special.self | #64c49b | — |
| meta.directive.vue, entity.name.method-function, entity.other.attribute-name.pseudo-class, entity.name.function.member | #20a6be | — |
| source.lua meta.directive.vue, source.lua entity.name.method-function, source.lua entity.other.attribute-name.pseudo-class, source.lua entity.name.function.member | #20a6be | — |
| entity.name.function, meta.function-call, entity.name.command | #407de6 | — |
| storage.type.template | #294fe3 | — |
| support.function.builtin, support.function.misc, support.function, keyword.operator.cast.static_cast, entity.name.function.definition.special | #6984ef | — |
| support.function.any-method | #407de6 | — |
| entity.name.other.preprocessor.macro | #5457ec | — |
| entity.name.other.preprocessor.macro.predefined | #8d7bf7 | — |
| source.lua entity.name.other.preprocessor.macro | #5457ec | — |
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}!`;
}