Enki
Publisher: enkiaThemes in package: 5
A dark color scheme with purple, blue, and red (or green) tints for Visual Studio Code.
A dark color scheme with purple, blue, and red (or green) tints for Visual Studio Code.
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 |
|---|---|---|
| — | #AFBAD4ff | — |
| comment, punctuation.definition.comment, comment.block.documentation, comment.block.documentation variable.other, comment.block.documentation storage.type, comment.block.documentation punctuation.definition.block, keyword.other.phpdoc.php | #51546a | italic |
| entity.name.class, entity.name.type.class, variable.other.global punctuation.definition.variable | #EB606B | — |
| variable, variable.other.readwrite, variable.other.object, meta.property.object.js variable.other.object.js, variable.less, variable.other.normal, punctuation.definition.variable, variable.other.bracket.shell, embedding.php, variable.other.php, meta.property.object, source.python, source.ruby, keyword.other.name.sublime-settings, constant.other.php, meta.object-literal.key, variable.other.dollar, support.variable.property.js | #1ABC9C | regular |
| entity.name.class, meta.array.literal variable.other.readwrite, entity.name.type.class, support.type, support.class, entity.name.type.namespace, variable.other.global, variable.other.global punctuation.definition.variable, variable.other.class.js, variable.other.constant.object | #078c7c | — |
| entity.name.tag support.class.component | #C33C4A | — |
| variable.other.object.property, entity.name.type.module | #1ABC9C | — |
| variable.scss, variable.less, variable.other.less, variable.other.scss | #65dbbd | regular |
| support.other.variable, string.other.link | #6189bb | — |
| support.type.object.dom.js | #EB606B | italic |
| string.unquoted.label.js | #1ABC9C | regular |
| constant.other.object.key.js | #EB606B | regular |
| keyword, storage.modifier | #ca9b55 | — |
| keyword.other.new | — | italic |
| keyword.control.import.include | — | italic |
| keyword.control.if, keyword.control.endif, keyword.control.else, keyword.control.foreach, keyword.control.endforeach, keyword.control.while, keyword.control.endwhile, keyword.control.switch, keyword.control.endswitch, keyword.control.conditional, keyword.control.flow, keyword.control.loop, keyword.control.trycatch, entity.name.label, keyword.control.at-rule | #ca9b55 | normal |
| storage.type | #F99157 | — |
| storage.type.function | #F99157 | normal |
| variable.language, variable.language punctuation.definition.variable | #EB606B | italic |
| keyword.operator | #50B4DC | — |
| keyword.operator.logical, keyword.control.flow.return | #FAC863 | — |
| punctuation.terminator.statement, punctuation.terminator.rule | #767D8E | — |
| punctuation.separator.key-value, meta.tag.preprocessor | #AFBAD4 | — |
| punctuation.definition.group, punctuation.definition.group.begin, punctuation.definition.group.end, punctuation.section.function, punctuation.definition.parameters, meta.brace.round.begin, meta.brace.round.end, meta.brace.round, punctuation.section.group, punctuation.section.arguments.begin, punctuation.section.arguments.end, meta.group.braces.round.function, punctuation.section.array.begin.php, punctuation.section.array.end.php | #AFBAD4 | — |
| punctuation.definition.parameters.begin, punctuation.definition.parameters.end | #F99157 | — |
| punctuation.definition.dictionary.begin, punctuation.definition.dictionary.end, punctuation.definition.dictionary, punctuation.definition.class.body.begin, punctuation.definition.class.body.end, punctuation.definition.class.body, meta.brace.curly.begin, meta.brace.curly.end, meta.brace.curly, punctuation.definition.block, punctuation.section.scope, source.json | #AFBAD4 | — |
| punctuation.section.embedded.begin, punctuation.section.embedded.end | #6189bb | — |
| punctuation.definition.array.begin, punctuation.definition.array.end, punctuation.definition.array, meta.group.braces.square, meta.brace.square.begin, meta.brace.square.end, meta.brace.square, punctuation.section.array.begin, punctuation.section.array.end, punctuation.section.array, punctuation.definition.brackets, punctuation.section.brackets.begin, punctuation.section.brackets.end | #AFBAD4 | — |
| punctuation.definition.array.begin.json, punctuation.definition.array.end.json | #AFBAD4 | — |
| meta.function-call, meta.function-call entity.name.function, variable.function, support.function, keyword.other.special-method, meta.block-level, meta.group.braces.round.function.arguments | #65dbbd | normal |
| meta.method-call entity.name.function, meta.method-call.php, meta.method-call.php entity.name.function.php | #EB606B | normal |
| support.variable.dom.js | #EB606B | italic |
| support.variable.property.dom | #6189bb | normal |
| meta.class-method, variable.function.constructor, punctuation.definition.arguments.shell, entity.name.function.shell | #EB606B | — |
| entity.name.function, support.function.magic | #FF435B | — |
| punctuation.definition.parameters.begin.bracket.round.php, punctuation.definition.parameters.end.bracket.round.php | #FF435B | — |
| meta.function.parameters variable.other.php, meta.function.parameters punctuation.definition.variable | #EB606B | — |
| constant.numeric, constant.language, support.constant, constant.character, variable.parameter, variable.parameter.php punctuation.definition.variable.php | #ca9b55 | — |
| constant.numeric.json | #83AADA | — |
| variable.parameter.function | #faa16f | italic |
| string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.inserted.git_gutter, meta.group.braces.curly | #6189bb | normal |
| string.quoted.double.json | #6189bb | — |
| support.other.namespace.use.php, meta.use.php, support.other.namespace.php | #6189bb | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #EB606B | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter, entity.name.tag.inline.any.html | #EB606B | — |
| entity.other.attribute-name.html, meta.tag.attributes entity.other.attribute-name | #078c7c | — |
| entity.other.attribute-name.id.html | #F99157 | — |
| entity.other.attribute-name.class.html | #1ABC9C | — |
| meta.tag.sgml.html, punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end | #D24D57 | — |
| entity.name.tag.inline.form, entity.name.tag.block.form | #EB8060 | — |
| text.html, text.plain, source.env, meta.tag meta.jsx.children | #AFBAD4 | — |
| text.html.markdown meta.dummy.line-break | #202127 | — |
| markup.heading | #F99157 | bold |
| markup.italic | #89B3E7 | italic |
| markup.bold | #89B3E7 | bold |
| string.other.link.title, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #1ABC9C | — |
| markup.underline.link | #0f8976 | underline |
| markup.quote | #89B3E7 | italic |
| markup.raw.inline, punctuation.definition.raw | #EB8060 | italic |
| markup.list | #879FD1 | — |
| markup.raw.block.markdown | #EB8060 | — |
| meta.separator | #2c2d35 | bold |
| support.function.misc.scss, support.function.misc.css, support.function.misc.less, support.function.less, support.function.url.css, source.css meta.property-list.css, support.function.shape.css, support.function.shape.scss, support.function.shape.less, support.function.color.css, support.function.transform.css | #F99157 | — |
| meta.at-rule.include entity.name.function | #ca9b55 | — |
| meta.set.variable, meta.set.variable support.constant.property-value.scss | #6189bb | — |
| meta.attribute-selector keyword.operator.scss, keyword.operator.css, meta.selector meta.attribute-selector keyword.operator.pattern, meta.attribute-selector keyword.operator.pattern, meta.attribute-selector keyword.operator.less | #C33C4A | — |
| meta.property-value keyword.operator.scss, meta.property-value keyword.operator.css, meta.property-value meta.attribute-selector keyword.operator.less | #F99157 | — |
| meta.at-rule.include punctuation.definition.parameters.begin.bracket.round, meta.at-rule.include punctuation.definition.parameters.end.bracket.round | #ca9b55 | — |
| keyword.operator.logic.media.css | #F99157 | italic |
| constant.numeric.css, constant.numeric.scss, constant.numeric.less, support.constant.property-value.css, support.constant.property-value.scss, support.constant.property-value.less | #F99157 | — |
| meta.at-rule.include.scss support.function.misc.scss, support.constant.media.css, support.type.property-name.media.css | #FAC863 | — |
| meta.at-rule.media | #ca9b55 | — |
| entity.other.attribute-name | #FF435B | — |
| entity.name.tag.reference, punctuation.definition.entity, punctuationctuation.definition.entity, meta.attribute-selector, keyword.operator.less, keyword.operator.attribute-selector | #ea5560 | — |
| meta.property-list.scss, meta.at-rule.mixin.scss, punctuation.section.property-list, punctuation.separator.parameters.scss | #AFBAD4 | — |
| variable.parameter.url | #F99157 | normal |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.pseudo-class, entity.other.pseudo-element, meta.selector.css meta.function-call.css meta.group.css punctuation.definition.group.begin.css, meta.selector.css meta.function-call.css meta.group.css punctuation.definition.group.end.css, entity.other.pseudo-element.css support.type.vendor-prefix.css, meta.property-list meta.attribute-selector string.quoted, meta.property-list punctuation.definition.pseudo-class.begin.bracket.round, meta.property-list punctuation.definition.pseudo-class.end.bracket.round | #C33C4A | — |
| punctuation.definition.string.begin.scss, punctuation.definition.string.end.scss, punctuation.definition.string.begin.css, punctuation.definition.string.end.css, punctuation.definition.string.begin.less, punctuation.definition.string.end.less, meta.function-call.css meta.group.css | #E16325 | — |
| meta.property-list meta.property-value string.quoted.single.scss, meta.property-list meta.property-value string.quoted.double.scss, meta.property-list meta.property-value string.quoted.single.less, meta.property-list meta.property-value string.quoted.double.less, meta.property-list.css meta.property-value.css meta.function.url.css string.quoted.single.css | #F99157 | — |
| punctuation.definition.entity, punctuationctuation.definition.entity, meta.attribute-selector, keyword.operator.less, keyword.operator.attribute-selector, meta.attribute-selector.scss entity.other.attribute-name.attribute.scss, meta.attribute-selector.less entity.other.attribute-name.attribute.less, meta.selector.css meta.attribute-selector.css string.quoted.single.css | #c33c4a | — |
| meta.property-list.scss meta.property-value.scss, meta.property-list.scss meta.property-list.scss meta.property-value.scss, source.scss meta.property-list.scss meta.property-list.scss meta.property-value.scss support.function.misc.scss | #F99157 | — |
| constant.other.color.rgb-value | #767D8E | — |
| entity.name.tag.css, entity.name.tag.scss, keyword.control.html.elements | #EB606B | — |
| punctuation.separator.key-value | #50B4DC | — |
| keyword.other.unit, constant.other.unit | #E16325 | — |
| keyword.other.important.scss, keyword.other.important.css | #50B4DC | — |
| support.type.property-name, meta.property-name, support.type.vendor-prefix | #6189bb | — |
| meta.property-list.scss meta.property-list.scss meta.property-value.scss variable.parameter.url.scss | #159b81 | — |
| meta.property-list.scss meta.property-list.scss meta.at-rule.return.scss variable.parameter.url.scss, source.scss meta.property-list.scss meta.property-value.scss variable.parameter.url.scss | #1ABC9C | — |
| entity.name.method.js | #6699cc | — |
| support.constant.handlebars | #FAC863 | — |
| variable.parameter.handlebars | #F99157 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #FAC863 | — |
| punctuation.definition.variable.smarty, punctuation.section.embedded.begin.smarty, punctuation.section.embedded.end.smarty, meta.tag.template.value.twig, punctuation.section.tag.twig, meta.tag.expression.twig, punctuation.definition.tag.expression.twig, punctuation.definition.tag.output.twig | #FAC863 | — |
| source.smarty, variable.other.twig, variable.other.smarty, meta.tag.expression.twig, entity.name.tag.twig, meta.tag.output.twig | #ca9b55 | — |
| variable.other.property.twig, support.function.twig, meta.function-call.twig, keyword.control.twig, keyword.operator.other.twig, keyword.operator.comparison.twig, support.function.functions.twig, support.function.functions.twig, keyword.operator.assignment.twig, support.function.filters.twig, support.function.built-in.smarty, keyword.operator.smarty | #ca9b55 | — |
| string.quoted.single.twig, string.quoted.double.twig, string.quoted.single.smarty, string.quoted.double.smarty | #DBC08A | — |
| punctuation.definition.array.begin.php, punctuation.definition.array.end.php | #AFBAD4 | — |
| sublimelinter.mark.warning | #DDB700 | — |
| sublimelinter.mark.error | #D93232 | — |
| sublimelinter.gutter-mark | #FFFFFF | — |
| brackethighlighter.default | #6189bb | — |
| brackethighlighter.unmatched | #D93232 | — |
| brackethighlighter.curly, brackethighlighter.square, brackethighlighter.round, brackethighlighter.quote, brackethighlighter.tag, brackethighlighter.c_define, brackethighlighter.angle | #ffa300 | — |
| markup.changed, markup.changed.git_gutter | #6189bb | — |
| markup.deleted, markup.deleted.git_gutter | #D93232 | — |
| markup.inserted, markup.inserted.git_gutter | #1ABC9C | — |
| markup.ignored, markup.ignored.git_gutter | #3F414D | — |
| markup.untracked, markup.untracked.git_gutter | #666666 | — |
| source.apacheconf, string.path.apacheconf | #6189bb | — |
| string.value.apacheconf | #F99157 | — |
| keyword.access.apacheconf | #1ABC9C | — |
| source.apacheconf string.replacement.apacheconf | #83AADA | — |
| entity.tag.apacheconf | #EB606B | — |
| storage.type.context.nginx | #FF435B | — |
| source.nginx punctuation.definition.variable, entity.name.context.location.nginx | #83AADA | — |
| storage.type.context.location.nginx | #EB606B | — |
| string.ipaddress.nginx | #F99157 | — |
| variable.other.nginx | #1ABC9C | — |
| source.apacheconf, string.path.apacheconf | #6189bb | — |
| string.value.apacheconf | #F99157 | — |
| keyword.access.apacheconf | #1ABC9C | — |
| source.apacheconf string.replacement.apacheconf | #83AADA | — |
| entity.tag.apacheconf | #EB606B | — |
| storage.type.context.nginx | #FF435B | — |
| punctuation.definition.variable.nginx, entity.name.context.location.nginx | #83AADA | — |
| storage.type.context.location.nginx | #EB606B | — |
| string.ipaddress.nginx | #F99157 | — |
| variable.other.nginx | #1ABC9C | — |
| variable.other.bracket.shell, variable.other.normal.shell, punctuation.definition.variable.shell | #1ABC9C | regular |
| support.function.builtin, support.function.external.shell | #ca9b55 | — |
| meta.structure.array.shell, punctuation.definition.array.begin.shell, punctuation.definition.array.end.shell, meta.scope.subshell.shell, punctuation.definition.subshell.shell | #6189bb | — |
| string.regexp | #1ABC9C | — |
| constant.character.escape | #6189bb | italic |
| *url*, *link*, *uri* | #83AADA | underline |
| constant.numeric.line-number.find-in-files - match | #455682 | — |
| entity.name.filename.find-in-files | #6189bb | — |
| source.yaml string.unquoted.plain.out.yaml | #AFBAD4 | — |
| invalid, invalid.illegal, invalid.broken | #ffffff | — |
| invalid.deprecated | #ffffff | — |
| string.quoted.double.html invalid.illegal.bad-ampersand.html, string.quoted.single.html invalid.illegal.bad-ampersand.html | #6189bb | — |
| invalid.unimplemented | #ffffff | — |
| meta.structure.dictionary.json support.type.property-name.json | #FF435B | — |
| meta meta.structure.dictionary.value.json support.type.property-name.json | #1ABC9C | — |
| meta meta meta meta meta meta meta support.type.property-name.json | #F99157 | — |
| meta meta meta meta meta meta meta meta meta support.type.property-name.json | #078c7c | — |
| meta meta meta meta meta meta meta meta meta meta meta meta support.type.property-name.json | #50B4DC | — |
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}!`;
}