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 | #4D5257 | italic |
| variable, string constant.other.placeholder, meta.jsx.children, constant.other.color | #FFFFFF | — |
| invalid, invalid.illegal | #FF5252 | — |
| storage.type, storage.modifier, variable.other.object.tsx | #40C4FF | — |
| storage.type.type.js | #FF4081 | — |
| punctuation, meta.type.annotation keyword.operator.type, meta.block punctuation.definition.tag, meta.tag punctuation.definition.tag | #C5C8C6 | — |
| punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.string, punctuation.definition.typeparameters, keyword.operator.optional.js, keyword.operator.type.annotation.js, keyword.operator.assignment.js, keyword.operator.assignment.tsx, keyword.operator.optional.tsx, punctuation.definition.parameters, meta.brace.round, punctuation.accessor, punctuation.section.embedded, punctuation.separator, punctuation.definition.template-expression, meta.brace.square, punctuation.definition.binding-pattern.array.js | #00E5FF | — |
| entity.other.inherited-class, entity.name.type.class, entity.name.type.module, entity.name.function, meta.function-call entity.name.function | #FFCB6B | — |
| keyword.control, constant.other.color, meta.tag, keyword.other.template, keyword.other.substitution, keyword.operator | #FF4081 | — |
| keyword.operator.expression.typeof, keyword.operator.new | #00E5FF | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter, source.yaml constant.language | #FF5252 | — |
| meta.class entity.name.function, meta.type.declaration entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method, variable.other.object.js | #40C4FF | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, keyword.other.unit, keyword.other | #FF4081 | — |
| variable.parameter, meta.parameters variable.object.property | #FF5252 | italic |
| string, constant.other.symbol, constant.other.key, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, meta.object-literal.key | #D4E157 | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, storage.type.function.arrow | #FF5252 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FF5370 | — |
| variable.language | #FF5370 | italic |
| entity.other.attribute-name | #FFCB6B | italic |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #FFCB6B | italic |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, meta.property-name.css, source.postcss support.type.property-name | #FFCB6B | — |
| source.css punctuation.definition.keyword | #FF4081 | — |
| source.css keyword.other.unit, support.constant.property-value, support.constant.vendored, source.css keyword.operator | #00E5FF | — |
| source.css entity.other.attribute-name.pseudo-class | #1DE9B6 | |
| source.css entity.other.attribute-name.class | #40C4FF | |
| source.css variable | #40C4FF | — |
| source.css constant.numeric, source.css support.constant | #FF5252 | — |
| markup.inserted | #C3E88D | — |
| markup.deleted | #FF5370 | — |
| markup.changed | #C792EA | — |
| string.regexp | #00E5FF | — |
| constant.character.escape | #00E5FF | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #40C4FF | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF5252 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #FF5252 | — |
| source.json punctuation.support.type.property-name | #00E5FF | — |
| source.json punctuation.separator | #C5C8C6 | — |
| source.json constant.language, source.json constant.numeric | #FFCB6B | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #FFFFFF | — |
| entity.name.section.markdown, markup.inline.raw.string.markdown | #D4E157 | — |
| punctuation.definition.heading.markdown | #FF5252 | — |
| punctuation.definition.italic.markdown, punctuation.definition.bold.markdown, punctuation.definition.raw.markdown, punctuation.definition.metadata.markdown, punctuation.definition.link.title.begin.markdown, punctuation.definition.link.title.end.markdown | #00E5FF | — |
| markup.italic | #FF4081 | italic |
| markup.bold, markup.bold string | #40C4FF | bold |
| markup.underline | #FF5252 | underline |
| markup.quote | — | italic |
| string.other.link.title.markdown | #FFCB6B | — |
| constant.other.reference.link.markdown | #FFCB6B | — |
| keyword.type.graphql | #FFCB6B | — |
| variable.graphql | #D4E157 | — |
| keyword.operator.nulltype.graphql | #00E5FF | — |
| keyword.enum.graphql, keyword.operation.graphql, keyword.fragment.graphql | #FF4081 | — |
| constant.character.enum.graphql | #FFFFFF | — |
| entity.name.function.graphql | #40C4FF | — |
| punctuation.definition.variable.shell, punctuation.section.array.shell, punctuation.definition.logical-expression.shell | #00E5FF | — |
| variable.other.special.shell | #FF5252 | — |
| string.interpolated.dollar.shell | #FFFFFF | — |
| meta.scope.for-in-loop.shell | #FF5252 | — |
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}!`;
}