Mayukai Theme
Publisher: GulajavaMinistudioThemes in package: 9
Dark theme based on mixing swatch of Ayu Theme, Andromeda Theme, Monokai, Material Colors, Original Gruvbox Darktooth Colors, and Dracula Colors.
Dark theme based on mixing swatch of Ayu Theme, Andromeda Theme, Monokai, Material Colors, Original Gruvbox Darktooth Colors, and Dracula Colors.
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 | #5c6773 | italic |
| string, constant.other.symbol | #A9DC76 | — |
| string.regexp, constant.character, constant.other | #95e6cb | — |
| constant.other.color | #F29668 | — |
| constant.numeric | #f27983 | — |
| constant.numeric.css | #f07178 | — |
| constant.language | #f28779 | — |
| variable | #CBCCC6 | — |
| variable.other.constant | #CBCCC6 | — |
| variable.member | #f28779 | — |
| variable.language | #ffa759 | italic |
| variable.language.this | #ed9269 | italic |
| support.variable | #ffa759 | — |
| storage | #ffa759 | — |
| storage.modifier | #ffa759 | italic |
| storage.modifier.async | #ffa759 | italic |
| storage.type | #ffa759 | italic |
| keyword | #ffa759 | — |
| keyword.operator | #f29668 | — |
| keyword.operator.new | #ffa759 | — |
| keyword.control.flow | #ffa759 | — |
| punctuation.separator, punctuation.terminator | #cbccc6b3 | — |
| punctuation.section | #CBCCC6 | — |
| punctuation.definition | #CBCCC6B3 | — |
| punctuation.accessor | #F29668 | — |
| source.java storage.type, source.haskell storage.type, source.c storage.type | #95e6cb | — |
| entity.other.inherited-class | #FF8F40 | — |
| storage.type.function | #ffa759 | — |
| storage.type.function.arrow | #f29668 | |
| source.java storage.type.primitive | #95e6cb | — |
| entity.name.function | #ffcc66 | — |
| variable.parameter, meta.parameter | #CBCCC6 | italic |
| variable.function, variable.annotation, meta.function-call.generic, support.function.go | #FFCC66 | — |
| support.function, support.macro | #FFCC66 | — |
| entity.name.import, entity.name.package | #bae67e | — |
| entity.name | #FF8F40 | — |
| entity.name.type.class | #f07178 | — |
| entity.name.type.module | #ffb454 | — |
| entity.name.tag, meta.tag.sgml | #fc4085 | — |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #b3b1ad | — |
| text.html.derivative | #CBCCC6 | — |
| entity.other.attribute-name | #FFCC66 | italic |
| support.constant | #f28779 | italic |
| support.type, support.class, source.go storage.type | #f28779 | — |
| support.class.component | #9CD1BB | — |
| support.class.dart | #9cd1bb | — |
| meta.decorator variable.other, meta.decorator punctuation.decorator, storage.type.annotation | #CBCCC6 | — |
| invalid | #ff3333 | — |
| meta.diff, meta.diff.header | #c594c5 | — |
| source.ruby variable.other.readwrite | #ffd580 | — |
| source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag | #95e6cb | — |
| source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type | #5c6773 | — |
| support.type.property-name | #bae67e | |
| entity.other.attribute-name.class.css | #bae67e | |
| entity.other.attribute-name.id.css | #ffcc66 | |
| support.type.property-name.css | #CBCCC6 | |
| constant.numeric.line-number.find-in-files - match | #5c6773 | — |
| constant.numeric.line-number.match | #ffa759 | — |
| entity.name.filename.find-in-files | #bae67e | — |
| message.error | #ff3333 | — |
| markup.heading, markup.heading entity.name | #bae67e | bold |
| markup.underline.link, string.other.link | #95e6cb | — |
| markup.italic | #f28779 | italic |
| markup.bold | #f28779 | bold |
| markup.italic markup.bold, markup.bold markup.italic | — | bold italic |
| markup.raw | — | — |
| markup.raw.inline | — | — |
| meta.separator | #5c6773 | bold |
| markup.quote | #95e6cb | italic |
| markup.list punctuation.definition.list.begin | #ffd580 | — |
| markup.inserted | #a6cc70 | — |
| markup.changed | #77a8d9 | — |
| markup.deleted | #f27983 | — |
| markup.strike | #ffe6b3 | — |
| markup.table | #95e6cb | — |
| text.html.markdown markup.inline.raw | #f29e74 | — |
| text.html.markdown meta.dummy.line-break | #5c6773 | — |
| punctuation.definition.markdown | #5c6773 | — |
| punctuation.quasi.element.begin, punctuation.quasi.element.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #ffa759 | — |
| meta.object-literal.key | #CBCCC6 | italic |
| meta.brace.curly, meta.brace.round, meta.brace.square | #b3b1ad | — |
| string.json support.type.property-name.json | #f29e74 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #e6b450 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f2ae49 | — |
| constant.language.json | #d4bfff | — |
| constant.numeric.json | #f27983 | — |
| string.unquoted, constant.other.object.key | #e6b450 | — |
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}!`;
}