JamesNZL
Publisher: JamesNZLThemes in package: 1
A darker, mellower Monokai.
A darker, mellower Monokai.
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 keyword, comment markup.underline.link, comment string, comment punctuation.definition, comment punctuation, comment text | #727072 | italic |
| comment storage.type | #727072 | — |
| comment entity.name.type | #adadac | — |
| comment variable, comment variable.other | #adadac | — |
| comment keyword.codetag.notation | #AB9DF2 | — |
| comment.git-status.header.remote | #FF6188 | — |
| comment.git-status.header.local | #78DCE8 | — |
| comment.other.git-status.head | #f2f2f0 | — |
| string.quoted.docstring, string.quoted.docstring punctuation.definition | #727072 | — |
| constant | #AB9DF2 | — |
| constant.other | #f2f2f0 | — |
| constant.other.caps | #AB9DF2 | — |
| constant.other.placeholder.c | #FC9867 | — |
| constant.other.property | #AB9DF2 | — |
| constant.other.citation.latex | #AB9DF2 | — |
| constant.other.color | #AB9DF2 | — |
| constant.other.character-class.escape | #AB9DF2 | — |
| constant.other.key | #AB9DF2 | — |
| constant.other.symbol | #FC9867 | — |
| constant.other.elm | #78DCE8 | — |
| constant.numeric | #AB9DF2 | — |
| constant.language | #AB9DF2 | — |
| constant.character.escape | #AB9DF2 | — |
| constant.numeric.line-number.find-in-files | #5B595C | — |
| constant.numeric.line-number.match.find-in-files | #faf09a | — |
| entity.name.section | #faf09a | — |
| entity.name.function, entity.name.function.templated | #A9DC76 | — |
| entity.name.function.member.static | #f2f2f0 | — |
| entity.name.type.class.templated, entity.name.type.class.generic, entity.name.type.namespace | #78DCE8 | — |
| entity.name.label | #AB9DF2 | — |
| entity.name.function.preprocessor | #78DCE8 | — |
| entity.name | #A9DC76 | — |
| entity.name.class | #78DCE8 | — |
| entity.name.constant | #AB9DF2 | — |
| entity.name.namespace | #f2f2f0 | — |
| entity.other.inherited-class | #78DCE8 | italic |
| entity.name.function | #A9DC76 | — |
| entity.name.tag, entity.name.tag.js.jsx support.class.component.js.jsx, entity.name.tag support.class.component, source.vue support.class.component | #FF6188 | — |
| entity.name.function.operator | #FF6188 | — |
| entity.name.type, entity.name.type.class.reference, entity.name.type.class.value | #78DCE8 | — |
| entity.other.attribute-name | #78DCE8 | italic |
| entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector-suffix.css, entity.other.attribute-name.parent-selector-suffix.css punctuation.definition.entity.css, entity.other.attribute-name.css, entity.other.animation-name.css | #A9DC76 | — |
| entity.other.attribute-name.id.css | #FC9867 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.pseudo-class.css, entity.other.pseudo-element.css | #78DCE8 | italic |
| entity.name.function, support.function | #A9DC76 | — |
| entity.other.git-status.hex | #AB9DF2 | — |
| entity.other.jinja2.delimiter | #919288 | — |
| entity.name.operator.custom-literal | #f2f2f0 | — |
| entity.name.operator.custom-literal.string | #faf09a | — |
| entity.name.operator.custom-literal.number | #AB9DF2 | — |
| entity.name.type.rust | #78DCE8 | — |
| entity.name.lifetime.rust | #FF6188 | — |
| invalid | — | italic |
| keyword | #FF6188 | — |
| keyword.control | #FF6188 | — |
| keyword.control.directive | #FF6188 | — |
| keyword.operator, keyword.operator.member, keyword.operator.new | #FF6188 | — |
| keyword.other.substitution | #919288 | — |
| keyword.other.template.begin, keyword.other.template.end | #FF6188 | — |
| keyword.operator.heading.restructuredtext, keyword.operator.table.row.restructuredtext keyword.operator.table.data.restructuredtext | #919288 | — |
| keyword.other.parenthesis.elm | #919288 | — |
| keyword.other.fn.rust, keyword.other.rust, keyword.other.unsafe.rust, keyword.other.where.rust | #78DCE8 | — |
| keyword.control.rust, keyword.operator.misc.rust | #FF6188 | — |
| keyword.declaration.class.ruby, keyword.declaration.function.ruby, keyword.declaration.namespace.ruby | #FF6188 | — |
| markup.italic | — | italic |
| markup.bold | — | bold |
| markup.heading | #faf09a | — |
| markup.raw, markup.inline.raw | #FC9867 | — |
| markup.underline | — | underline |
| markup.underline.link | #A9DC76 | — |
| markup.inserted, markup.inserted punctuation.definition.inserted | #A9DC76 | — |
| markup.deleted, markup.deleted punctuation.definition.deleted | #FF6188 | — |
| markup.changed, markup.changed punctuation.definition.changed | #faf09a | — |
| markup.ignored, markup.ignored punctuation.definition.ignored | #919288 | — |
| markup.untracked | #919288 | — |
| markup.quote | — | italic |
| meta.brace.round, meta.brace.square, meta.brace.curly, meta.delimiter.comma.js, meta.function-call.without-arguments.js, meta.function-call.method.without-arguments.js | #919288 | — |
| meta.function-call.generic.python, support.function.builtin.python | #A9DC76 | — |
| meta.function-call.python meta.function-call.arguments.python | #f2f2f0 | — |
| meta.instance.constructor | #A9DC76 | — |
| meta.attribute-with-value.class string, meta.attribute.class.html string | #A9DC76 | — |
| meta.attribute-with-value.id string, meta.attribute.id.html string | #FC9867 | — |
| source.json meta.mapping.key string | #f2f2f0 | — |
| meta.object.member | #f2f2f0 | — |
| meta.property-list.css variable.other | #FC9867 | — |
| entity.name.constant.preprocessor, meta.preprocessor | #AB9DF2 | — |
| meta.diff.git-diff.header | #faf09a | — |
| meta.type_params.rust | #f2f2f0 | — |
| meta.attribute.rust, meta.annotation.rust, variable.language.rust, variable.annotation.rust, meta.annotation.rust string, meta.annotation.rust keyword, meta.annotation.rust keyword.operator, meta.attribute.rust string | #adadac | — |
| punctuation | #919288 | — |
| punctuation.definition.tag, punctuation.definition.tag source, punctuation.definition.group.begin.ruby, punctuation.definition.group.end.ruby, punctuation.definition.group.begin.css, punctuation.definition.group.end.css, punctuation.definition.string.end.html source.css | #919288 | — |
| punctuation.definition.group | #f2f2f0 | — |
| punctuation.definition.comment | #727072 | — |
| punctuation.definition.variable, punctuation.definition.keyword.scss, punctuation.definition.entity.css | #adadac | — |
| punctuation.section.embedded, punctuation.section.embedded entity.name.tag, punctuation.section.embedded constant.other, punctuation.section.embedded source, punctuation.section.embedded.begin | #FC9867 | — |
| punctuation.template-string.element.begin, punctuation.template-string.element.end, punctuation.definition.string.template.begin, punctuation.definition.string.template.end, string.quoted.template punctuation.definition.string.begin, string.quoted.template punctuation.definition.string.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #FF6188 | — |
| meta.paragraph.markdown meta.dummy.line-break, meta.paragraph.markdown meta.hard-line-break.markdown | — | — |
| region.redish | #FF6188 | — |
| region.orangish | #FC9867 | — |
| region.yellowish | #faf09a | — |
| region.greenish | #A9DC76 | — |
| region.bluish | #78DCE8 | — |
| region.purplish | #AB9DF2 | — |
| region.pinkish | #FF6188 | — |
| region.whitish | #FFFFFF | — |
| source | #f2f2f0 | — |
| source.scss, source.sass | #919288 | — |
| source.sass variable.other, source.sass variable.sass, source.scss variable.other, source.scss variable.scss, source.scss variable.sass, source.css variable.other, source.css variable.scss, source.less variable.other, source.less variable.other.less, source.less variable.declaration.less | #FC9867 | italic |
| source.git-show.commit.sha | #AB9DF2 | — |
| source.git-show.author, source.git-show.date, source.git-diff.command, source.git-diff.command meta.diff.git-diff.header.from-file, source.git-diff.command meta.diff.git-diff.header.to-file | #919288 | — |
| source.git-show meta.diff.git-diff.header.extended.index.from-sha, source.git-show meta.diff.git-diff.header.extended.index.to-sha | #AB9DF2 | — |
| source.git-show meta.diff.range.unified | #FC9867 | — |
| source.git-show meta.diff.header.from-file, source.git-show meta.diff.header.to-file | #919288 | — |
| storage | #FF6188 | — |
| storage.type | #78DCE8 | italic |
| storage.type.extends | #FF6188 | — |
| storage.type.function.arrow | #FF6188 | — |
| storage.modifier, storage.type.modifier | #FF6188 | italic |
| storage.class.restructuredtext.ref | #AB9DF2 | — |
| storage.modifier.visibility.rust, storage.modifier.lifetime.rust | #FF6188 | — |
| storage.modifier.const.rust, storage.modifier.dyn.rust, storage.modifier.mut.rust, storage.modifier.static.rust, storage.type.rust, storage.type.core.rust, storage.class.std.rust | #78DCE8 | — |
| storage.type.rust, storage.modifier.const.rust, storage.modifier.dyn.rust, storage.modifier.mut.rust, storage.modifier.static.rust, keyword.other.rust, keyword.other.where.rust | #FF6188 | — |
| string | #faf09a | — |
| string.unquoted.label | #f2f2f0 | — |
| string source | #f2f2f0 | — |
| string source punctuation.section.embedded, string punctuation.definition.string source | #919288 | — |
| string.other.link.title, string.other.link.description | #FF6188 | — |
| string.other.link.description.title | #78DCE8 | — |
| string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end | #FF6188 | — |
| string.other.ref, string.other.restructuredtext.ref | #A9DC76 | — |
| string.other.git-status.help.key | #adadac | — |
| string.other.git-status.remote | #FF6188 | — |
| support.constant | #78DCE8 | — |
| support.constant.handlebars | #919288 | — |
| support.type.vendor-prefix.css | #adadac | — |
| support.function | #A9DC76 | — |
| support.function.delimiter.elm | #919288 | — |
| support.type, entity.name.type.object.console | #78DCE8 | italic |
| support.variable | #78DCE8 | — |
| support.type.property-name | #f2f2f0 | — |
| support.class | #78DCE8 | — |
| support.constant.core.rust | #AB9DF2 | — |
| text | #f2f2f0 | — |
| text.find-in-files | #f2f2f0 | — |
| variable, variable.other | #f2f2f0 | — |
| variable.parameter, parameters variable.function | #FC9867 | italic |
| variable.language, variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #adadac | italic |
| variable.language.arguments | #AB9DF2 | — |
| variable.other.class | #78DCE8 | — |
| variable.other.constant | #AB9DF2 | — |
| variable.other.readwrite | #f2f2f0 | — |
| variable.other.member | #f2f2f0 | — |
| variable.other.enummember | #AB9DF2 | — |
| variable.other.property, variable.other.property.static, variable.other.event | #f2f2f0 | — |
| variable.function | #A9DC76 | — |
| variable.other.substitution | #FC9867 | — |
| source.ruby variable.other.readwrite.instance.ruby, source.ruby variable.other.readwrite.class.ruby | #AB9DF2 | — |
| source.jinja2 variable.other.jinja2.block | #A9DC76 | — |
| source.jinja2 variable.other.jinja2 | #FC9867 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}