Webfuse Theme
Publisher: WebfuseThemes in package: 1
A sleek dark VSCode theme inspired by the Webfuse brand, featuring sophisticated dark backgrounds with vibrant cyan accents for enhanced coding experience.
A sleek dark VSCode theme inspired by the Webfuse brand, featuring sophisticated dark backgrounds with vibrant cyan accents for enhanced coding experience.
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 | #6a6a6a | italic |
| keyword, storage.type, storage.modifier | #00bcd4 | — |
| string, punctuation.definition.string | #4dd0e1 | — |
| constant.numeric | #80deea | — |
| constant.language, support.constant, variable.language | #00acc1 | — |
| entity.name.function, support.function, keyword.other.special-method | #ffffff | bold |
| entity.name.class, entity.name.type.class, support.type, support.class | #26c6da | — |
| variable, string constant.other.placeholder | #e0e0e0 | — |
| entity.name.type, support.type.primitive | #4dd0e1 | — |
| entity.name.tag, punctuation.definition.tag | #00bcd4 | — |
| entity.other.attribute-name | #4dd0e1 | — |
| support.type.property-name | #00bcd4 | — |
| support.constant.property-value | #4dd0e1 | — |
| keyword.operator | #00acc1 | — |
| punctuation | #9ca3af | — |
| invalid, invalid.illegal | #ff5252 | underline |
| support.type.property-name.json | #4dd0e1 | — |
| entity.name.section.markdown | #00bcd4 | bold |
| markup.bold | #ffffff | bold |
| markup.italic | #e0e0e0 | italic |
| markup.inline.raw | #4dd0e1 | — |
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}!`;
}