Midnight Xenon Theme
Publisher: Mitchell MedeirosThemes in package: 1
A minimalistic theme with consistent syntax highlighting inspired by Dark Modern.
A minimalistic theme with consistent syntax highlighting inspired by Dark Modern.
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 |
|---|---|---|
| entity.name.type, support.type | #30E5BE | — |
| class, entity.name.type.class, entity.name.class, entity.other.inherited-class, support.class, storage.type.annotation.java | #30E5BE | — |
| function, method, entity.name.function, entity.name.method, support.function, support.variable.magic.python, support.function.magic.python, storage.type.tag-handle.yaml | #FFFFA8 | — |
| variable, entity.name.variable, variable.parameter, variable.other.property, variable.other.readwrite, variable.other.constant, support.variable.magic.python, variable.stable, variable.volatile, variable.function, variable.function.constructor, support.type.property-name.json, entity.other.attribute-name.html, entity.other.attribute-name.xml, entity.other.attribute-name.namespace.xml, entity.other.attribute-name.localname.xml, entity.name.tag.yaml, keyword.other.definition.ini, variable.other.env | #88D5FF | — |
| constant.language, support.constant, constant.character, constant.escape, keyword.other.unit, storage.type.primitive.java | #AEFF7F | — |
| entity.name.namespace, entity.name.import, meta.import | #8F97FF | — |
| keyword.control.flow, keyword.operator.logical, keyword.other.import, keyword.control.import.python, keyword.control.java, keyword.control.throw, keyword.other.package.java, keyword.other.env | #C586C0 | — |
| storage.type, keyword.declaration, keyword.declaration.scala, keyword.declaration.stable.scala, keyword.declaration.volatile.scala, keyword.interpolation.scala, punctuation.definition.template-expression.begin.scala, entity.name.tag, storage.modifier.extends.java, storage.modifier.java, keyword.control.new.java, storage.modifier.other, keyword.other.doctype.xml | #22ADF8 | — |
| keyword.operator.logical, storage.modifier | #22ADF8 | — |
| variable.parameter.function.language.special.self, variable.language.scala, variable.language.this.java | #B9CEDA | — |
| number, constant.numeric | #B5CEA8 | — |
| string, punctuation.definition.string, comment.block.documentation.scala, string.quoted.docstring, comment.block.javadoc.java, entity.name.section.group-title.ini, markup.underline.link | #EEBC70 | — |
| comment.line.number-sign.python, punctuation.definition.comment.python, punctuation.definition.comment.json.comments, comment.line.double-slash, comment.block.xml, comment.line.number-sign.yaml, comment.line.number-sign, comment.line.semicolon.ini, comment.block.html | #60737D | — |
| keyword.operator | #D4D4D4 | — |
| punctuation.separator, punctuation.section, punctuation.separator.key-value.ini | #D4D4D4 | — |
| punctuation.definition.dict.begin.python, punctuation.definition.dict.end.python, keyword.other.template.begin.env, keyword.other.template.end.env | #F9D849 | — |
| meta.paragraph.markdown, markup.table, punctuation.definition.list_item.markdown, text.html, text.xml | #DDDDDD | — |
| punctuation.definition.tag | #a6b3b1e5 | — |
| constant.other.color | #ffffff | — |
| invalid, invalid.illegal | #FF5370 | — |
| string.regexp | #89DDFF | — |
| *url*, *link*, *uri* | — | underline |
| support.type.property-name | #88D5FF | — |
| log.date text.log | #88D5FF | — |
| log.debug text.log | #e3b7ff | — |
| log.info text.log | #6b5eff | — |
| log.warning text.log | #ffa319 | — |
| log.error text.log | #ff4160 | — |
| source.pip-requirements entity.name.class | #8F97FF | — |
| markup.heading, markdown.heading | #88D5FF | — |
| string.other.link.description.markdown, string.other.link.title.markdown, constant.other.reference.link.markdown | #2EDCB7 | — |
| punctuation.definition.list.begin.markdown, punctuation.definition.quote.begin.markdown, punctuation.definition.table.markdown, punctuation.separator.table.markdown, punctuation.definition.markdown, punctuation.definition.raw.markdown | #8F97FF | — |
| markup.quote, markup.quote.markdown meta.paragraph.markdown, markup.raw.block, markup.fenced_code.block, markup.inline.raw.string.markdown | #B5CEA8 | — |
| markup.italic | #FFFFA8 | italic |
| markup.bold, markup.bold string | #FFFFA8 | bold |
| markup.bold markup.italic | #FFFFA8 | bold italic |
| markup.strikethrough | #FFFFA8 | strikethrough |
| markup.strikethrough markup.italic | #FFFFA8 | strikethrough italic |
| markup.strikethrough markup.bold | #FFFFA8 | strikethrough bold |
| markup.underline | #FFFFA8 | underline |
| markup.inserted, markup.inserted.git_gutter | #C3E88D | — |
| markup.deleted, markup.deleted.git_gutter | #FF5370 | — |
| markup.changed, markup.changed.git_gutter | #C792EA | — |
| support.other.variable, string.other.link | #f07178 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #B2CCD6 | — |
| entity.other.attribute-name.class | #FFCB6B | — |
| source.sass keyword.control | #82AAFF | — |
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}!`;
}