Ukiyo Themes
Publisher: nzkdevsaiderThemes in package: 2
A collection of cozy typewriter themes for Visual Studio Code, inspired by the aesthetics of Ukiyo-e art.
A collection of cozy typewriter themes for Visual Studio Code, inspired by the aesthetics of Ukiyo-e art.
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 | #9a8878 | italic |
| string, punctuation.definition.string, string.template | #a0520a | — |
| string.template punctuation.definition.template-expression | #6040a0 | — |
| keyword, keyword.control, keyword.operator.new, keyword.operator.delete, keyword.operator.typeof, keyword.operator.void, keyword.operator.instanceof, keyword.operator.in | #1a6ea8 | — |
| storage.type, storage.modifier, keyword.declaration, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #1a6ea8 | italic |
| entity.name.function, support.function, meta.function-call entity.name.function, variable.function | #7a4f0a | — |
| variable.parameter, meta.parameter | #a0520a | italic |
| entity.name.type, entity.name.class, support.type, support.class, entity.other.inherited-class | #1a7a50 | — |
| meta.type.annotation, meta.type.parameters, support.type.primitive, storage.type.generic | #1a7a50 | italic |
| entity.name.type.interface | #1a7a50 | italic |
| constant.numeric, constant.numeric.integer, constant.numeric.float | #6040a0 | — |
| constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.nan | #6040a0 | italic |
| constant.language, variable.other.constant | #6040a0 | — |
| variable.other.property, support.type.property-name, meta.object-literal.key | #7a4f0a | — |
| meta.object-literal.key string | #7a4f0a | — |
| variable.other, variable.other.readwrite | #2c2018 | — |
| entity.name.tag, meta.tag.structure entity.name.tag | #a02828 | — |
| entity.other.attribute-name | #7a4f0a | — |
| support.type.property-name.css, entity.name.tag.css | #1a6ea8 | — |
| support.constant.property-value.css, constant.other.color | #a0520a | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #1a7a50 | — |
| keyword.operator, keyword.operator.arithmetic | #8a7a68 | — |
| punctuation.separator, punctuation.terminator, punctuation.accessor, meta.brace | #8a7a68 | — |
| meta.decorator, punctuation.decorator, entity.name.function.decorator | #6040a0 | italic |
| markup.heading, punctuation.definition.heading.markdown | #7a4f0a | bold |
| markup.bold | #2c2018 | bold |
| markup.italic | #2c2018 | italic |
| markup.inline.raw, markup.raw.inline | #1a7a50 | — |
| markup.underline.link | #1a6ea8 | — |
| markup.quote | #9a8878 | italic |
| punctuation.definition.list.begin.markdown | #8a6d3e | — |
| string.regexp, constant.regexp | #2c6880 | — |
| constant.character.escape | #6040a0 | — |
| entity.name.namespace, entity.name.module, support.module | #1a7a50 | italic |
| variable.other.enummember, constant.other.enum | #6040a0 | — |
| invalid, invalid.illegal | #a02828 | underline |
| variable.language | #6040a0 | italic |
| entity.name.function.method, meta.method entity.name.function | #7a4f0a | — |
| storage.type.function.arrow, keyword.operator.arrow | #1a6ea8 | — |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end | #b8a898 | — |
| support.constant, support.constant.math, support.constant.dom | #6040a0 | — |
| support.variable, support.variable.dom, support.class.dom | #1a6ea8 | — |
| markup.fenced_code.block, markup.raw.block | #1a7a50 | — |
| support.class.component, entity.name.tag.tsx, entity.name.tag.jsx | #1a7a50 | — |
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}!`;
}