Andromeda Night
Publisher: ni3ravThemes in package: 5
A VS Code theme inspired by Andromeda and Tokyo Night.
A VS Code theme inspired by Andromeda and Tokyo Night.
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, storage.type, storage.modifier, keyword.control, entity.name.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, source.css support.type.property-name, markup.heading, entity.name.section.markdown, variable.language.fenced.markdown, token.info-token | #D2529F | — |
| variable, string constant.other.placeholder, invalid.deprecated, variable.other.object.js, storage.type.js, string.other.link.title.markdown, variable.other.readwrite.js, variable.other.property.js, token.warn-token | #E89F6A | — |
| string, string.quoted.double.html, variable.other.constant.js, variable.other.object.property.js, string.quoted.double.json, markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, variable.function, keyword.other.special-method, entity.name.function, markup.bold, markup.bold.markdown, markup.italic.markdown, meta.class-method.js entity.name.function.js, variable.function.constructor, entity.name.tag.other.html, entity.name.tag.block.any.html, source.sass keyword.control, entity.name.method.js, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js, markup.inserted | #70D0B3 | — |
| constant.numeric, constant.language, constant.character, constant.escape, keyword.other.unit, keyword.other, punctuation.separator.key-value.html, constant.other.php, punctuation.definition.string.begin.html, punctuation.definition.string.end.html, entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, entity.other.attribute-name.html, entity.other.attribute-name, support.function, source.scss keyword.control, string.regexp, constant.character.escape, markup.changed, token.debug-token, breadcrumb.foreground, editorCursor.foreground, editorSuggestWidget.highlightForeground, list.focusForeground, statusBar.debuggingBackground, terminal.ansiBlue, terminal.ansiBrightBlue, terminalCursor.foreground | #3A9AA8 | — |
| constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly, constant.other.object.key.js, string.unquoted.label.js, markup.inserted, editorWarning.foreground, list.warningForeground, terminal.ansiYellow, terminal.ansiBrightYellow, editorOverviewRuler.warningForeground | #E8D06A | — |
| variable, string constant.other.placeholder, entity.name.function, punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | — | italic |
| punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | #3A9AA8 | — |
| constant.other.color | #F5F5F5 | — |
| invalid, invalid.illegal, token.error-token | #7E9CD8 | — |
| keyword, storage | — | italic |
| constant.other.color, punctuation.definition.tag, punctuation, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, entity.name.tag.reference.scss | #9999A3 | — |
| entity.name.type.module.js | #7E9CD8 | — |
| keyword.control.at-rule, punctuation.terminator.rule.css, keyword.control.operator, punctuation.definition.entity.css, keyword.operator.assignment.js, punctuation.separator.comma.js, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, punctuation.definition.binding-pattern.object.js | #E0E0E0 | — |
| punctuation.definition, string.quoted.single.scss | #9999A3 | — |
| keyword.control | — | bold |
| comment.line.scss, comment.line.double-slash.js, punctuation.definition.comment.scss, punctuation.definition.comment.js, punctuation.definition.comment.html, comment.block.html | #5E5E6A | — |
| text.html.derivative | #9999A3 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #E0E0E0 | — |
| entity.name.tag.html | — | bold |
| variable.parameter.js, variable.parameter.keyframe-list.css | #3A9AA8 | — |
| entity.other.attribute-name.id, entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.name.tag.css, keyword.control.conditional.js, support.constant, entity.other.attribute-name.html, string.quoted.single.js, storage.type.function.js, meta.object-literal.key | #E0E0E0 | — |
| markup.deleted | #7E9CD8 | — |
| *url*, *link*, *uri* | — | underline |
| source.js constant.other.object.key.js string.unquoted.label.js | #E0E0E0 | italic |
| support.type.property-name.json | #E0E0E0 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #E0E0E0 | — |
| text.html.markdown markup.inline.raw.markdown | #3A9AA8 | — |
| text.html.markdown markup.inline.raw.markdown, punctuation.definition.raw.markdown | #D2529F80 | — |
| markdown.heading, markup.heading, markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #D2529F | bold |
| markup.underline | #3A9AA8 | underline |
| markup.quote punctuation.definition.blockquote.markdown | #D2529F80 | — |
| markup.quote | — | italic |
| string.other.link.description.title.markdown | #3A9AA8 | — |
| constant.other.reference.link.markdown | #3A9AA8 | — |
| markup.raw.block | #3A9AA8 | — |
| punctuation.definition.raw.markdown, punctuation.definition.markdown | #3A9AA8 | — |
| meta.separator | #9999A3 | bold |
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}!`;
}