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 |
|---|---|---|
| comment, punctuation.definition.comment, string.comment | #57606a | — |
| constant, entity.name.constant, variable.other.constant, variable.other.enummember, variable.language, entity | #0969da | — |
| entity.name, meta.export.default, meta.definition.variable | #b35900 | — |
| variable.parameter.function, meta.jsx.children, meta.block, meta.tag.attributes, entity.name.constant, meta.object.member, meta.embedded.expression | #24292f | — |
| entity.name.function | #8250df | — |
| entity.name.tag, support.class.component | #b35900 | — |
| keyword | #6e7781 | — |
| storage, storage.type | #6e7781 | — |
| storage.modifier.package, storage.modifier.import, storage.type.java | #b35900 | — |
| string, string punctuation.section.embedded source | #0969da | — |
| support | #0969da | — |
| meta.property-name | #0969da | — |
| variable | #b35900 | — |
| variable.other | #b35900 | — |
| invalid.broken | #6e7781 | italic |
| invalid.deprecated | #6e7781 | italic |
| invalid.illegal | #6e7781 | italic |
| invalid.unimplemented | #6e7781 | italic |
| carriage-return | #6e7781 | italic underline |
| message.error | #6e7781 | — |
| string variable | #0969da | — |
| source.regexp, string.regexp | #0969da | — |
| string.regexp.character-class, string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition | #0969da | — |
| string.regexp constant.character.escape | #dd7815 | bold |
| support.constant | #0969da | — |
| support.variable | #0969da | — |
| support.type.property-name.json | #dd7815 | — |
| meta.module-reference | #0969da | — |
| punctuation.definition.list.end.markdown | #b35900 | — |
| markup.heading, markup.heading entity.name | #0969da | bold |
| markup.quote | #dd7815 | — |
| markup.italic | #b35900 | italic |
| markup.bold | #b35900 | bold |
| markup.underline | — | underline |
| markup.strikethrough | — | strikethrough |
| markup.inline.raw | #0969da | — |
| markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted | #6e7781 | — |
| punctuation.section.embedded | #6e7781 | — |
| markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted | #dd7815 | — |
| markup.changed, punctuation.definition.changed | #b35900 | — |
| markup.ignored, markup.untracked | #6e7781 | — |
| meta.diff.range | #8250df | bold |
| meta.diff.header | #0969da | — |
| meta.separator | #0969da | bold |
| meta.output | #0969da | — |
| brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote | #24292f | — |
| brackethighlighter.unmatched | #6e7781 | — |
| constant.other.reference.link, string.other.link | #0969da | underline |
| constant.language, constant.numeric | #6e7781 | |
| support.type.property-name | #8250df | |
| string | #8250df | |
| string.regexp, constant.character.escape | #24292f | — |
| string | #24292f | — |
| keyword | #0969da | — |
| support.type.property-name | #218bff | |
| entity.name.function | #0969da | |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, punctuation.definition.parameters.end | #bf3989 | |
| entity.name.type | #9a6700 | |
| meta.embedded | #bf3989 | — |
| support.function | #0969da | — |
| storage.type | #0969da | — |
| storage.modifier | #bf3989 | — |
| variable | #218bff | — |
| variable.other.readwrite.js | #bf3989 | — |
| variable, keyword.control | #8250df | — |
| variable.language | #57606a | — |
| variable | #0969da | — |
| keyword.operator | #0969da | |
| keyword.operator | #24292f | — |
| support.class | #9a6700 | |
| keyword | #bf3989 | |
| comment | #6e7781 | |
| punctuation.separator.key-value.html | #bf3989 | |
| punctuation.definition.tag | #bf3989 | |
| punctuation.definition.string.begin.json.comments, punctuation.definition.string.end.json.comments, punctuation.definition.string.begin.js, punctuation.definition.string.end.js | #bf3989 | |
| punctuation.support.type.property-name.begin.json.comments, punctuation.support.type.property-name.end.json.comments | #218bff | |
| punctuation.definition.string.begin.html, punctuation.definition.string.end.html, punctuation.definition.string.template.begin.js, punctuation.definition.string.template.end.js | #8250df | |
| source.sql.embedded.php | #bf3989 | |
| punctuation.definition.string.begin.sql, punctuation.definition.string.end.sql, punctuation.separator.dictionary.key-value.json.comments | #218bff | |
| keyword.other.DML.sql, source.sql.embedded.php, string.quoted.single.sql.php, string.quoted.single.php | #b35900 | |
| string.quoted.other.backtick.sql | #b35900 | |
| variable.other.property.js, entity.name.function.member | #b35900 | |
| punctuation.definition.string.template.begin.js, punctuation.definition.string.template.end.js | #b35900 | |
| string.quoted.double.html, string.quoted.single.js, string.quoted.double.js, string.template.js | #57606a | |
| text.html.php | #57606a | |
| variable.other.constant, variable.other.constant.object.js, punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.end.js | #9a6700 | |
| punctuation.separator.comma.js, punctuation.separator.dictionary.pair.json.comments | #218bff | |
| punctuation.definition.string.begin.php, punctuation.definition.string.end.php | #bf3989 | |
| punctuation.accessor.js | #24292f | — |
| punctuation.accessor.js | #24292f | — |
| support.type.property-name.json | #8250df | — |
| variable.css | #8250df | — |
| variable.argument.css | #9a6700 | — |
| constant.other.color.rgb-value, support.constant.property-value | #b35900 | — |
| punctuation.separator.list.comma.css, punctuation.separator.key-value.css, punctuation.terminator.rule.css, meta.function.calc.css, keyword.operator.arithmetic.css, punctuation.definition.entity.css | #218bff | — |
| punctuation.definition.string.begin.css, punctuation.definition.string.end.css | #bf3989 | — |
| string.quoted.single.css | #57606a | — |
| constant.numeric.css, keyword.other.unit.px.css, keyword.other.unit.rem.css, keyword.other.unit.em.css, keyword.other.unit.deg.css, keyword.other.unit.ms.css, keyword.other.unit.vw.css, keyword.other.unit.vh.css, keyword.other.unit, keyword.other.unit.s.css | #9a6700 | — |
| constant.numeric.css | #b35900 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.class.css | #0969da | — |
| entity.name.tag.css | #9a6700 | — |
| support.type.property-name.css, entity.other.keyframe-offset.css | #0969da | — |
| support.constant.vendored.property-value.css, support.constant.font-name.css, entity.other.attribute-name.class.css | #bf3989 | — |
| entity.other.attribute-name.pseudo-element.css | #0969da | — |
| support.type.property-name.media.css, support.constant.media.css | #8250df | — |
| keyword.operator.logical.only.media.css, keyword.operator.logical.and.media.css, string.quoted.double.css | #218bff | — |
| entity.other.attribute-name.id.css | #0969da | — |
| support.function.transform.css | #0969da | — |
| entity.other.keyframe-offset.percentage.css | #bf3989 | — |
| token.info-token | #0969da | — |
| token.warn-token | #9a6700 | — |
| token.error-token | #b35900 | — |
| variable.other.global.php | #8250df | — |
| token.debug-token | #8250df | — |
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}!`;
}