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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| meta.diff.header | #3889B4 | — |
| markup.inserted | #3A926F | — |
| markup.deleted | #B86364 | — |
| markup.changed | #3889B4 | — |
| invalid | #8B4A2C | bold underline |
| invalid.deprecated | #7F6800 | bold underline |
| markup.underline | — | underline |
| markup.bold | #886051 | bold |
| markup.heading | #6C6686 | bold |
| markup.italic | #776A43 | italic |
| beginning.punctuation.definition.list.markdown, beginning.punctuation.definition.quote.markdown, punctuation.definition.link.restructuredtext | #566E85 | — |
| markup.inline.raw, markup.raw.restructuredtext | #5A7259 | — |
| markup.underline.link, markup.underline.link.image | #566E85 | — |
| meta.link.reference.def.restructuredtext, punctuation.definition.directive.restructuredtext, string.other.link.description, string.other.link.title | #815F73 | — |
| entity.name.directive.restructuredtext, markup.quote | #776A43 | italic |
| meta.separator.markdown | #827E7D | — |
| fenced_code.block.language, markup.raw.inner.restructuredtext, markup.fenced_code.block.markdown punctuation.definition.markdown | #5A7259 | — |
| punctuation.definition.constant.restructuredtext | #6C6686 | — |
| markup.heading.markdown punctuation.definition.string.begin, markup.heading.markdown punctuation.definition.string.end | #6C6686 | — |
| meta.paragraph.markdown punctuation.definition.string.begin, meta.paragraph.markdown punctuation.definition.string.end | #484646 | — |
| markup.quote.markdown meta.paragraph.markdown punctuation.definition.string.begin, markup.quote.markdown meta.paragraph.markdown punctuation.definition.string.end | #776A43 | — |
| comment, punctuation.definition.comment | #827E7D | — |
| keyword | — | bold |
| storage.modifier, storage.type.modifier | #566E85 | bold |
| storage.type.namespace | #3E3C3D | bold |
| storage.type.class, storage.type.struct, storage.type.union, storage.type.enum | #886051 | bold |
| storage.type.template | — | bold |
| storage.type.function | #3E3C3D | bold |
| variable.language.this, variable.parameter.function.language.special.self | — | bold |
| keyword.control | #566E85 | — |
| keyword.control.return, keyword.control.throw | #886051 | — |
| keyword.operator, entity.name.operator | #566E85 | |
| storage.modifier.reference | — | |
| constant.language | #566E85 | bold |
| constant.numeric | #566E85 | — |
| string | #5A7259 | — |
| entity.name.namespace | #776A43 | — |
| storage.type.primitive, storage.type.built-in | #6C6686 | bold |
| entity.name.type | #6C6686 | — |
| storage.type.return-type.lambda | #6C6686 | — |
| entity.name.function.member, variable.other.property, variable.other.enummember | — | italic |
| variable.parameter | #815F73 | — |
| variable.parameter.function-call | #827E7D | bold |
| meta.function.definition.parameters variable.parameter | — | underline |
| entity.name.function.preprocessor, entity.name.function.macro | #827E7D | — |
| entity.name.other.preprocessor.macro.predefined | — | bold |
| support.function.builtin | — | bold |
| keyword.operator.new, keyword.operator.delete | #886051 | bold |
| keyword.other.using, keyword.other.typedef | #886051 | — |
| keyword.other.default.constructor.cpp, keyword.other.delete.constructor.cpp | #566E85 | — |
| keyword.other.operator.overload.cpp | #566E85 | |
| variable.parameter.preprocessor.cpp | — | underline |
| keyword.operator.logical.python | — | bold |
| punctuation.definition.decorator.python | #827E7D | — |
| entity.name.function.decorator.python | #827E7D | bold |
| keyword.control.new.java | #886051 | — |
| keyword.operator.instanceof.java | — | bold |
| variable.language.java | — | bold |
| storage.modifier.import.java | — | |
| punctuation.definition.annotation.java | #827E7D | — |
| storage.type.annotation.java | #827E7D | bold |
| key.function.go | #3E3C3D | bold |
| storage.type.boolean.go | #566E85 | bold |
| entity.name.tag | #6C6686 | — |
| entity.other.attribute-name | #815F73 | italic |
| entity.other.attribute-name.parent-selector | #6C6686 | — |
| storage.type.js | #566E85 | bold |
| keyword.operator.expression | — | bold |
| support.function.js | — | bold |
| meta.directive.vue entity.other.attribute-name | — | bold italic |
| expression.embedded punctuation.definition.generic.begin, expression.embedded punctuation.definition.generic.end | #566E85 | — |
| entity.name.function.target.makefile, entity.name.tag.yaml, support.type.property-name.json | #566E85 | — |
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}!`;
}