Wawandco VScode Theme
Publisher: Julian De LeonThemes in package: 2
cool theme for wawandco team <3
cool theme for wawandco team <3
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 | #ffffffb7 | — |
| comment.block | #ffffffb7 | — |
| constant | #BE84FF | — |
| contant.character.scape | #BE84FF | — |
| constant.language | #BE84FF | — |
| constant.numeric | #9c49fa | — |
| declaration.tag | #ff0000 | — |
| entity.name.section | #A6E22E | — |
| entity.name.function | #A6E22E | — |
| entity.name.tag | #d72341 | — |
| entity.name.type | #A6E22E | — |
| entity.other.attribute-name | #A6E22E | — |
| entity.other.inherited-class | #A6E22E | — |
| entity.other | #66D9EF | — |
| keyword | #d72341 | — |
| keyword.operator | #d72341 | — |
| punctuation.definition.tag.begin | #fff | — |
| punctuation.definition.tag.end | #fff | — |
| punctuation.separator | #fff | — |
| punctuation.definition.string.begin | #E6DB74 | — |
| punctuation.definition.string.end | #E6DB74 | — |
| keyword.function | #d72341 | — |
| storage | #A6E22E | — |
| storage.type | #66D9EF | — |
| storage.modifier | #A6E22E | — |
| string | #E6DB74 | — |
| string.other | #fff | — |
| string.quoted.single | #E6DB74 | — |
| string.quoted.double | #E6DB74 | — |
| string.quoted.raw | #A6E22E | — |
| variable | #fff | — |
| variable.parameter | #FD971F | italic |
| variable.language | #d72341 | — |
| source | #fff | — |
| support.function | #66D9EF | — |
| support.type | #A6E22E | — |
| support.constant | #BE84FF | — |
| meta.attribute | #A6E22E | — |
| meta.paragraph | #A6E22E | — |
| markup.heading | #66D9EF | — |
| markup.list | #fff | — |
| markup.list.numbered | #fff | — |
| markup.bold | #fff | bold |
| go.sum | #66D9EF | — |
| text.html | #ffffff | — |
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}!`;
}