Edo Nezu Theme
Publisher: arukumoThemes in package: 2
Traditional Japanese color and icon theme. Chic, eye-friendly, and good for work.
Traditional Japanese color and icon theme. Chic, eye-friendly, and good for work.
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 |
|---|---|---|
| emphasis, markup.italic | — | italic |
| strong | — | bold |
| markup.underline | — | underline |
| markup.strikethrough | — | strikethrough |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike, keyword.operator.noexcept, storage, storage.type, storage.modifier, constant.language, constant.regexp, variable.language, meta.diff.header, meta.preprocessor, entity.name.function.preprocessor, punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded, markup.changed, entity.name.tag.html, entity.name.tag.xml, entity.name.tag.localname.xml, support.type.vendored.property-name, support.type.property-name, source.css variable, source.coffee.embedded, support.function.git-rebase | #8fbcbb | — |
| comment, punctuation.definition.comment, punctuation.definition.quote.begin.markdown | #9aaf9a | — |
| string, string.tag, string.value, meta.embedded.assembly, meta.preprocessor.string, markup.inline.raw, markup.deleted, entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.xml, entity.other.attribute-name.jsx, entity.other.attribute-name.tsx, meta.attribute.html, source.json support.type.property-name.json, meta.structure.dictionary.json support.type.property-name.json, entity.name.tag.yaml, source.yaml support.type.property-name, punctuation.support.type.property-name.yaml, meta.structure.dictionary.key.python | #d4aca1 | — |
| source.json string.quoted.double.json, source.yaml string, source.yaml string.unquoted, source.yaml string.quoted.single, source.yaml string.quoted.double, string.quoted.double.html, string.quoted.single.html, string.quoted.double.xml, string.quoted.single.xml, punctuation.definition.string.begin.html, punctuation.definition.string.end.html, punctuation.definition.string.begin.xml, punctuation.definition.string.end.xml | #cfcfcc | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent, keyword.other.unit, meta.preprocessor.numeric, constant.sha.git-rebase, markup.inserted | #b5c7a3 | — |
| markup.bold, markup.heading, punctuation.definition.list.begin.markdown, markup.list.numbered.bullet.markdown | #9aaf9a | — |
| entity.name.tag.css, entity.name.tag.less, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.parent.less, source.css entity.other.attribute-name.pseudo-class, source.css entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss, source.css entity.other.attribute-name.class | #d6b575 | — |
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python, keyword.operator, meta.template.expression, storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #cfcfcc | — |
| string.regexp | #d38e8e | — |
| invalid | #df8a96 | — |
| punctuation.definition.tag | #8c877d | — |
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 |
|---|---|---|
| emphasis, markup.italic | — | italic |
| strong | — | bold |
| markup.underline | — | underline |
| markup.strikethrough | — | strikethrough |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike, keyword.operator.noexcept, storage, storage.type, storage.modifier, constant.language, constant.regexp, variable.language, meta.diff.header, meta.preprocessor, entity.name.function.preprocessor, punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded, markup.changed, entity.name.tag.html, entity.name.tag.xml, entity.name.tag.localname.xml, support.type.vendored.property-name, support.type.property-name, source.css variable, source.coffee.embedded, support.function.git-rebase | #004898 | — |
| comment, punctuation.definition.comment, punctuation.definition.quote.begin.markdown | #03512e | — |
| string, string.tag, string.value, meta.embedded.assembly, meta.preprocessor.string, markup.inline.raw, markup.deleted, entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.xml, entity.other.attribute-name.jsx, entity.other.attribute-name.tsx, meta.attribute.html, source.json support.type.property-name.json, meta.structure.dictionary.json support.type.property-name.json, entity.name.tag.yaml, source.yaml support.type.property-name, punctuation.support.type.property-name.yaml, meta.structure.dictionary.key.python | #aa2f2e | — |
| source.json string.quoted.double.json, source.yaml string, source.yaml string.unquoted, source.yaml string.quoted.single, source.yaml string.quoted.double, string.quoted.double.html, string.quoted.single.html, string.quoted.double.xml, string.quoted.single.xml, punctuation.definition.string.begin.html, punctuation.definition.string.end.html, punctuation.definition.string.begin.xml, punctuation.definition.string.end.xml | #1a1306 | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent, keyword.other.unit, meta.preprocessor.numeric, constant.sha.git-rebase, markup.inserted | #006e9d | — |
| markup.bold, markup.heading, punctuation.definition.list.begin.markdown, markup.list.numbered.bullet.markdown | #7f2517 | — |
| entity.name.tag.css, entity.name.tag.less, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.parent.less, source.css entity.other.attribute-name.pseudo-class, source.css entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss, source.css entity.other.attribute-name.class | #ce6718 | — |
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python, keyword.operator, meta.template.expression, storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #1a1306 | — |
| string.regexp | #6967ab | — |
| invalid | #d7003a | — |
| punctuation.definition.tag | #8c877d | — |
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}!`;
}
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}!`;
}