One Monokai Darker Spectrum
Publisher: Ivan KinderThemes in package: 1
Combination of **Monokai Pro (filter Spectrum)** with **One Dark Pro Monokai Darker** themes.
Combination of **Monokai Pro (filter Spectrum)** with **One Dark Pro Monokai Darker** themes.
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, string.comment | #5C6370 | italic |
| string | #E5C07B | — |
| punctuation.definition.template-expression.begin.js,punctuation.definition.template-expression.end.js,punctuation.definition.template-expression.begin.ts,punctuation.definition.template-expression.end.ts | #C678DD | — |
| string.template.js | #E5C07B | — |
| meta.template.expression.js | #ABB2BF | — |
| constant.numeric | #C678DD | — |
| string.embedded.begin, string.embedded.end | #C678DD | — |
| string.embedded | #98C379 | — |
| constant.language | #56B6C2 | — |
| constant.character, constant.other | #56B6C2 | — |
| variable.language | #E06C75 | — |
| variable.readwrite, variable.readwrite.other.block | #61AFEF | — |
| keyword, keyword.operator.logical, keyword.operator.constructor | #E06C75 | — |
| keyword.operator | #E06C75 | — |
| storage | #E06C75 | — |
| storage.type | #56B6C2 | — |
| entity.name.class, entity.name.module, entity.name.type, storage.identifier, support.class | #61AFEF | — |
| variable.other.object | #61AFEF | — |
| variable.other.property, variable.other.block | #ABB2BF | — |
| entity.other.inherited-class | #98C379 | — |
| entity.name.function, support.function | #98C379 | — |
| variable.parameter | #D19A66 | italic |
| entity.name.function-call | #ABB2BF | — |
| function.support.builtin, function.support.core | #98C379 | — |
| entity.name.tag, entity.name.tag.class.js, entity.name.tag.class.jsx | #E06C75 | — |
| entity.name.tag.class, entity.name.tag.id | #56B6C2 | — |
| entity.other.attribute-name | #98C379 | — |
| support.constant | #56B6C2 | — |
| support.type, support.variable | #56B6C2 | — |
| support.dictionary.json | #56B6C2 | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less, support.type.property-name.sass | #ABB2BF | — |
| support.constant.css, support.constant.scss, support.constant.less, support.constant.sass | #98C379 | — |
| variable.css, variable.scss, variable.less, variable.sass | #56B6C2 | — |
| variable.css.string, variable.scss.string, variable.less.string, variable.sass.string | #E5C07B | — |
| unit.css, unit.scss, unit.less, unit.sass | #C678DD | — |
| function.css, function.scss, function.less, function.sass | #56B6C2 | — |
| support.other.variable | — | |
| invalid | #F8F8F0 | — |
| invalid.deprecated | #F8F8F0 | — |
| structure.dictionary.property-name.json | #56B6C2 | — |
| string.detected-link | #61AFEF | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #C678DD | — |
| markup.inserted | #E5C07B | — |
| markup.changed | #E5C07B | — |
| constant.numeric.line-number.find-in-files - match | #56B6C2A0 | — |
| entity.name.filename.find-in-files | #E5C07B | — |
| markup.italic, markup.italic.markdown | — | italic |
| punctuation.definition.italic.markdown | #696969 | — |
| markup.underline.link.markdown | #61AFEF | — |
| markup.bold.markdown | — | bold |
| punctuation.definition.bold.markdown | #696969 | — |
| markup.heading.markdown | #E06C75 | bold |
| punctuation.definition.heading.markdown | #696969 | — |
| markup.quote.markdown | #98C379 | — |
| meta.separator.markdown | #C678DD | bold |
| markup.raw.inline.markdown, markup.raw.block.markdown | #56B6C2 | — |
| punctuation.definition.list_item.markdown | #FFFFFF | bold |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| comment, comment.block, comment.block.documentation, comment.line, constant, constant.character, constant.character.escape, constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.other, constant.regexp, constant.rgb-value, emphasis, entity, entity.name, entity.name.class, entity.name.function, entity.name.method, entity.name.section, entity.name.selector, entity.name.tag, entity.name.type, entity.other, entity.other.attribute-name, entity.other.inherited-class, invalid, invalid.deprecated, invalid.illegal, keyword, keyword.control, keyword.operator, keyword.operator.new, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.other, markup, markup.bold, markup.changed, markup.deleted, markup.heading, markup.inline.raw, markup.inserted, markup.italic, markup.list, markup.list.numbered, markup.list.unnumbered, markup.other, markup.quote, markup.raw, markup.underline, markup.underline.link, meta, meta.block, meta.cast, meta.class, meta.function, meta.function-call, meta.preprocessor, meta.return-type, meta.selector, meta.tag, meta.type.annotation, meta.type, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.separator, punctuation.separator.continuation, punctuation.terminator, storage, storage.modifier, storage.type, storage.type.modifier, string, string.interpolated, string.other, string.quoted, string.quoted.double, string.quoted.other, string.quoted.single, string.quoted.triple, string.regexp, string.unquoted, strong, support, support.class, support.constant, support.function, support.other, support.type, support.type.property-name, support.variable, variable, variable.language, variable.name, variable.other, variable.other.readwrite, variable.parameter | — | |
| variable.other.global.cpp, meta.function.definition.cpp | #F7F1FF | — |
| comment, punctuation.separator.namespace.access, entity.name, punctuation.definition, punctuation.section | #6C6C6C | — |
| string.embedded, entity.other.inherited-class, entity.name.function, support.function, function.support.builtin, function.support.core, entity.other.attribute-name, support.constant.css, support.constant.scss, support.constant.less, support.constant.sass, markup.quote.markdown | #7BD88F | — |
| string, string.template.js, variable.css.string, variable.scss.string, variable.less.string, variable.sass.string, markup.inserted, markup.changed, entity.name.filename.find-in-files | #FCE566 | — |
| variable.parameter | #FD9353 | — |
| variable.other.global.cpp | #B5DBF1 | — |
| entity.name.tag, entity.name.tag.js.jsx support.class.component.js.jsx, entity.name.tag support.class.component, source.vue support.class.component, entity.name.lifetime.rust, invalid, keyword, keyword.control, keyword.control.directive, keyword.operator, keyword.operator.member, keyword.operator.new, keyword.other.template.begin, keyword.other.template.end, keyword.control.rust, keyword.operator.misc.rust, keyword.declaration.class.ruby, keyword.declaration.function.ruby, keyword.declaration.namespace.ruby, markup.deleted, markup.deleted punctuation.definition.deleted, source.yaml meta.mapping.key string, 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, region.redish, region.pinkish, storage, storage.type.extends, storage.type.function.arrow, storage.modifier, storage.type.modifier, storage.modifier.visibility.rust, storage.modifier.lifetime.rust, string.other.link.title, string.other.link.description, string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end, string.other.git-status.remote, punctuation.terminator.statement, punctuation.separator.delimiter | #FC6161 | — |
| comment keyword.codetag.notation, constant, constant.other.caps, constant.other.property, constant.other.citation.latex, constant.other.color, constant.other.character-class.escape, constant.other.key, constant.numeric, constant.language, constant.character.escape, entity.name.label, entity.name.constant, entity.other.git-status.hex, entity.name.operator.custom-literal.number, entity.name.constant.preprocessor, meta.preprocessor, region.purplish, source.git-show.commit.sha, storage.class.restructuredtext.ref, support.constant.core.rust, variable.language.arguments, variable.other.constant, variable.other.enummember | #948AE3 | — |
| comment, comment.block, comment.block.documentation, comment.line, constant, constant.character, constant.character.escape, constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.other, constant.regexp, constant.rgb-value, emphasis, entity, entity.name, entity.name.class, entity.name.function, entity.name.method, entity.name.section, entity.name.selector, entity.name.tag, entity.name.type, entity.other, entity.other.attribute-name, entity.other.inherited-class, invalid, invalid.deprecated, invalid.illegal, keyword, keyword.control, keyword.operator, keyword.operator.new, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.other, markup, markup.bold, markup.changed, markup.deleted, markup.heading, markup.inline.raw, markup.inserted, markup.italic, markup.list, markup.list.numbered, markup.list.unnumbered, markup.other, markup.quote, markup.raw, markup.underline, markup.underline.link, meta, meta.block, meta.cast, meta.class, meta.function, meta.function-call, meta.preprocessor, meta.return-type, meta.selector, meta.tag, meta.type.annotation, meta.type, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.separator, punctuation.separator.continuation, punctuation.terminator, storage, storage.modifier, storage.type, storage.type.modifier, string, string.interpolated, string.other, string.quoted, string.quoted.double, string.quoted.other, string.quoted.single, string.quoted.triple, string.regexp, string.unquoted, strong, support, support.class, support.constant, support.function, support.other, support.type, support.type.property-name, support.variable, variable, variable.language, variable.name, variable.other, variable.other.readwrite, variable.parameter | — | |
| variable.other.global.cpp, meta.function.definition.cpp | #F7F1FF | — |
| comment, punctuation.separator.namespace.access, entity.name, punctuation.definition, punctuation.section | #6C6C6C | — |
| string.embedded, entity.other.inherited-class, entity.name.function, support.function, function.support.builtin, function.support.core, entity.other.attribute-name, support.constant.css, support.constant.scss, support.constant.less, support.constant.sass, markup.quote.markdown | #7BD88F | — |
| string, string.template.js, variable.css.string, variable.scss.string, variable.less.string, variable.sass.string, markup.inserted, markup.changed, entity.name.filename.find-in-files | #FCE566 | — |
| variable.parameter | #FD9353 | — |
| variable.other.global.cpp | #B5DBF1 | — |
| entity.name.tag, entity.name.tag.js.jsx support.class.component.js.jsx, entity.name.tag support.class.component, source.vue support.class.component, entity.name.lifetime.rust, invalid, keyword, keyword.control, keyword.control.directive, keyword.operator, keyword.operator.member, keyword.operator.new, keyword.other.template.begin, keyword.other.template.end, keyword.control.rust, keyword.operator.misc.rust, keyword.declaration.class.ruby, keyword.declaration.function.ruby, keyword.declaration.namespace.ruby, markup.deleted, markup.deleted punctuation.definition.deleted, source.yaml meta.mapping.key string, 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, region.redish, region.pinkish, storage, storage.type.extends, storage.type.function.arrow, storage.modifier, storage.type.modifier, storage.modifier.visibility.rust, storage.modifier.lifetime.rust, string.other.link.title, string.other.link.description, string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end, string.other.git-status.remote, punctuation.terminator.statement, punctuation.separator.delimiter | #FF6B6C | — |
| comment keyword.codetag.notation, constant, constant.other.caps, constant.other.property, constant.other.citation.latex, constant.other.color, constant.other.character-class.escape, constant.other.key, constant.numeric, constant.language, constant.character.escape, entity.name.label, entity.name.constant, entity.other.git-status.hex, entity.name.operator.custom-literal.number, entity.name.constant.preprocessor, meta.preprocessor, region.purplish, source.git-show.commit.sha, storage.class.restructuredtext.ref, support.constant.core.rust, variable.language.arguments, variable.other.constant, variable.other.enummember | #948AE3 | — |
| constant.language, constant.character, constant.other, storage.type, entity.name.tag.class, entity.name.tag.id, support.constant, support.type, support.variable, support.dictionary.json, variable.css, variable.scss, variable.less, variable.sass, function.css, function.scss, function.less, function.sass, structure.dictionary.property-name.json | #5AD4E6 | — |
| comment, comment.block, comment.block.documentation, comment.line, constant, constant.character, constant.character.escape, constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.other, constant.regexp, constant.rgb-value, emphasis, entity, entity.name, entity.name.class, entity.name.function, entity.name.method, entity.name.section, entity.name.selector, entity.name.tag, entity.name.type, entity.other, entity.other.attribute-name, entity.other.inherited-class, invalid, invalid.deprecated, invalid.illegal, keyword, keyword.control, keyword.operator, keyword.operator.new, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.other, markup, markup.bold, markup.changed, markup.deleted, markup.heading, markup.inline.raw, markup.inserted, markup.italic, markup.list, markup.list.numbered, markup.list.unnumbered, markup.other, markup.quote, markup.raw, markup.underline, markup.underline.link, meta, meta.block, meta.cast, meta.class, meta.function, meta.function-call, meta.preprocessor, meta.return-type, meta.selector, meta.tag, meta.type.annotation, meta.type, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.separator, punctuation.separator.continuation, punctuation.terminator, storage, storage.modifier, storage.type, storage.type.modifier, string, string.interpolated, string.other, string.quoted, string.quoted.double, string.quoted.other, string.quoted.single, string.quoted.triple, string.regexp, string.unquoted, strong, support, support.class, support.constant, support.function, support.other, support.type, support.type.property-name, support.variable, variable, variable.language, variable.name, variable.other, variable.other.readwrite, variable.parameter | — | |
| variable.other.global.cpp, meta.function.definition.cpp | #F7F1FF | — |
| comment, punctuation.separator.namespace.access, entity.name, punctuation.definition, punctuation.section | #6C6C6C | — |
| string.embedded, entity.other.inherited-class, entity.name.function, support.function, function.support.builtin, function.support.core, entity.other.attribute-name, support.constant.css, support.constant.scss, support.constant.less, support.constant.sass, markup.quote.markdown | #7BD88F | — |
| string, string.template.js, variable.css.string, variable.scss.string, variable.less.string, variable.sass.string, markup.inserted, markup.changed, entity.name.filename.find-in-files | #FCE566 | — |
| variable.parameter | #FD9353 | — |
| variable.other.global.cpp | #FC618D | — |
| entity.name.tag, entity.name.tag.js.jsx support.class.component.js.jsx, entity.name.tag support.class.component, source.vue support.class.component, entity.name.lifetime.rust, invalid, keyword, keyword.control, keyword.control.directive, keyword.operator, keyword.operator.constructor, keyword.operator.logical, keyword.operator.member, keyword.operator.new, keyword.other.template.begin, keyword.other.template.end, keyword.control.rust, keyword.operator.misc.rust, keyword.declaration.class.ruby, keyword.declaration.function.ruby, keyword.declaration.namespace.ruby, markup.deleted, markup.deleted punctuation.definition.deleted, source.yaml meta.mapping.key string, 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, region.redish, region.pinkish, storage, entity.name.tag, storage.type.extends, storage.type.function.arrow, storage.modifier, storage.type.modifier, storage.modifier.visibility.rust, storage.modifier.lifetime.rust, string.other.link.title, string.other.link.description, string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end, string.other.git-status.remote, punctuation.terminator.statement, punctuation.separator.delimiter | #FF6B6C | — |
| variable.language, markup.heading.markdown | #FC618D | — |
| comment keyword.codetag.notation, constant, constant.other.caps, constant.other.property, constant.other.citation.latex, constant.other.color, constant.other.character-class.escape, constant.other.key, constant.numeric, constant.language, constant.character.escape, entity.name.label, entity.name.constant, entity.other.git-status.hex, entity.name.operator.custom-literal.number, entity.name.constant.preprocessor, meta.preprocessor, region.purplish, source.git-show.commit.sha, storage.class.restructuredtext.ref, support.constant.core.rust, variable.language.arguments, variable.other.constant, variable.other.enummember | #948AE3 | — |
| constant.language, constant.character, constant.other, storage.type, entity.name.tag.class, entity.name.tag.id, support.constant, support.type, support.variable, support.dictionary.json, variable.css, variable.scss, variable.less, variable.sass, function.css, function.scss, function.less, function.sass, structure.dictionary.property-name.json | #5AD4E6 | — |
| comment, comment.block, comment.block.documentation, comment.line, constant, constant.character, constant.character.escape, constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.other, constant.regexp, constant.rgb-value, emphasis, entity, entity.name, entity.name.class, entity.name.function, entity.name.method, entity.name.section, entity.name.selector, entity.name.tag, entity.name.type, entity.other, entity.other.attribute-name, entity.other.inherited-class, invalid, invalid.deprecated, invalid.illegal, keyword, keyword.control, keyword.operator, keyword.operator.new, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.other, markup, markup.bold, markup.changed, markup.deleted, markup.heading, markup.inline.raw, markup.inserted, markup.italic, markup.list, markup.list.numbered, markup.list.unnumbered, markup.other, markup.quote, markup.raw, markup.underline, markup.underline.link, meta, meta.block, meta.cast, meta.class, meta.function, meta.function-call, meta.preprocessor, meta.return-type, meta.selector, meta.tag, meta.type.annotation, meta.type, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.separator, punctuation.separator.continuation, punctuation.terminator, storage, storage.modifier, storage.type, storage.type.modifier, string, string.interpolated, string.other, string.quoted, string.quoted.double, string.quoted.other, string.quoted.single, string.quoted.triple, string.regexp, string.unquoted, strong, support, support.class, support.constant, support.function, support.other, support.type, support.type.property-name, support.variable, variable, variable.language, variable.name, variable.other, variable.other.readwrite, variable.parameter | — | |
| variable.other.global.cpp, meta.function.definition.cpp | #F7F1FF | — |
| comment, punctuation.separator.namespace.access, entity.name, punctuation.definition, punctuation.section | #6C6C6C | — |
| string.embedded, entity.other.inherited-class, entity.name.function, support.function, function.support.builtin, function.support.core, entity.other.attribute-name, support.constant.css, support.constant.scss, support.constant.less, support.constant.sass, markup.quote.markdown | #7BD88F | — |
| string, string.template.js, variable.css.string, variable.scss.string, variable.less.string, variable.sass.string, markup.inserted, markup.changed, entity.name.filename.find-in-files | #FCE566 | — |
| variable.parameter | #FD9353 | — |
| variable.other.global.cpp | #FC618D | — |
| entity.name.tag, entity.name.tag.js.jsx support.class.component.js.jsx, entity.name.tag support.class.component, source.vue support.class.component, entity.name.lifetime.rust, invalid, keyword, keyword.control, keyword.control.directive, keyword.operator, keyword.operator.constructor, keyword.operator.logical, keyword.operator.member, keyword.operator.new, keyword.other.template.begin, keyword.other.template.end, keyword.control.rust, keyword.operator.misc.rust, keyword.declaration.class.ruby, keyword.declaration.function.ruby, keyword.declaration.namespace.ruby, markup.deleted, markup.deleted punctuation.definition.deleted, source.yaml meta.mapping.key string, 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, region.redish, region.pinkish, storage, entity.name.tag, storage.type.extends, storage.type.function.arrow, storage.modifier, storage.type.modifier, storage.modifier.visibility.rust, storage.modifier.lifetime.rust, string.other.link.title, string.other.link.description, string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end, string.other.git-status.remote, punctuation.terminator.statement, punctuation.separator.delimiter | #FF6B6C | — |
| variable.language, markup.heading.markdown | #FC618D | — |
| comment keyword.codetag.notation, constant, constant.other.caps, constant.other.property, constant.other.citation.latex, constant.other.color, constant.other.character-class.escape, constant.other.key, constant.numeric, constant.language, constant.character.escape, entity.name.label, entity.name.constant, entity.other.git-status.hex, entity.name.operator.custom-literal.number, entity.name.constant.preprocessor, meta.preprocessor, region.purplish, source.git-show.commit.sha, storage.class.restructuredtext.ref, support.constant.core.rust, variable.language.arguments, variable.other.constant, variable.other.enummember | #948AE3 | — |
| constant.language, constant.character, constant.other, storage.type, entity.name.tag.class, entity.name.tag.id, support.constant, support.type, support.variable, support.dictionary.json, variable.css, variable.scss, variable.less, variable.sass, function.css, function.scss, function.less, function.sass, structure.dictionary.property-name.json | #5AD4E6 | — |
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}!`;
}