Theme +
Publisher: Cecil JacobThemes in package: 2
This is a code editor theme with extensive syntax highlight and workbench color customization implemented.
This is a code editor theme with extensive syntax highlight and workbench color customization implemented.
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 |
|---|---|---|
| variable | #b2a8b4 | — |
| keyword | #c28e60 | — |
| string | #d2d8d8c0 | — |
| storage, storage.modifier | #c28e60 | italic |
| storage.type | #00b4d6 | — |
| meta.var.expr | #c28e60 | — |
| meta.brace.round | #c28e60 | — |
| object | #98d4dc | — |
| punctuation.separator.comma | #f4e286 | — |
| punctuation.accessor | #00b4d6 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #c28e60a0 | — |
| punctuation.terminator.statement | #f4e286 | — |
| constant.other.color | #f4e286 | — |
| invalid, invalid.deprecated, invalid.unimplemented | #ba4d06 | underline |
| invalid.broken, invalid.illegal | #ba4d06 | bold underline |
| keyword.control, keyword.other.template, keyword.other.substitution | #00b4d6 | italic |
| keyword.other, keyword.other.unit | #98d4dc | — |
| keyword.operator.comparison | #00b4d6 | — |
| keyword.operator.assignment | #00b4d6 | — |
| keyword.operator.arithmetic | #00b4d6 | — |
| keyword.control.flow, keyword.control.loop | #c28e60 | italic |
| keyword.control.import, keyword.control.from | #00b4d6c0 | italic |
| keyword.other.special-method | #b2a8b4 | — |
| punctuation | #00b4d6 | — |
| punctuation.definition.block, punctuation.definition.tag, punctuation.definition.parameters | #f4e286 | — |
| punctuation.section.embedded | #f4e286 | — |
| meta.array, punctuation.definition.array, punctuation.section.array, punctuation.terminator.expression | #ecd2b4 | — |
| punctuation.definition.list, punctuation.definition.list.begin, punctuation.definition.list.end | #c28e60 | — |
| punctuation.definition.arguments | #c28e60 | — |
| punctuation.separator.arguments | #00b4d6 | — |
| punctuation.parenthesis.begin, punctuation.parenthesis.end | #c28e60 | — |
| comment, punctuation.definition.comment | #fefefe40 | italic |
| entity.name.class, meta.class entity.name.type.class | #f4e286 | — |
| entity.name.type | #d2d8d8 | — |
| entity.name.function | #f4e286 | — |
| variable.function | #f4e286 | — |
| meta.function-call, meta.function-call.generic | #f4e286 | — |
| meta.function-call.arguments | #80a28e | — |
| support.function | #c28e60 | italic |
| entity.name.tag | #98d4dc | — |
| meta.tag, meta.tag.sgml | #00b4d6 | — |
| meta.object-literal.key | #b2a8b4 | — |
| meta.block variable.other | #80a28e | — |
| support.other.variable | #80a28e | — |
| string.other.link | #80a28e | — |
| string.quoted | #d2d8d8c0 | — |
| string.quoted.single | #b2a8b4 | — |
| string constant.other.placeholder | #d2d8d8 | — |
| constant.numeric, constant.character.numeric | #ecd2b4 | — |
| constant.language, constant.character, constant.other, constant.escape | #ecd2b4 | — |
| support.constant, variable.other.constant, punctuation.definition.constant | #ecd2b4 | — |
| variable.parameter | #98d4dc | — |
| constant.other.symbol, constant.other.key | #ecd2b4 | — |
| entity.other.inherited-class | #ecd2b4 | — |
| support.class, support.type, support.type.sys-types | #f4e286 | — |
| variable.language | #d2d8d8 | italic |
| entity.other.attribute-name | #c28e60 | — |
| markup.inserted, markup.inserted.git_gutter | #ecd2b4 | — |
| markup.changed, markup.changed.git_gutter | #c28e60 | italic |
| markup.deleted, markup.deleted.git_gutter | #df5b02a0 | italic |
| meta.diff.header.git, meta.diff.header.from-file, meta.diff.header.to-file | #c28e60 | — |
| markup.deleted.diff | #df5b02a0 | italic |
| string.regexp, string.regexp keyword.other | #98d4dc | — |
| constant.character.escape | #00b4d6 | — |
| *url*, *link*, *uri* | — | underline |
| markup.heading, markup.heading entity.name | #f4e286a0 | — |
| markup.bold, markup.bold string | #80a28e | bold |
| markup.italic, markup.italic string | #80a28ec0 | italic |
| 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 | #80a28e | italic bold |
| markup.underline | #b2d8d8 | underline |
| markup.quote | #b2a8b4 | — |
| markup.raw.block | #c28e60 | — |
| markup.table | #d4d8de | — |
| source.css support.type.property-name, source.scss support.type.property-name, source.sass support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #98d4dc | — |
| entity.name.tag.wildcard.css, entity.name.tag.wildcard.scss, entity.name.tag.wildcard.sass, entity.name.tag.wildcard.less | #c28e60 | — |
| text.html.derivative entity.name.tag.html | #98d4dc | — |
| entity.other.attribute-name.html string.quoted.double.html, entity.other.attribute-name.html string.quoted.single.html | #b2a8b4 | — |
| meta.tag.metadata.meta.void.html string.quoted.double.html, meta.tag.metadata.meta.void.html string.quoted.single.html | #b2a8b4 | — |
| meta.tag.structure.html.start.html entity.name.tag.html, meta.tag.structure.html.end.html entity.name.tag.html | #00b4d6 | — |
| meta.tag.structure.head.start.html entity.name.tag.html, meta.tag.structure.head.end.html entity.name.tag.html | #00b4d6 | — |
| meta.tag.structure.body.start.html entity.name.tag.html, meta.tag.structure.body.end.html entity.name.tag.html | #00b4d6 | — |
| meta.attribute.href.html string.quoted.double.html, meta.attribute.href.html string.quoted.single.html | #b2a8b4 | — |
| meta.attribute.id.html string.quoted.double.html, meta.attribute.class.html string.quoted.double.html, meta.attribute.id.html string.quoted.single.html, meta.attribute.class.html string.quoted.single.html | #f4e286c0 | — |
| meta.tag.metadata.script.start.html entity.name.tag.html, meta.tag.metadata.script.end.html entity.name.tag.html | #c28e60 | italic |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.inline.span.start.html | #f4e286c0 | — |
| meta.attribute.d.html, meta.element.object.svg.path.html, meta.element.structure.svg.html | #d2d8d8c0 | — |
| entity.other.attribute-name.class | #f4e286 | — |
| entity.other.attribute-name.id.css | #f4e286 | — |
| entity.name.tag.css, entity.name.tag.reference | #f4e286 | — |
| support.type.property-name.css | #98d4dc | — |
| constant.numeric.css | #ecd2b4 | — |
| variable.css | #00b4d6 | — |
| keyword.other.important.css | #b2a8b4 | — |
| support.type.vendored.property-name.css | #98d4dc | — |
| source.css.scss keyword.control | #c28e60 | italic |
| variable.scss | #c28e60c0 | — |
| variable.parameter.url.scss | #b2a8b4 | — |
| support.type.property-name.css, meta.property-name.scss, meta.property-list.scss | #98d4dce0 | — |
| meta.import variable.other.readwrite.alias, meta.import string.quoted.double, meta.import string.quoted.single | #ecd2b4c0 | — |
| meta.class entity.name.type.js, meta.class entity.name.type.class.js | #ecd2b4 | — |
| keyword.operator.new.js | #c28e60 | italic |
| entity.other.attribute-name.js, entity.name.method.js | #c28e60 | italic |
| entity.name.function.js | #00b4d6 | — |
| meta.class.js variable.other.readwrite.js, variable.function.constructor | #f4e286 | — |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #b2a8b4 | italic |
| meta.method.declaration storage.type.js, meta.class meta.method.declaration meta.var.expr storage.type.js | #c28e60 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #98d4dc | — |
| source.js constant.other.object.key.js string.unquoted.label.js | #98d4dc | italic |
| storage.type.property.js, storage.type.property.ts, storage.type.property.tsx | #c28e60 | italic |
| storage.type.function.arrow.js | — | bold |
| source.cs keyword.other.using.cs | #00b4d6c0 | italic |
| entity.name.type.namespace | #ecd2b4 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #d4d8de | — |
| markdown.heading, markup.heading.markdown punctuation.definition.heading.markdown | #c28e60 | — |
| markup.heading.markdown heading.1.markdown entity.name.section.markdown | #c28e60ff | — |
| markup.heading.markdown heading.2.markdown entity.name.section.markdown | #c28e60c0 | — |
| markup.heading.markdown heading.3.markdown entity.name.section.markdown | #f4e286c0 | — |
| markup.heading.markdown heading.4.markdown entity.name.section.markdown | #f4e286c0 | — |
| text.html.markdown markup.inline.raw.markdown | #c28e60 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #98d4dc | — |
| string.other.link.description.markdown | #b2a8b4 | — |
| string.other.link.title.markdown | #ecd2b4 | — |
| constant.other.reference.link.markdown | #f4e286 | — |
| variable.language.fenced.markdown | #b2a8b4 | — |
| markup.raw.block.fenced.markdown, punctuation.section.class.end | #d4d8de | — |
| meta.separator | #d2d8d8 | bold |
| source.json support.type.property-name.json | #c28e60 | — |
| source.json meta.structure.dictionary.value.json support.type.property-name.json | #f4e286 | — |
| source.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json support.type.property-name.json | #80a28e | — |
| source.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json meta.structure.dictionary.value.json support.type.property-name.json | #b2d8d8 | — |
| support.constant.json | #b2a8b4 | — |
| meta.structure.dictionary.value.json string.quoted.double | #d2d8d8 | — |
| string.quoted.double.json punctuation.definition.string.json | #b2d8d8 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value constant.language | #ecd2b4 | — |
| keyword.control.ruby, keyword.control.module.ruby, keyword.control.class.ruby, keyword.control.def.ruby | #c28e60 | — |
| string.quoted.double.include.cpp | #ecd2b4c0 | — |
| keyword.control.directive.define.cpp | #c28e60 | italic |
| keyword.control.directive.include.cpp | #00b4d6c0 | italic |
| keyword.control.if.cpp, keyword.control.return.cpp | #f4e286 | italic |
| source.python | #ecd2b4 | — |
| string.quoted.double.python, string.quoted.single.python | #d2d8d8 | — |
| meta.member.access.python | #b2a8b4 | — |
| keyword.control.clojure | #c28e60 | italic |
| entity.name.function.clojure | #f4e286 | italic |
| meta.symbol.clojure | #ecd2b4 | — |
| entity.global.clojure | #ecd2b4 | — |
| constant.keyword.clojure | #80a28e | — |
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}!`;
}