Decorate it
Publisher: SqueebleThemes in package: 4
vscode color theme : just decorate it
vscode color theme : just decorate it
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 | #707070 | — |
| string | #01b33c | bold |
| constant.language | #a770f0 | bold italic |
| constant.numeric | #a770f0 | bold |
| constant.character, constant.other | #B080F0 | — |
| variable | #fc69bf | italic |
| keyword | #ffff71 | — |
| storage | #ff3333 | italic |
| entity.other.attribute-name | #A6E725 | underline |
| entity.other.inherited-class | #A6E725 | italic underline |
| entity.name.function, support.function | #46f394 | |
| variable.parameter | #ff893a | italic |
| entity.name.tag | #F92672 | |
| entity.other.attribute-name | #a0e21d | |
| support.function | #6bf7f7 | bold |
| support.constant, support.class | #a9fd64 | bold |
| storage.type | #6bf7f7 | italic |
| support.type | #00b7ff | |
| support.other.variable | #ff59b4 | italic |
| invalid | #F8F8F0 | |
| invalid.deprecated | #F8F8F0 | — |
| string.quoted.double.json | #e49865 | italic |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #F92672 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #E6DB74 | — |
| markup.deleted.git_gutter | #F92672 | — |
| markup.inserted.git_gutter | #A6E22E | — |
| markup.changed.git_gutter | #E6DB74 | — |
| markup.ignored.git_gutter | #75715E | — |
| markup.untracked.git_gutter | #75715E | — |
| constant.numeric.line-number.find-in-files - match | #AE81FFA0 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
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}!`;
}