Winds of Change
Publisher: Eli CushingThemes in package: 1
A light Visual Studio Code theme inspired by Ghibli's The Wind Rises with adjustments for enhanced readability.
A light Visual Studio Code theme inspired by Ghibli's The Wind Rises with adjustments for enhanced readability.
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 | #b4986b | italic |
| constant | #0096c3 | — |
| constant.character.escape | #16a13a | — |
| entity.name | #c6398b | — |
| entity.name.function | #16a13a | — |
| entity.name.tag | #ab524f | bold |
| entity.name.type, storage.type.cs | #c6398b | — |
| entity.other.attribute-name | #0096c3 | bold |
| entity.other.inherited-class | #d87e43 | — |
| entity.other.attribute-name.id | #16a13a | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #d87e43 | — |
| entity.name.variable, variable | #3b2026 | — |
| keyword | #3e98a3 | bold |
| keyword.operator | #ab8a90 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete | #3e98a3 | — |
| keyword.other.unit | #0096c3 | — |
| markup.quote | #FAB795B3 | — |
| markup.heading, entity.name.section | #3b2026 | — |
| markup.bold | #3e98a3 | bold |
| markup.italic | #16a13a | italic |
| markup.inline.raw, markup.fenced_code.block | #0096c3 | — |
| markup.underline.link | #d87e43 | — |
| storage | #3e98a3 | bold |
| string.quoted, string.template | #d87e43 | — |
| string.regexp | #0096c3 | — |
| string.other.link | #0096c3 | — |
| support | #c6398b | — |
| support.function | #16a13a | — |
| support.variable | #3b2026 | — |
| support.type.property-name, meta.object-literal.key | #0096c3 | — |
| support.type.property-name.css | #ab8a90 | — |
| variable.language | #c6398b | — |
| string.template meta.embedded | #ab8a90 | — |
| punctuation.definition.tag | #b17570 | bold |
| punctuation.separator | #ab8a90 | — |
| punctuation.definition.template-expression | #3e98a3 | — |
| punctuation.section.embedded | #3e98a3 | — |
| punctuation.definition.list | #0096c3 | — |
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}!`;
}