Makurai Theme
Publisher: SkardyThemes in package: 3
just another vscode theme ~
just another vscode theme ~
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 |
|---|---|---|
| keyword.operator | #f8f8f0 | — |
| keyword.control, constant.character.escape, storage | #ff7733 | — |
| keyword.operator.quantifier.regexp, constant.numeric, string.regexp, constant.language, variable.other.constant | #d2a6ff | — |
| keyword.other.special-method, entity.name.function, meta.require, support.function.any-method, variable.function, entity.other.attribute-name, meta.function-call.generic | #ffee99 | — |
| punctuation.definition.string, string.quoted | #95fb79 | — |
| punctuation.definition, punctuation.section, punctuation.separator | #f8f8f0 | — |
| meta.tag, invalid, meta.import, variable.other.constant.object, entity.name.type.namespace, entity.name.type.module | #f8f8f0 | — |
| entity.name.type, entity.name.type.class, variable.other.class, support.class, entity.other.inherited-class | #82aaff | — |
| punctuation.definition.comment, comment.line, comment.block, punctuation.definition.tag | #5c6773 | italic |
| meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff | #ffee99 | — |
| markup.inserted.diff | #95fb79 | — |
| markup.deleted.diff | #f8f8f0 | — |
| token.info-token | #ffee99 | — |
| token.warn-token | #d2a6ff | — |
| token.error-token | #f44747 | — |
| token.debug-token | #ff7733 | — |
| markup.inline.raw, punctuation.definition.markdown, markup.fenced_code.block.markdown, punctuation.definition.quote.begin.markdown, markup.quote.markdown, meta.image.inline, meta.link.inline, punctuation.definition.raw.markdown | #95fb79 | — |
| markup.underline.link, punctuation.definition.metadata.markdown | #39bae6 | — |
| string.other.link.description.markdown, punctuation.definition.link.description.end.markdown, punctuation.definition.link.title.end.markdown, punctuation.definition.link.title.begin.markdown, punctuation.definition.link.description.begin.markdown, string.other.link.title.markdown | #82aaff | — |
| punctuation.definition.quote.begin.markdown, punctuation.definition.list.begin.markdown | #ffee99 | — |
| markup.heading, punctuation.definition.heading.markdown | #ff7733 | — |
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}!`;
}