Melange Redux Iterum
Publisher: fosterthewebThemes in package: 2
Fork of a slightly tweaked VS Code port of the wonderful Melange nvim color scheme by savq.
Fork of a slightly tweaked VS Code port of the wonderful Melange nvim color scheme by savq.
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, text.html | #ece1d7 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #EFAB36 | — |
| *url*, *link*, *uri* | — | underline |
| invalid | #d47766 | — |
| punctuation, meta.embedded, source.j, source.t, punctuation.section.embedded.begin.tsx, punctuation.section.embedded.end.tsx, punctuation.section.embedded.begin.jsx, punctuation.section.embedded.end.jsx | #bd8183 | — |
| comment, punctuation.definition.comment, unused.comment, wildcard.comment, comment.block.documentation.ts, punctuation.definition.comment.ts | #867462 | italic |
| comment keyword.codetag.notation, comment.block.documentation keyword, comment.block.documentation storage.type.class, comment.block.documentation storage.type.class punctuation | #C1A78E | italic |
| comment.block.documentation variable, comment.block.documentation variable.other | #c1A78E | italic bold |
| constant, constant.numeric, constant.language, support.constant, meta.preprocessor.numeric, keyword.other.unit | #78997A | — |
| constant.numeric, constant.boolean, constant.language.numeric, constant.language.boolean | #Cf9bc2 | — |
| string, meta.preprocessor.string, string.quoted.single, string.template | #A3A9ce | — |
| constant.character', 'constant.regexp | #A3a9ce | — |
| punctuation.section.embedded, meta.string-contents.quoted.double punctuation.definition.variable, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.definition.interpolation.begin.bracket, punctuation.definition.interpolation.end.bracket, punctuation.definition.variable.makefile, string.interpolated punctuation.definition.string.begin, string.interpolated punctuation.definition.string.end | #E49B5D | — |
| string.regexp | #a3a9ce | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, support.other.parenthesis.regexp | #89b3b6 | — |
| punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #Cf9bc2 | — |
| keyword.operator.quantifier.regexp | #e49b5d | — |
| string.regexp keyword.other | #e49b5d | — |
| storage, meta.implementation storage.type.objc, meta.interface-or-protocol storage.type.objc, source.groovy storage.type.def, storage.modifier, storage.type.js | #e49b5d | — |
| entity.name.type.class, support.class, keyword.primitive-datatypes.swift, storage.type.attribute.swift, storage.type.objc, meta.protocol-list.objc, meta.return-type.objc, source.go storage.type, keyword.struct.go, keyword.interface.go, storage.type.c, keyword.type.cs, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.groovy, source.groovy storage.type, storage.type.php, storage.type.haskell, storage.type.ocaml, source.java storage.type, storage.type.core.rust, storage.class.std.rust, source.powershell entity.other.attribute-name, meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #ece1d7 | |
| entity.name.type.interface, support.interface, support.type, meta.return-type, meta.return.type, meta.type.name, meta.cast, meta.type.annotation, keyword.primitive-datatypes.swift, storage.type.attribute.swift, storage.type.objc, meta.protocol-list.objc, meta.return-type.objc, source.go storage.type, keyword.struct.go, keyword.interface.go, storage.type.c, keyword.type.cs, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.groovy, source.groovy storage.type, storage.type.php, storage.type.haskell, storage.type.ocaml, source.java storage.type, storage.type.core.rust, storage.class.std.rust, source.powershell entity.other.attribute-name, meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #ece1d7 | |
| variable.language.this, variable.language.super, variable.this, variable.language.special.self, variable.parameter.function.language.special.self, keyword.other.this, keyword.expressions-and-types.swift | #ebc06d | — |
| keyword, punctuation.definition.keyword | #e49b5d | — |
| keyword.operator | #d47766 | — |
| keyword.operator.ternary | #ece1d7 | — |
| variable.language, keyword.control.new, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python, meta.preprocessor, meta.diff.header, meta.selector | #ebc06d | — |
| keyword.control, keyword.control punctuation.definition.keyword | #e49b5d | — |
| keyword.import, keyword.package, keyword.control.directive, keyword.control.export, keyword.control.import, keyword.other.import, keyword.other.package, meta.import keyword.control, support.type.object.module | #e49b5d | — |
| storage.modifier.import.java, storage.modifier.package.java, variable.language.wildcard.java | #e49b5d | — |
| entity.name.function, entity.name.method, entity.name.static.function-call, support.function, support.constant.handlebars, variable.function, keyword.operator.function.infix, meta.function-call.generic, meta.function-call.object, meta.function-call.static, meta.function.python, meta.function-call.php, meta.method-call.java meta.method, meta.method.groovy, support.function.any-method.lua, entity.name.function.go | #ece1d7 | |
| entity.name.variable.parameter, variable.parameter, meta.function.arguments variable.other.php, meta.selectionset.graphql meta.arguments.graphql variable.arguments.graphql, meta.at-rule.function variable, meta.at-rule.mixin variable | #ece1d7 | — |
| meta.decorator entity.name.function, storage.type.annotation, meta.decorator punctuation.decorator, meta.decorator variable.other.readwrite, meta.decorator variable.other.property, meta.decorator variable.other.object | #ece1d7 | — |
| meta.parameter.type.variable, support.variable, variable.name, variable.other, variable.other.constant.js, meta.var.expr.js, meta.definition.variable.js, meta.var-single-variable.expr.js, source.js, variable, string.constant.other.placeholder, meta.object-literal.key, meta.decorator.ts meta.object.member, constant.other.key.perl | #ece1d7 | — |
| meta.object-binding-pattern-variable variable.object.property, meta.import variable.other.readwrite, meta.export variable.other.readwrite | #ece1d7 | — |
| meta.import variable.other.readwrite.alias, meta.export variable.other.readwrite.alias, meta.variable.assignment.destructured.object.coffee variable variable | #ece1d7 | — |
| meta.export.default variable.other.readwrite | #ece1d7 | — |
| constant.language.boolean.false.ts | #cf9bc2 | — |
| entity.name.type, entity.name.namespace, entity.name.scope-resolution, entity.other.inherited-class, support.class, support.type.primitive.tsx, meta.type.parameters.tsx, meta.type.annotation.tsx, meta.var-single-variable.expr.tsx | #89b3b6 | |
| entity.name.function.target.makefile, entity.name.section.toml, variable.other.key.toml, entity.name.tag.yaml | #e49b5d | — |
| constant.other.date, constant.other.timestamp | #cf9bc2 | — |
| variable.other.alias.yaml | #ebc06d | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #e49b5d | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #e49b5d | — |
| 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 | #e49b5d | — |
| 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 | #e49b5d | — |
| support.class.component | #ebc06d | — |
| meta.jsx.children | #ece1d7 | — |
| punctuation.definition.tag.begin.tsx, punctuation.definition.tag.begin.jsx, punctuation.definition.tag.begin.ts, punctuation.definition.tag.begin.js, punctuation.definition.tag.end.tsx, punctuation.definition.tag.end.jsx, punctuation.definition.tag.end.ts, punctuation.definition.tag.end.js | #ece1d7 | — |
| constant.language.undefined.tsx, meta.object.member.tsx, meta.objectliteral.tsx, meta.object.member.tsx, meta.function.expression.tsx, meta.export.default.tsx, source.tsx, support.type.primitive.ts | #7b9695 | — |
| punctuation.definition.parameters.begin, punctuation.definition.parameters.end, punctuation.definition.parameters.begin.ts, punctuation.definition.parameters.end.ts, punctuation.definition.parameters.begin.tsx, punctuation.definition.parameters.end.tsx, punctuation.definition.parameters.begin.ts, punctuation.definition.parameters.end.ts, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.string.template.begin, punctuation.definition.string.template.end, punctuation.accessor.optional, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.support.type.property-name.begin.json.comments, punctuation.support.type.property-name.end.json.comments, meta.brace.round, meta.shebang.shell, keyword.operator.ternary, punctuation.definition.comment.shebang | #d47766 | |
| entity.name.tag, entity.name.tag.tsx | #e49b5d | |
| tag.close entity.name.tag | #e49b5d | — |
| entity.other.attribute-name, meta.tag.attributes, entity.other.attribute-name.html, meta.tag.inline.any.html, meta.tag.sgml, entity.other.attribute-name.tsx, entity.other.attribute-name.ts, entity.other.attribute-name.jsx, entity.other.attribute-name.jsx | #7b9695 | |
| entity.other.attribute-name.id | #89b3b6 | — |
| punctuation.definition.entity.html, punctuation.definition.tag.begin.html, meta.tag.structure.li.end.html, text.html.derivative | #ebc06d | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #85b695 | — |
| entity.other.attribute-name.parent-selector | #ebc06d | — |
| meta.function-call.arguments | #ece1d7 | — |
| meta.selectionset.graphql variable | #a3a9ce | — |
| meta.selectionset.graphql meta.arguments variable | #ece1d7 | — |
| source.shell support.function.builtin | #ece1d7 | — |
| source.shell support.function.builtin | #ece1d7 | — |
| punctuation.definition.variable.shell, source.shell variable.other | #e49b5d | — |
| string.interpolated.backtick.shell, string.interpolated.dollar.shell | #d47766 | — |
| meta.scope.for-loop.shell punctuation.definition.string.begin, meta.scope.for-loop.shell punctuation.definition.string.end, meta.scope.for-loop.shell string | #ece1d7 | — |
| meta.scope.prerequisites | #ebc06d | — |
| entity.name.function.target | #a3a9ce | |
| meta.function-parameters.lisp | #ece1d7 | — |
| markup.underline | — | underline |
| markup.bold | #ece1d7 | bold |
| markup.italic | #ece1d7 | italic |
| markup.heading, entity.name.section | #e49b5d | |
| meta.link.reference.def.restructuredtext, punctuation.definition.directive.restructuredtext, string.other.link.description, string.other.link.title | #ece1d7 | underline |
| markup.underline.link, markup.underline.link.image | #a3a9ce | |
| markup.inline.raw, markup.raw.restructuredtext | #a3a9ce | italic |
| fenced_code.block.language, markup.raw.inner.restructuredtext, markup.fenced_code.block.markdown punctuation.definition.markdown | #a3a9ce | italic |
| entity.name.directive.restructuredtext, markup.quote | #ebc06d | italic |
| beginning.punctuation.definition.list.markdown, beginning.punctuation.definition.quote.markdown, punctuation.definition.link.restructuredtext, markup.punctuation.quote.beginning, markup.punctuation.list.beginning | #ece1d7 | |
| meta.separator.markdown | #ebc06d | — |
| punctuation.definition.constant.restructuredtext | #78997a | — |
| markup.inserted | #78997a | — |
| markup.deleted | #bd8183 | — |
| markup.changed | #e49b5d | — |
| source.go entity.name.import | #e49b5d | — |
| source.go entity.name.type | #ece1d7 | — |
| keyword.control.cucumber.table | #ebc06d | — |
| metatag.php | #e49b5d | — |
| support.function.git-rebase | #b380b0 | — |
| constant.sha.git-rebase | #7b9695 | — |
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}!`;
}