vstack themes
Publisher: vanillagreen-publisherThemes in package: 25
Matched Ghostty + VS Code-family theme pack. 25 color themes + Rosé Pine icon theme, curated by vanillagreen and distributed with vstack.
Matched Ghostty + VS Code-family theme pack. 25 color themes + Rosé Pine icon theme, curated by vanillagreen and distributed with vstack.
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 | #6e6a86 | italic |
| constant | #31748f | — |
| constant.numeric, constant.language | #ebbcba | — |
| entity.name | #ebbcba | — |
| entity.name.section, entity.name.tag, entity.name.namespace, entity.name.type | #9ccfd8 | — |
| entity.other.attribute-name, entity.other.inherited-class | #c4a7e7 | italic |
| invalid | #eb6f92 | — |
| invalid.deprecated | #908caa | — |
| keyword, variable.language.this | #31748f | — |
| markup.inserted.diff | #9ccfd8 | — |
| markup.deleted.diff | #eb6f92 | — |
| markup.heading | — | bold |
| markup.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
| meta.diff.range | #c4a7e7 | — |
| meta.tag, meta.brace | #e0def4 | — |
| meta.import, meta.export | #31748f | — |
| meta.directive.vue | #c4a7e7 | italic |
| meta.property-name.css | #9ccfd8 | — |
| meta.property-value.css | #f6c177 | — |
| meta.tag.other.html | #908caa | — |
| punctuation | #908caa | — |
| punctuation.accessor | #31748f | — |
| punctuation.definition.string | #f6c177 | — |
| punctuation.definition.tag | #6e6a86 | — |
| storage.type, storage.modifier | #31748f | — |
| string | #f6c177 | — |
| support | #9ccfd8 | — |
| support.constant | #f6c177 | — |
| support.function | #eb6f92 | italic |
| variable | #ebbcba | italic |
| variable.other, variable.language, variable.function, variable.argument | #e0def4 | — |
| variable.parameter | #c4a7e7 | — |
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}!`;
}