mononoke
Publisher: Fannar Freyr KristinssonThemes in package: 1
A theme inspired by the movie Princess Mononoke
A theme inspired by the movie Princess Mononoke
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 |
|---|---|---|
| string | #adffc2 | — |
| constant.character.escape, text.html constant.character.entity.named, punctuation.definition.entity.html | #ff6b70 | — |
| constant.language.boolean | #fff2a8 | — |
| constant.numeric | #adffc2 | — |
| variable, support.variable, support.class, support.constant, meta.definition.variable entity.name.function | #feffde | — |
| variable.parameter, meta.parameter | #fff2a8 | — |
| keyword, modifier, variable.language.this, support.type.object, constant.language | #ff6b70 | — |
| entity.name.function, support.function | #8ab9ff | — |
| storage.type, storage.modifier | #ff6b70 | — |
| support.module, support.node | #feffde | italic |
| support.type, entity.name.type, entity.other.inherited-class | #ff6b70 | — |
| comment | #a2e2be88 | italic |
| entity.name.type.class | #fff2a8 | — |
| variable.object.property meta.field.declaration entity.name.function | #fff2a8 | — |
| meta.definition.method entity.name.function | #fff2a8 | — |
| meta.function entity.name.function | #8ab9ff | — |
| punctuation.accessor, punctuation.definition.tag | #ff6b70 | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #ff6b70 | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #efefef | — |
| entity.name.tag.yaml | #feffde | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #feffde | — |
| constant.language.json | #ff6b70 | — |
| entity.other.attribute-name.class | #ff6b70 | — |
| entity.other.attribute-name.id | #adffc2 | — |
| source.css entity.name.tag | #fff2a8 | — |
| meta.tag, punctuation.definition.tag | #ff6b70 | — |
| entity.name.tag | #feffde | — |
| entity.other.attribute-name | #8ab9ff | — |
| markup.heading | #ff6b70 | — |
| text.html.markdown meta.link.inline, meta.link.reference | #feffde | — |
| text.html.markdown markup.quote | #c0c0c0 | — |
| text.html.markdown beginning.punctuation.definition.list | #ff6b70 | — |
| markup.italic | #feffde | italic |
| markup.bold | #feffde | bold |
| markup.bold markup.italic, markup.italic markup.bold | #feffde | italic bold |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #adffc2 | — |
| markup.inline.raw.string.markdown | #adffc2 | — |
| keyword.other.definition.ini | #feffde | — |
| entity.name.section.group-title.ini | #ff6b70 | — |
| source.cs meta.class.identifier storage.type | #fff2a8 | underline |
| source.cs meta.method.identifier entity.name.function | #fff2a8 | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #8ab9ff | — |
| source.cs storage.type | #ff6b70 | — |
| source.cs meta.method.return-type | #ff6b70 | — |
| source.cs meta.preprocessor | #a2e2be88 | — |
| source.cs entity.name.type.namespace | #efefef | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}