Esmerald
Publisher: Esteban H. AcevedoThemes in package: 2
It's a beautiful theme
It's a beautiful theme
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 |
|---|---|---|
| constant.regexp | #646695 | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #CE9178 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #D2FF77 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #dcaaaa | — |
| keyword.operator.quantifier.regexp | #CE9178 | — |
| constant.character, constant.other.option | #569CD6 | — |
| constant.character.escape | #CE9178 | — |
| entity.name.label | #C8C8C8 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python | #D4D4D4 | — |
| heading.1.markdown, heading.1.markdown punctuation.definition.heading.markdown | #ffffff | — |
| heading.2.markdown, heading.2.markdown punctuation.definition.heading.markdown | #ff8f8f | — |
| heading.3.markdown, heading.3.markdown punctuation.definition.heading.markdown | #ffda96 | — |
| heading.4.markdown, heading.4.markdown punctuation.definition.heading.markdown | #9CDCFE | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #A4B1CD | — |
| text.html.markdown markup.inline.raw.markdown | #d79bff | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #313F55 | — |
| markup.italic | #569CD6 | italic |
| markup.bold, markup.bold string | #FF009D | — |
| 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 | #ff8f8f | bold |
| markup.underline | #d79bff | underline |
| markup.quote punctuation.definition.blockquote.markdown | #1A2332 | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #9CDCFE | — |
| string.other.link.description.title.markdown | #d79bff | — |
| constant.other.reference.link.markdown | #5CB2FF | — |
| markup.raw.block | #d79bff | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #A4B1CD | — |
| variable.language.fenced.markdown | #313F55 | — |
| punctuation.definition.quote.begin.markdown | #6A9955 | — |
| punctuation.definition.list.begin.markdown | #ffda96 | — |
| meta.separator | #313F55 | bold |
| markup.table | #A4B1CD | — |
| markup.underline | — | underline |
| markup.bold | #569CD6 | bold |
| markup.heading | #569CD6 | bold |
| markup.italic | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #B5CEA8 | — |
| markup.deleted | #CE9178 | — |
| markup.changed | #569CD6 | — |
| markup.inline.raw | #CE9178 | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor, entity.name.function.preprocessor | #569CD6 | — |
| meta.preprocessor.string | #CE9178 | — |
| meta.preprocessor.numeric | #B5CEA8 | — |
| meta.structure.dictionary.key.python | #9CDCFE | — |
| meta.diff.header | #569CD6 | — |
| storage | #569CD6 | — |
| storage.type | #569CD6 | — |
| storage.modifier, keyword.operator.noexcept | #569CD6 | — |
| string.tag | #CE9178 | — |
| string.value | #CE9178 | — |
| string.regexp | #D2FF77 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #569CD6 | — |
| meta.template.expression | #D4D4D4 | — |
| support.type.vendored.property-name, support.type.property-name, source.css variable, source.coffee.embedded | #9CDCFE | — |
| keyword | #569CD6 | — |
| keyword.control | #569CD6 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #569CD6 | — |
| keyword.other.unit | #B5CEA8 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #569CD6 | — |
| support.function.git-rebase | #9CDCFE | — |
| constant.sha.git-rebase | #B5CEA8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #D4D4D4 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #4EC9B0 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #CE9178 | — |
| meta.object-literal.key | #9CDCFE | — |
| invalid | #ff0000 | — |
| keyword.operator.assignment | #ff8f8f | — |
| constant.numeric, variable.other.enummember | #A4B1CD | — |
| keyword.operator, keyword.operator.bitwise.python | #f4f4f4 | — |
| emphasis | — | italic |
| strong | — | bold |
| string, string.quoted, string.unquoted, string.template | #D2FF77 | — |
| string.quoted.single.python, string.quoted.double.python | #D2FF77 | — |
| punctuation.definition.string, punctuation.definition.string string.quoted.single.python | #84a640 | — |
| string.quoted.docstring.single.python, string.quoted.docstring.multi.python, comment, comment.block | #889eda | — |
| comment | — | italic |
| punctuation.definition.comment, string.quoted.docstring.multi.python punctuation.definition.string.begin.python, string.quoted.docstring.multi.python punctuation.definition.string.end.python | #889EDA7C | — |
| meta.function-call.generic.python | #A4B1CD | — |
| meta.function-call.arguments.python | #4FC1FF | — |
| constant.language, variable.other.constant, variable.other.enummember | #4FC1FF | — |
| entity.name.tag | #ff8f8f | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #A33C3C | — |
| entity.other.attribute-name | #9CDCFE | — |
| punctuation.separator.key-value.html, text.html.derivative punctuation.definition.string | #2a6696 | — |
| text.html.derivative string.quoted.double.html | #569CD6 | — |
| comment.block.html, punctuation.definition.comment.html | #6286A7 | italic |
| text.html.derivative | #ffffff | — |
| entity.name.tag.css, entity.name.tag.less | #ffda96 | — |
| entity.other.attribute-name.class.css, source.css entity.other.attribute-name.class, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.parent.less, source.css entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss | #ffda96 | — |
| variable.language | #569CD6 | — |
| storage.type.class, storage.type.function | #F87F7F | — |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal, punctuation.separator.annotation.result.python, punctuation.separator.parameters.python, punctuation.separator.arguments.python | #ffda96 | — |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy, punctuation.definition, punctuation.separator | #5DEED1 | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.directive.using, keyword.other.operator, entity.name.operator, constant.other.ellipsis.python, keyword.operator.logical.python, punctuation.separator.colon.python | #d79bff | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder, variable.other.constant | #9CDCFE | — |
| variable.parameter | #4FC1FF | — |
| variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #569CD6 | — |
| constant.language.python | #5DEED1 | — |
| entity.name.namespace | #ffffff | — |
| keyword.operator.bitwise.python | #A4B1CD | — |
| variable.other.django, keyword.operator.getter.django, meta.variable.structure.django | #ffda96 | — |
| text.html.derivative string.quoted.double.html meta.tag.structure.django | #ffda96 | |
| text.html.jinja | #ffffff | — |
| text.html.jinja string.quoted.double.html, text.html.jinja punctuation.definition.string | #569CD6 | — |
| text.html.django | #ffffff | — |
| text.html.django storage.type.templatetag.django keyword.operator.django | #d79bff | — |
| text.html.django meta.tag.inline.any.html string.quoted.double.html, text.html.django meta.tag.inline.any.html string.quoted.double.html punctuation.definition.string.begin.html, text.html.django meta.tag.inline.any.html string.quoted.double.html punctuation.definition.string.end.html, text.html.django meta.tag.block.any.html string.quoted.double.html, text.html.django meta.tag.block.any.html string.quoted.double.html punctuation.definition.string.begin.html, text.html.django meta.tag.block.any.html string.quoted.double.html punctuation.definition.string.end.html, text.html.django meta.tag.block.any.html, text.html.django meta.tag.inline.any.html | #569CD6 | — |
| text.html.django storage.type.templatetag.django string.unquoted.tag-string.django, text.html.django storage.type.variable.django string.unquoted.tag-string.django, text.html.django meta.tag.inline.any.html string.quoted.double.html storage.type.templatetag.django string.quoted.single.html punctuation.definition.string.begin.html | #ffda96 | — |
| text.html.django meta.tag.inline.any.html string.quoted.double.html storage.type.templatetag.django string.quoted.single.html punctuation.definition.string.begin.html, text.html.django meta.tag.inline.any.html string.quoted.double.html storage.type.templatetag.django string.quoted.single.html punctuation.definition.string.end.html | #84a640 | — |
| storage.type.templatetag.django, storage.type.variable.django, storage.type.customtemplatetag.django, storage.type.templatetag.django entity.tag.tagbraces.django | #08c19c | — |
| source.js constant.other.object.key.js string.unquoted.label.js | #ff8f8f | italic |
| punctuation.definition.tag.begin.js.jsx, punctuation.definition.tag.end.js.jsx | #A33C3C | — |
| punctuation.definition.tag.begin.js.jsx, punctuation.definition.tag.end.js.jsx | #A33C3C | — |
| punctuation.accessor.js | #5DEED1 | — |
| meta.jsx.children.js.jsx | #ffffff | — |
| keyword.operator.logical.js.jsx | #d79bff | — |
| storage.modifier.async.js, meta.function.js meta.block.js meta.block.js meta.var.expr.js keyword.control.flow.js | #ff8f8f | — |
| punctuation.definition.tag.begin.astro, punctuation.definition.tag.end.astro | #A33C3C | — |
| text.astro, source.astro meta.embedded.expression.astro | #ffffff | — |
| punctuation.separator.key-value.astro, punctuation.definition.string.begin.astro, punctuation.definition.string.end.astro | #2A6696 | — |
| markup.underline.link.markdown, punctuation.definition.metadata.markdown | #2A6696 | — |
| fenced_code.block.language | #2A6696 | — |
| markup.fenced_code.block.markdown | #a7c075 | — |
| markup.inline.raw.string.markdown | #D2FF77 | — |
| punctuation.terminator.statement | #569CD6 | — |
| source.go keyword.operator.assignment | #FFFFFF | — |
| keyword.operator.comparison.go | #A4B1CD | — |
| constant.numeric.decimal.go | #fcb0b0 | — |
| source.go keyword.function, keyword.control.import.go, keyword.package.go, keyword.type.go, keyword.struct.go, keyword.var.go, keyword.map.go | #F87F7F | — |
| keyword.control.go | #D79BFF | — |
| keyword.operator.address.go | #D79BFF | — |
| entity.name.type.package.go | #FFFFFF | |
| variable.other.property.go | #4FC1FF | — |
| entity.name.import.go | #D2FF77 | italic |
| constant.language.boolean.go | #FFFFFF | — |
| punctuation.definition.begin.bracket.curly.go, punctuation.definition.end.bracket.curly.go, punctuation.definition.begin.bracket.round.go, punctuation.definition.end.bracket.round.go | #5DEED1 | — |
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}!`;
}