Kokedera — Japanese Moss Temple Theme
Publisher: 7th-LayerThemes in package: 1
A meditative dark theme inspired by the moss-covered temple garden Saihō-ji (苔寺) in Kyoto. Deep forest greens, weathered stone, and soft lantern light.
A meditative dark theme inspired by the moss-covered temple garden Saihō-ji (苔寺) in Kyoto. Deep forest greens, weathered stone, and soft lantern light.
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 | #5a6b50 | italic |
| comment.block.documentation, comment.block.javadoc | #6b7e60 | italic |
| comment.block.documentation storage.type, comment.block.javadoc keyword, comment.block.documentation punctuation.definition | #7a9070 | bold italic |
| keyword, keyword.control, keyword.operator.new, keyword.operator.delete, keyword.operator.expression, keyword.operator.typeof, keyword.operator.instanceof, storage.type, storage.modifier | #4ca64c | — |
| string, string.quoted, string.template | #d4c88e | — |
| constant.character.escape | #9a7abf | bold |
| string.regexp | #9a7abf | — |
| string.interpolated, punctuation.definition.template-expression, punctuation.section.embedded | #d4c88e | italic |
| constant.numeric, constant.language, constant.character | #c49a5c | — |
| constant.language.boolean | #c49a5c | bold |
| entity.name.function, support.function, meta.function-call entity.name.function | #8fbf6f | — |
| variable.parameter | #a3be8c | — |
| entity.name.type, entity.name.class, entity.other.inherited-class, support.type, support.class, entity.name.namespace, entity.name.module | #3d9970 | — |
| support.type.builtin, support.type.primitive | #3d9970 | italic |
| entity.name.type.interface | #3d9970 | — |
| entity.name.type.enum | #3d9970 | — |
| variable, variable.other, variable.other.readwrite | #a3be8c | — |
| variable.other.constant, variable.other.enummember | #c49a5c | — |
| variable.language.this, variable.language.self, variable.language.super | #7ec46c | italic |
| variable.other.property, variable.other.object.property, support.variable.property | #a3be8c | — |
| keyword.operator, punctuation.accessor, punctuation.separator | #7a9070 | — |
| punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.arguments, punctuation.definition.array, punctuation.section, meta.brace | #7a9070 | — |
| meta.decorator, meta.annotation, storage.type.annotation, punctuation.decorator | #8fbf6f | — |
| entity.name.label | #7ec46c | — |
| entity.name.tag, punctuation.definition.tag | #4ca64c | — |
| entity.other.attribute-name | #8fbf6f | — |
| string.quoted.double.html, string.quoted.single.html | #d4c88e | — |
| support.type.property-name.css, meta.property-name.css | #7ec46c | — |
| support.constant.property-value.css, meta.property-value.css | #a3be8c | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #8fbf6f | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #3d9970 | — |
| keyword.other.unit.css | #c49a5c | — |
| support.type.property-name.json | #7ec46c | — |
| string.quoted.double.json | #d4c88e | — |
| entity.name.tag.yaml | #7ec46c | — |
| string.unquoted.plain.out.yaml, string.quoted.single.yaml, string.quoted.double.yaml | #d4c88e | — |
| entity.name.type.anchor.yaml, punctuation.definition.anchor.yaml, variable.other.alias.yaml | #3d9970 | — |
| markup.heading, entity.name.section | #4ca64c | bold |
| markup.bold | #c8d8b8 | bold |
| markup.italic | #c8d8b8 | italic |
| markup.bold markup.italic, markup.italic markup.bold | — | bold italic |
| markup.inline.raw, markup.fenced_code, markup.raw.block | #d4c88e | — |
| markup.underline.link | #3d9970 | italic |
| string.other.link | #5a9e8f | — |
| punctuation.definition.list.begin.markdown | #7ec46c | — |
| markup.quote | #7a9070 | italic |
| markup.inserted | #5ab85a | — |
| markup.deleted | #c45a5a | — |
| markup.changed | #bfa243 | — |
| invalid, invalid.illegal | #c45a5a | — |
| invalid.deprecated | #7a9070 | strikethrough |
| emphasis | — | italic |
| strong | — | bold |
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}!`;
}