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 |
|---|---|---|
| comment, comment.line, comment.block | #98B1F5 | italic |
| carriage-return | #FAFBFE | italic underline |
| message.error | #AD1C48 | — |
| punctuation.definition.string, string punctuation.section.embedded source, constant.character.format.placeholder.other.python | #1CB978 | — |
| punctuation.definition.string.begin.python, punctuation.definition.string.end.python | #1CB978 | — |
| string source | #1F2939 | — |
| string variable | #000000 | — |
| constant, variable, entity.name.constant, variable.other.constant, variable.language, entity.name.function | #000000 | — |
| entity.name.type.class | #264DCB | — |
| variable | #000000 | — |
| variable.other | #000000 | — |
| variable.parameter.function | #0034E0 | — |
| variable.parameter.function-call.python | #0034E0 | — |
| entity, entity.name | #6F4CDE | — |
| 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, storage.type.mermaid, punctuation.definition, punctuation.separator | #008CFF | — |
| entity.name.tag | #F33C3C | — |
| keyword, storage, storage.type, annotation | #F33C3C | — |
| support, meta.property-name, support.constant, support.variable, meta.module-reference | #264DCB | — |
| token.info-token | #316BCD | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #CD3131 | — |
| token.debug-token | #800080 | — |
| source.regexp, string.regexp | #1ACD82 | — |
| string.regexp.character-class, string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition | #1CB978 | — |
| string.regexp constant.character.escape | #1CB978 | bold |
| markup.heading, markup.heading entity.name | #264DCB | bold |
| markup.quote | #1CB978 | — |
| markup.italic | #1F2939 | italic |
| markup.bold | #A426CB | bold |
| markup.raw | #158D5B | — |
| constant.other.reference.link, string.other.link | #1CB978 | underline |
| punctuation.definition.list.begin.markdown | #D07826 | — |
| heading.1.markdown punctuation.definition.heading.markdown, heading.1.markdown entity.name.section.markdown | #000000 | — |
| heading.2.markdown punctuation.definition.heading.markdown, heading.2.markdown entity.name.section.markdown | #F33C3C | — |
| heading.3.markdown punctuation.definition.heading.markdown, heading.3.markdown entity.name.section.markdown | #E0943E | — |
| heading.4.markdown punctuation.definition.heading.markdown, heading.4.markdown entity.name.section.markdown | #264DCB | — |
| markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted | #AD1C48 | — |
| markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted | #1CB978 | — |
| markup.changed, punctuation.definition.changed | #D07826 | — |
| markup.ignored, markup.untracked | #F4F7FD | — |
| meta.diff.range | #6F4CDE | bold |
| meta.diff.header | #264DCB | — |
| meta.separator | #264DCB | bold |
| meta.output | #264DCB | — |
| brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote | #5D6A7D | — |
| brackethighlighter.unmatched | #AD1C48 | — |
| storage.modifier.package, storage.modifier.import, storage.type.java | #1F2939 | — |
| support.variable.js | #1F2939 | — |
| punctuation.definition.comment, string.quoted.docstring.multi.python punctuation.definition.string.begin.python, string.quoted.docstring.multi.python punctuation.definition.string.end.python | #C8D3F3 | — |
| string.quoted.docstring.multi.python | #98B1F5 | |
| entity.name.namespace | #27391F | bold |
| keyword.operator | #F33C3C | — |
| keyword.operator.logical.python, keyword.control.flow.python, punctuation.separator.colon.python, keyword.control.import.python | #A426CB | — |
| entity.name.function.member | #E0943E | — |
| punctuation.separator.slice.python, punctuation.separator.annotation.result.python, punctuation.separator.annotation.python, punctuation.definition.decorator.python, meta.fstring.python constant.character.format.placeholder.other.python | #E99648 | — |
| punctuation.definition.parameters.begin.python, punctuation.definition.parameters.end.python, punctuation.separator.arguments.python, punctuation.separator.dict.python, punctuation.separator.element.python, punctuation.separator.parameters.python, punctuation.separator.period.python, support.function.magic.python | #0B4C7A | — |
| punctuation.section.function.begin.python | #F33C3C | — |
| keyword.operator.comparison.python, keyword.operator.bitwise.python, keyword.operator.arithmetic.python | #4B7C86 | — |
| string, string.quoted.single.python | #158D5B | — |
| entity.name.function.decorator.python, meta.function.decorator.python | #405CB9 | |
| storage.type.string.python, source.python constant.character.escape | #7697B1 | — |
| variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | — | — |
| text.html.derivative, text.html.django | #000000 | — |
| entity.other.attribute-name.html | #D07826 | — |
| string.quoted.double.html, punctuation.separator.key-value.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #569CD6 | — |
| entity.name.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #F33C3C | — |
| string.quoted.single.django, string.quoted.double.django | #FF9292 | — |
| string.quoted.double.begin.django, string.quoted.double.end.django | #569CD6 | — |
| variable.other.django, support.function.django, meta.variable.structure.django, keyword.operator.getter.django | #1CB978 | — |
| text.html.django meta.tag.block.any.html entity.other.attribute-name.html, text.html.django meta.tag.inline.any.html entity.other.attribute-name.html, text.html.django meta.tag.block.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.begin.html, text.html.django meta.tag.block.any.html string.quoted.double.html punctuation.definition.string.end.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, text.html.django meta.tag.inline.any.html | #1CB978 | — |
| keyword.control.django, keyword.control.tag-name.django, storage.type.templatetag.django entity.tag.tagbraces.django, storage.type.variable.django entity.tag.tagbraces.django, text.html.django meta.tag.inline.any.html string.quoted.double.html storage.type.variable.django entity.tag.tagbraces.django, support.type.tag.begin.django, support.type.tag.end.django, string.quoted.single.begin.django, string.quoted.single.end.django, meta.tag.structure.django, text.html.django storage.type.variable.django entity.tag.tagbraces.django, text.html.django storage.type.templatetag.django entity.tag.tagbraces.django, text.html.django storage.type.templatetag.django, support.type.variable.begin.django, support.type.variable.end.django | #6F4CDE | — |
| source.css | #6F4CDE | — |
| punctuation.definition.string.begin.html source.css, punctuation.definition.string.end.html source.css | #569CD6 | — |
| variable.mermaid | #000000 | — |
| keyword.control.transition.mermaid, delimiter.bracket.mermaid | #264DCB | — |
| variable.mermaid | #000000 | — |
| keyword.control.transition.mermaid, delimiter.bracket.mermaid | #264DCB | — |
| heading.1.markdown, heading.1.markdown punctuation.definition.heading.markdown | #000000 | — |
| 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 | — |
| punctuation.definition.tag | #FCADA1 | — |
| entity.name.tag.js.jsx | #FF7765 | — |
| ref.matchtext | #000000 | — |
| ref.matchtext | #000000 | — |
| storage.type.function.python, storage.type.function.async.python, storage.type.class.python | #FF0303 | — |
| entity.name.function.member | #000000 | italic |
| meta.function-call.arguments.python variable.parameter.function-call.python | #202020 | italic |
| entity.name.type.class | #0064A7 | — |
| constant.language.python | #099CFF | — |
| comment.line | #c0cdf1 | italic |
| string | #1c9965 | — |
| entity.name.type.package.go | #000000 | bold |
| entity.name.function.support.go, entity.name.function.support.builtin.go | #4795c3 | — |
| constant.numeric.decimal.go, constant.language.boolean.go | #1834a7 | — |
| storage.type.numeric.go, storage.type.string.go, storage.type.boolean.go, storage.type.error.go, storage.type.byte.go, storage.type.rune.go, storage.type.uintptr.go, storage.type.struct.go, storage.type.interface.go, storage.type.map.go, storage.type.chan.go, storage.type.var.go, storage.type.func.go, storage.type.type.go, storage.type.const.go | #0064A7 | — |
| entity.name.type.go | #008CFF | — |
| keyword.control.go | #F33C3C | — |
| keyword.operator.arithmetic.go, keyword.operator.comparison.go, keyword.operator.increment.go | #A426CB | — |
| keyword.operator.address.go | #0adacc | — |
| punctuation.definition.begin.bracket.curly.go, punctuation.definition.end.bracket.curly.go, punctuation.other.comma.go, punctuation.other.period.go, punctuation.definition.begin.bracket.round.go, punctuation.definition.end.bracket.round.go | #917960 | — |
| entity.name.import.go | #158D5B | — |
| constant.character.escape.go | #c9ce8d | — |
| constant.other.placeholder.go | #9b7eb1 | — |
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}!`;
}