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 |
|---|---|---|
| source, meta.selectionset.graphql meta.arguments.graphql variable.graphql, meta.selectionset.graphql meta.selectionset.graphql variable.graphql | #D0D0FF | — |
| keyword.control, storage.modifier, keyword.operator.expression.delete, keyword.operation.graphql | #CC7833 | italic bold |
| storage.type | #fa7d4c | italic |
| keyword.operator, meta.selectionset.graphql variable.graphql | #fa7d4c | — |
| meta.object.member meta.object-literal.key, meta.arguments.graphql variable.parameter.graphql | #FFC66D | — |
| meta.object.member variable.other.property, meta.object.member support.variable.property.dom, meta.var.expr variable.other.property, meta.var.expr support.variable.property.dom, meta.method.declaration variable.other.property, meta.method.declaration support.variable.property.dom, meta.embedded.expression variable.other.property, meta.embedded.expression support.variable.property.dom | #D0D0FF | — |
| meta.embedded.expression variable.other.object, meta.embedded.expression variable.other.readwrite | #D0D0FF | — |
| entity.name.type | #ffffff | — |
| meta.type.annotation, storage.type.c, meta.type.parameters support.type, meta.type.declaration support.type, meta.object.member support.type, support.type.builtin.graphql | #6E9CBE | italic |
| meta.type.annotation entity.name.type, meta.type.parameters entity.name.type | #6E9CBE | italic bold |
| meta.type.annotation variable.parameter | — | bold |
| variable.other.constant, meta.enum.declaration variable.other.enummember, constant.other.caps, entity.name.function.preprocessor | #DA4939 | — |
| constant.language | #5096ff | italic |
| constant.numeric | #ffffff | — |
| variable.language.this | #b47bff | italic |
| variable.language.super | #DA4939 | italic bold |
| meta.function-call entity.name.function, meta.function-call support.function, meta.function-call.generic.python | #DA4939 | italic |
| meta.function-call support.function.promise, entity.name.function.graphql | #DA4939 | italic bold |
| string | #A5C261 | — |
| meta.template.expression | #CC7833 | — |
| meta.template.expression variable.other | #D0D0FF | |
| entity.name.type.class, entity.name.type.interface, entity.name.type.enum, entity.other.inherited-class | — | bold |
| meta.definition.property, meta.definition.method | #FFC66D | — |
| meta.tag | #FFC66D | — |
| entity.name.tag | #FFFFFF | — |
| support.class.component | #FFFFFF | bold |
| entity.other.attribute-name | #FFC66D | — |
| comment | #967363 | italic |
| meta.brace.square | #FFC66D | — |
| punctuation.definition.block | #FFC66D | — |
| punctuation.definition.parameters, meta.brace.round | #ffffff | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| meta.structure.dictionary.value.json string | #D0D0FF | — |
| meta.structure.dictionary.value.json string support.type.property-name.json | #A5C261 | — |
| source.css entity.other.attribute-name, source.css meta.at-rule | #CC7833 | — |
| source.css meta.at-rule keyword.control | — | italic bold |
| source.css meta.at-rule entity.name, source.css meta.at-rule.extend | — | italic |
| source.css entity.name.tag | — | bold |
| source.css support.type.property-name, source.css support.type.vendored.property-name | #6E9CBE | — |
| source.css meta.property-value variable, source.css meta.definition.variable variable | #b47bff | bold |
| source.css meta.property-value keyword.other.unit, source.css meta.definition.variable keyword.other.unit | #CC7833 | — |
| source.css meta.property-value support.constant, source.css meta.property-value support.function, source.css meta.property-value constant, source.css meta.definition.variable support.constant, source.css meta.definition.variable support.function, source.css meta.definition.variable constant | #A5C261 | — |
| source.css meta.property-value keyword.other.important | #DA4939 | — |
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}!`;
}