Enki Theme
Publisher: Dorell James GalangThemes in package: 6
Enki Theme - A dark theme for Sublime Text ported to Visual Studio Code
Enki Theme - A dark theme for Sublime Text ported to Visual Studio Code
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #AFBAD4ff | — |
| comment, punctuation.definition.comment, keyword.other.phpdoc.php | #4f4f5e | italic |
| variable.other.object, variable, entity.name.class, entity.name.type.class, support.type, support.class, variable.other.global punctuation.definition.variable | #EB606B | — |
| variable.other.readwrite, 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 | #B376B3 | regular |
| variable.scss, variable.less, variable.other.less, variable.other.scss | #B376B3 | regular |
| support.other.variable, string.other.link | #F2777A | — |
| support.type.object.dom.js | #EB606B | italic |
| string.unquoted.label.js | #B376B3 | regular |
| constant.other.object.key.js | #EB606B | regular |
| keyword, storage.modifier | #ca9b55 | — |
| keyword.other.new | — | italic |
| keyword.control.import.include | — | italic |
| keyword.control.conditional, keyword.control.flow, keyword.control.loop, keyword.control.trycatch, entity.name.label, keyword.control.at-rule | — | normal |
| storage.type | #6D3B66 | bold |
| storage.type.function | #F99157 | italic |
| variable.language, variable.language punctuation.definition.variable | #EB606B | italic |
| keyword.operator | #50B4DC | — |
| keyword.operator.logical, keyword.control.flow.return | #ca9b55 | — |
| 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 | #AFBAD4 | — |
| 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.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, variable.function, support.function, keyword.other.special-method, meta.block-level, meta.group.braces.round.function.arguments | #c28ec2 | normal |
| meta.class-method, variable.function.constructor, punctuation.definition.arguments.shell, entity.name.function.shell | #EB606B | — |
| entity.name.function | #FF435B | — |
| constant.numeric, constant.language, support.constant, constant.character, variable.parameter, variable.parameter.php punctuation.definition.variable.php | #AFBAD4 | — |
| constant.character | #F99157 | — |
| 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 | #B376B3 | — |
| entity.other.attribute-name.id.html | #F99157 | — |
| entity.other.attribute-name.class.html | #B376B3 | bold |
| 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 | #AFBAD4 | — |
| text.html.markdown meta.dummy.line-break | #202127 | — |
| markup.heading | #EB606B | 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 | #B376B3 | — |
| markup.underline.link | #6D3B66 | 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.set.variable, meta.set.variable support.constant.property-value.scss | #6189bb | — |
| 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, variable.parameter.url.scss, punctuation.section.property-list, punctuation.separator.parameters.scss | #AFBAD4 | — |
| entity.other.attribute-name.pseudo-class, 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 | #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 | — |
| string.quoted.double.attribute-value.scss, string.quoted.double.attribute-value.css, string.quoted.double.attribute-value.less, string.quoted.single.scss, string.quoted.single.css, string.quoted.single.less, source.css meta.property-list.css, string.quoted.double.scss, string.quoted.double.css, string.quoted.double.less, string.unquoted.css, string.unquoted.scss, string.unquoted.less | #F99157 | — |
| 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 | #8d4d85 | — |
| 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 | #B376B3 | — |
| entity.name.method.js | #6699cc | — |
| support.constant.handlebars | #FAC863 | — |
| variable.parameter.handlebars | #ca9b55 | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #B376B3 | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #ca9b55 | — |
| source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #EB606B | — |
| source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #B376B3 | — |
| source.json meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #F99157 | — |
| source.json meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #EB606B | — |
| source.json meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #F99157 | — |
| source.json meta meta.structure.dictionary.json string.quoted.double.json - meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta.structure.dictionary.json punctuation.definition.string - meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #B376B3 | — |
| source.json meta.structure.dictionary.json string.quoted.double.json - meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta.structure.dictionary.json punctuation.definition.string - meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #FF435B | — |
| 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 | #F99157 | — |
| 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 | — |
| punctuation.definition.variable.nginx, entity.name.context.location.nginx | #83AADA | — |
| storage.type.context.location.nginx | #EB606B | — |
| string.ipaddress.nginx | #F99157 | — |
| variable.other.nginx | #B376B3 | — |
| variable.other.bracket.shell, variable.other.normal.shell, punctuation.definition.variable.shell | #B376B3 | 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 | #9A5490 | — |
| 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 | — |
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}!`;
}