Zairyō Themes
Publisher: Evgeniy Khramov (thejenja)Themes in package: 36
🎨 36 Zairyō themes — 9 color schemes × 4 variants. by thejenja
🎨 36 Zairyō themes — 9 color schemes × 4 variants. by thejenja
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 | #9E8C90 | italic |
| keyword, keyword.control, storage.type, storage.modifier | #FFB1C7 | bold |
| string, string.quoted, string.unquoted | #EEBD93 | — |
| constant.numeric | #FFB4AB | — |
| entity.name.function, support.function, meta.function-call | #E3BDC6 | — |
| entity.name.type, support.type, storage.type | #FFD9E2 | — |
| entity.name.class, support.class | #FFD9E2 | — |
| variable, variable.other | #ECE0E1 | — |
| constant, constant.language, variable.other.constant | #FFB1C7 | — |
| keyword.operator | #D5C2C5 | — |
| entity.name.tag, meta.tag | #FFB1C7 | — |
| entity.other.attribute-name | #E3BDC6 | — |
| variable.object, support.variable.property | #ECE0E1 | — |
| punctuation, meta.brace | #D5C2C5 | — |
| markup.heading | #FFB1C7 | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.underline.link | #E3BDC6 | — |
| markup.inline.raw | #EEBD93 | — |
| markup.inserted | #A8DAB5 | — |
| markup.deleted | #FFB4AB | — |
| markup.changed | #FFB1C7 | — |
| entity.name.tag.yaml | #FFB1C7 | — |
| support.type.property-name.json | #E3BDC6 | — |
| support.type.property-name.css | #FFB1C7 | — |
| support.constant.property-value.css | #EEBD93 | — |
| entity.name.tag.css, entity.other.attribute-name | #FFB4AB | — |
| entity.name.function.python | #E3BDC6 | — |
| variable.language.self.python | #ECE0E1 | — |
| variable.language.this.js, variable.language.this.ts | #ECE0E1 | — |
| string.template | #EEBD93 | — |
| entity.name.type.ts | #FFD9E2 | — |
| entity.other.decorator.ts | #EEBD93 | — |
| support.macro.rust | #EEBD93 | — |
| entity.name.lifetime.rust, punctuation.definition.lifetime.rust | #EEBD93 | — |
| meta.attribute.rust | #D5C2C5 | — |
| entity.name.type.rust | #FFD9E2 | — |
| entity.name.impl.rust | #E3BDC6 | — |
| entity.name.package.go | #E3BDC6 | — |
| entity.name.function.go | #E3BDC6 | — |
| entity.name.type.go | #FFD9E2 | — |
| entity.name.protocol.swift | #FFD9E2 | — |
| keyword.other.argument.swift | #E3BDC6 | — |
| entity.name.type.dart | #FFD9E2 | — |
| entity.name.class.dart | #FFD9E2 | — |
| string.regexp | #88D8E3 | — |
| constant.character.escape | #88D8E3 | — |
| class | #FFD9E2 | — |
| enum | #FFD9E2 | — |
| interface | #FFD9E2 | — |
| function | #E3BDC6 | — |
| parameter | #ECE0E1 | — |
| variable | #ECE0E1 | — |
| namespace | #FFB1C7 | — |
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}!`;
}