Moonfly Theme
Publisher: jgencThemes in package: 1
An attempted Visual Studio Code port of the moonfly theme created for Neovim and Vim by bluz71. Dark charcoal theme with carefully chosen syntax highlighting.
An attempted Visual Studio Code port of the moonfly theme created for Neovim and Vim by bluz71. Dark charcoal theme with carefully chosen syntax highlighting.
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, punctuation.definition.comment | #949494 | italic |
| source.python meta.statement.import.python variable.other.readwrite, source.python meta.import-name variable.other.readwrite | #74b2ff | — |
| variable, string constant.other.placeholder | #c6c6c6 | — |
| constant.other.color | #de935f | — |
| invalid, invalid.illegal | #ff5d5d | — |
| meta.import-name.python, meta.import.python variable.other.readwrite.alias.python, source.python meta.import variable.other.readwrite, meta.import.python variable.other.readwrite, meta.import variable.other.readwrite, variable.other.readwrite.module.python, support.type.python | #74b2ff | — |
| keyword, storage.type, storage.modifier | #cf87e8 | — |
| keyword.control, constant.other.color, punctuation.separator, punctuation.accessor, punctuation.terminator, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #e65e72 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #80a0ff | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #74b2ff | — |
| meta.block variable.other | #79dac8 | — |
| support.other.variable, string.other.link | #79dac8 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #de935f | — |
| string, 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 | #c6c684 | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #36c692 | — |
| support.type | #36c692 | — |
| 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 | #adadf3 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #79dac8 | — |
| variable.language | #8cc85f | italic |
| entity.name.method.js | #74b2ff | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #74b2ff | — |
| entity.other.attribute-name | #79dac8 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #79dac8 | italic |
| entity.other.attribute-name.class | #80a0ff | — |
| source.sass keyword.control | #74b2ff | — |
| markup.inserted | #8cc85f | — |
| markup.deleted | #ff5d5d | — |
| markup.changed | #e3c78a | — |
| string.regexp | #79dac8 | — |
| constant.character.escape | #e65e72 | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #82AAFF | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF5370 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #C792EA | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FFCB6B | — |
| 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 | #F78C6C | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.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 | #FF5370 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 | #C17E70 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 | #82AAFF | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 | #f07178 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 | #C792EA | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 | #C3E88D | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #EEFFFF | — |
| text.html.markdown markup.inline.raw.markdown | #C792EA | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #65737E | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #C3E88D | — |
| markup.italic | #f07178 | italic |
| markup.bold, markup.bold string | #f07178 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #f07178 | bold |
| markup.underline | #F78C6C | underline |
| markup.quote punctuation.definition.blockquote.markdown | #65737E | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #82AAFF | — |
| string.other.link.description.title.markdown | #C792EA | — |
| constant.other.reference.link.markdown | #FFCB6B | — |
| markup.raw.block | #C792EA | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #EEFFFF | — |
| variable.language.fenced.markdown | #65737E | — |
| meta.separator | #65737E | bold |
| markup.table | #c6c6c6 | — |
| constant.language.boolean | #e65e72 | — |
| variable.other.readwrite, variable.other.property, variable.other.object.property | #79dac8 | — |
| variable.other.property, support.variable.property | #adadf3 | — |
| variable.parameter, meta.parameter | #e196a2 | — |
| entity.name.function.constructor, support.function.constructor | #36c692 | — |
| entity.name.namespace, entity.name.module, support.module, meta.import variable.other, meta.import.python variable.other.readwrite, source.python meta.import variable.other | #74b2ff | — |
| constant.language, support.constant.builtin | #8cc85f | — |
| variable.language, variable.language.this, variable.language.super | #8cc85f | — |
| support.type.builtin, support.class.builtin | #36c692 | — |
| entity.name.function.macro, support.function.macro | #79dac8 | — |
| keyword.control.directive, meta.preprocessor | #e65e72 | — |
| keyword.control.exception | #cf87e8 | — |
| keyword.control.import, keyword.control.from, keyword.import, meta.import keyword | #cf87e8 | — |
| keyword.control.conditional | #cf87e8 | — |
| keyword.control.loop | #cf87e8 | — |
| keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.bitwise, keyword.operator.increment, keyword.operator.decrement, keyword.operator.ternary, punctuation.separator.operator, punctuation.operator, operator | #e65e72 | — |
| keyword.operator, keyword.operator.logical, keyword.operator.comparison, keyword.operator.word | #cf87e8 | — |
| keyword.operator.assignment.compound, keyword.operator.math, source punctuation.separator.key-value, source punctuation.separator.dictionary, source punctuation.separator.element | #e65e72 | — |
| punctuation.definition.tag | #8cc85f | — |
| punctuation.separator.delimiter, punctuation.section.brackets, punctuation.section.parens, punctuation.section.braces, punctuation.section.group, punctuation.section.parameters, punctuation.section.arguments, punctuation.section.array, punctuation.section.block, punctuation.definition.parameters, punctuation.definition.arguments, punctuation.definition.array, punctuation.definition.block, punctuation.definition.group, meta.brace.round, meta.brace.square, meta.brace.curly, meta.bracket, meta.parens, punctuation.bracket, punctuation.parenthesis, punctuation.brace | #e65e72 | — |
| string.quoted.docstring, comment.block.documentation | #79dac8 | — |
| string.quoted.other, string.template | #ae81ff | — |
| support.function.math | #74b2ff | — |
| markup.bold | #e196a2 | bold |
| markup.italic | #e196a2 | italic |
| markup.underline.link | #8cc85f | — |
| markup.underline.link.url | #ae81ff | underline |
| markup.list | #e65e72 | — |
| markup.quote | #949494 | — |
| markup.raw | #c6c684 | — |
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}!`;
}