Ayu Next
Publisher: RomanThemes in package: 1
π₯ This is a Dark theme (Mirage), screenshots inside
π₯ This is a Dark theme (Mirage), screenshots inside
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 |
|---|---|---|
| source meta.class meta.field.declaration meta.type.annotation keyword.operator | #CBCCC6B3 | |
| source.ts meta.interface meta.field.declaration meta.type.annotation keyword.operator.type.annotation, source meta.type meta.object.type keyword.operator | #CBCCC6B3 | |
| source.ts punctuation.definition.typeparameters.begin, source.ts punctuation.definition.typeparameters.end | #FF9944 | |
| source meta.block | #CBCCC6 | |
| source punctuation.separator.comma | #f29e7499 | |
| source punctuation.terminator, source punctuation.separator.key-value | #CBCCC6B3 | |
| source punctuation.definition.template-expression.begin, source punctuation.definition.template-expression.end | #BAE67E | |
| source punctuation.definition.string.template.begin.js, source punctuation.definition.string.template.end.js, source string.template punctuation.definition.string.template.begin, source string.template punctuation.definition.string.template.end | #FF9944 | |
| source new.expr entity.name.type | #F29E74 | |
| source string.template meta.template.expression meta.embedded.line variable.other.readwrite, source string.template meta.template.expression meta.embedded.line variable.other | #CBCCC6 | |
| source.vue meta.objectliteral meta.object.member meta.objectliteral meta.method.declaration meta.block meta.function-call entity.name.function.js, source.vue meta.export.default meta.objectliteral meta.method.declaration meta.block meta.objectliteral meta.object.member meta.function-call entity.name.function.js, source.vue meta.function-call entity.name.function.js | #F27983 | |
| source.vue meta.block meta.function-call variable.other.object.js, source.vue meta.function-call variable.other.object.js | #59C9DE99 | |
| source.vue meta.export.default meta.objectliteral meta.object.member meta.function-call entity.name.function.js | #F27983 | |
| source.vue meta.export.default meta.objectliteral meta.object.member meta.objectliteral meta.method.declaration meta.block meta.function-call entity.name.function.js, source.vue meta.export.default meta.objectliteral meta.object.member meta.method.declaration meta.block meta.block meta.function-call entity.name.function.js, source.vue meta.export.default meta.objectliteral meta.object.member entity.name.function.js, source.vue meta.export.default meta.objectliteral meta.object.member meta.objectliteral meta.object.member meta.function-call entity.name.function.js, source.vue meta.export.default meta.objectliteral meta.method.declaration meta.block meta.var.expr meta.function-call entity.name.function.js, source.vue meta.export.default meta.objectliteral meta.method.declaration meta.block meta.function-call entity.name.function.js | #FFD580 | |
| source.vue punctuation.definition.tag.begin, source.vue punctuation.definition.tag.end | #5CCFE6 | |
| source.vue text.html.vue-html meta.tag.block.any | #5CCFE6 | |
| source.vue meta.export.default meta.objectliteral meta.object.member meta.objectliteral meta.object.member meta.object-literal.key entity.name.function.js | #FFD580 | |
| source.vue text.html.vue-html meta.tag.block.any.html meta.directive.vue source.directive.vue variable.other.readwrite.js | #D4BFFF | |
| source.vue text.html.vue-html expression.embedded.vue variable.other.readwrite.js | #D4BFFF | |
| source.vue variable.parameter | #CBCCC6 | |
| source.vue variable.object.property | #BAE67E | |
| source.vue support.function | #F27983 | |
| source.vue support.class.builtin | #5CCFE6 | |
| source.vue string.template variable.other.readwrite | #CBCCC6 | |
| source.vue meta.function-call support.function.console | #F27983 | |
| source.vue meta.definition.method entity.name.function | #FFD580 | |
| source.stylus meta.property-list.css | #FF9944 | |
| source.stylus meta.selector.stylus | #FF9944 | |
| source.stylus meta.property-value.css | #FF9944 | |
| source.stylus entity.name.function.stylus | #BAE67E | |
| source.stylus support.function.mixin.stylus | #5CCFE6 | |
| source.js meta.template.expression.js punctuation.definition.template-expression.begin.js, source.js meta.template.expression.js punctuation.definition.template-expression.end.js | #FF9944 | |
| source.js meta.template.expression.js meta.embedded.line.js variable.other.object.js | #CBCCC6 | |
| meta.function-call entity.name.function | #FFD580 | |
| source support.type.object.module | #F29E74 | |
| source meta.export.default meta.class meta.method.declaration meta.block meta.function-call support.function.console | #F27983 | |
| keyword.operator.new | #FA871C | |
| entity.name.type | #FFD580 | |
| source meta.export.default meta.class meta.method.declaration meta.block meta.var.expr new.expr entity.name.type | #F29E74 | |
| source meta.export.default meta.class meta.method.declaration meta.block variable.other.object.property | #CBCCC6 | |
| source meta.export.default meta.class meta.method.declaration meta.block meta.block meta.array.literal variable.other.property | #CBCCC6 | |
| source meta.export.default meta.class meta.method.declaration meta.block variable.other.property | #CBCCC6 | |
| support.class.console | #0097A7 | |
| string, constant.other.symbol | #bae67e | |
| variable.parameter, meta.parameter | #D4BFFFAE | |
| comment | #5c6773 | italic |
| variable.language.this | #5CCFE6 | italic |
| variable.language.super | #5CCFE6 | italic |
| meta.object-literal.key | #bae67e | |
| keyword.control.default | #FF9944 | |
| keyword.control.import | #F29E74 | |
| keyword.control.export | #F29E74 | |
| string.regexp, constant.character, constant.other | #95e6cb | |
| constant.numeric | #8C9EFF | |
| constant.language | #ffcc66 | |
| meta.constant, entity.name.constant | #d4bfff | |
| variable.member | #f28779 | |
| storage, storage.type.keyword | #FF9944 | |
| keyword | #FF9944 | |
| keyword.operator | #f29e74 | |
| punctuation.section | #cbccc6 | |
| punctuation.accessor | #f29e74 | |
| entity.other.inherited-class | #5ccfe6 | |
| storage.type.function | #FF9944 | |
| variable.parameter, meta.parameter | #d4bfff | |
| variable.function, variable.annotation, meta.function-call.generic, support.function.go | #ffd580 | |
| entity.name.import, entity.name.package | #bae67e | |
| entity.name.tag, meta.tag.sgml | #5ccfe6 | |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #5ccfe680 | |
| entity.other.attribute-name | #ffd580 | |
| support.constant | #f29e74 | italic |
| storage.type.class | #FF9944 | bold |
| meta.decorator variable.other, meta.decorator punctuation.decorator, storage.type.annotation, variable.annotation, punctuation.definition.annotation | #ffe6b3 | |
| invalid | #E74C3C | |
| meta.diff, meta.diff.header | #c594c5 | |
| 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 | #73d0ff | |
| 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 | #5ccfe6 | |
| constant.numeric.line-number.find-in-files - match | #5c6773 | |
| constant.numeric.line-number.match | #FF9944 | |
| entity.name.filename.find-in-files | #bae67e | |
| message.error | #E74C3C | |
| markup.heading, markup.heading entity.name | #bae67e | bold |
| markup.underline.link, string.other.link | #5ccfe6 | |
| markup.italic | #f28779 | italic |
| markup.bold | #f28779 | bold |
| markup.italic markup.bold, markup.bold markup.italic | #f28779 | bold italic |
| markup.raw | #5c6773 | bold italic |
| markup.raw.inline | #5c6773 | bold italic |
| 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 | #5ccfe6 | |
| text.html.markdown markup.inline.raw | #f29e74 | |
| text.html.markdown meta.dummy.line-break | #5c6773 | |
| punctuation.definition.markdown | #5c6773 |
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}!`;
}