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 | #0088ff | italic |
| constant | #ff628c | — |
| entity | #ffc600 | — |
| entity.name.function | — | italic |
| invalid | #f44542 | italic bold underline |
| invalid.deprecated | #f44542 | bold italic underline |
| modifier, this, comment, storage.modifier.js, storage.modifier.ts, storage.modifier.tsx, entity.other.attribute-name.js, entity.other.attribute-name.ts, entity.other.attribute-name.tsx, entity.other.attribute-name.html | — | italic |
| variable.other.object.js | #fb94ff | italic |
| keyword, storage.type.class | #ff9d00 | — |
| storage.modifier, variable.language.this | #fb94ff | italic |
| keyword, storage.type | #00bff9 | italic |
| keyword.operator | #fb94ff | italic |
| meta | #9effff | — |
| punctuation.decorator | #f7ecb5 | italic |
| meta.brace | #e1efff | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #fff | — |
| punctuation | #e1efff | — |
| punctuation.definition.parameters | #ffee80 | — |
| punctuation.definition.template-expression | #ffee80 | — |
| markup.quote | — | italic |
| storage, meta.var.expr, meta.class meta.method.declaration meta.var.expr storage.type.js, storage.type.property.js, storage.type.property.ts | #ffc600 | italic |
| storage.type.function.arrow | #ffc600 | — |
| storage.type.function | #ff9d00 | — |
| string, punctuation.definition.string | #a5ff90 | — |
| string.template, punctuation.definition.string.template | #3ad900 | — |
| support | #80ffbb | — |
| support.function | #ff9d00 | — |
| support.variable.property.dom | #e1efff | — |
| variable | #e1efff | — |
| storage.type.cs | #9effff | — |
| entity.name.variable.property.cs | #9effff | — |
| storage.modifier.cs | #80ffbb | — |
| storage.modifier.cs, keyword.type.cs | #fb94ff | — |
| entity.name.type.namespace.cs, entity.name.variable.parameter.cs, entity.name.variable.field.cs, entity.name.variable.property.cs | #e1efff | — |
| storage.type.cs | #80ffbb | — |
| source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant | #ffee80 | — |
| entity.name.tag | #9EFFFF | — |
| source.css entity, source.stylus entity | #3ad900 | — |
| entity.other.attribute-name.id.css | #FFB454 | — |
| source.css string, source.css punctuation.definition.string, source.stylus string, source.stylus punctuation.definition.string | #ffee80 | — |
| source.css support, source.stylus support | #a5ff90 | — |
| source.css variable, source.stylus variable | #9effff | — |
| text.html.basic entity.name | #9effff | — |
| text.html.basic entity.other | #ffc600 | italic |
| meta.toc-list.id.html | #A5FF90 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #92fc79 | — |
| meta.tag.metadata.script.html entity.name.tag.html | #ffc600 | — |
| source.ini entity | #e1efff | — |
| source.ini keyword | #ffc600 | — |
| source.ini punctuation.definition | #ffee80 | — |
| source.ini punctuation.separator | #ff9d00 | — |
| entity.other.inherited-class.js | #ccc | — |
| source.js storage.type.function | #fb94ff | — |
| variable.language, entity.name.type.class.js | #fb94ff | — |
| source.json string, source.json punctuation.definition.string | #e1efff | — |
| source.json support | #ffc600 | — |
| markup.inline.raw.string.markdown, markup.fenced_code.block.markdown | #ffc600 | italic |
| fenced_code.block.language, markup.inline.raw.markdown | #9effff | — |
| markup.bold.markdown | #9effff | bold |
| markup.italic.markdown, punctuation.definition.italic.markdown | #9effff | italic |
| entity.name.section.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #ffc600 | bold |
| punctuation.definition.heading.markdown | #e1efff | — |
| fenced_code.block.language, markup.inline.raw.markdown | #9effff | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #9effff | — |
| string.other.link.title.markdown | #a5ff90 | — |
| string.other.link.title.markdown, string.other.link.description.markdown, string.other.link.description.title.markdown | #a5ff90 | — |
| beginning.punctuation.definition.list.markdown | #ffc600 | — |
| meta.paragraph.markdown | #e1efff | — |
| markup.quote.markdown meta.paragraph.markdown | #9effff | italic |
| beginning.punctuation.definition.quote.markdown | #ffc600 | — |
| meta.separator.markdown | #ffc600 | — |
| source.php entity | #9effff | — |
| variable.other.php | #ffc600 | — |
| text.jade entity.other.attribute-name.tag | — | italic |
| text.jade entity.name | #9effff | — |
| text.jade string.interpolated | #ffee80 | — |
| variable.parameter.function.language.special.self.python | #fb94ff | — |
| source.ts entity.name.type | #80ffbb | — |
| entity.other.inherited-class.ts, entity.other.inherited-class.tsx | #ccc | — |
| source.ts keyword | #ffc600 | — |
| meta.arrow.ts punctuation.definition.parameters | #ffee80 | — |
| source.ts punctuation.definition.parameters | #e1efff | — |
| source.ts storage | #9effff | — |
| variable.language, entity.name.type.class.ts, entity.name.type.class.tsx | #fb94ff | — |
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}!`;
}