Nachop theme
Publisher: Nachop PeraltaThemes in package: 8
Mix of the best VSCode themes
Mix of the best VSCode 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, punctuation.definition.comment | #546e7a | italic |
| variable, variable.parameter.function-call, variable.language, entity.name.variable.local.cs, meta.method.body | #ffbfce | — |
| variable.other.constant, constant.other.color | #f5dd87 | — |
| variable.member | #f29e74 | — |
| invalid | #ff537b | — |
| keyword, keyword.control, keyword.other | #ff9a5b | — |
| storage.type, storage.modifier | #ff9a5b | — |
| keyword.operator, keyword.operator.assignment.go | #ff9a5b | — |
| string, constant.other.symbol | #cae790 | — |
| punctuation.separator, punctuation.terminator, punctuation.comma, punctuation.dot, punctuation.separator.dart, punctuation.comma.dart, punctuation.dot.dart, other.source.dart | #9899c5 | bold |
| constant.other.color, keyword.other.template, keyword.other.substitution | #ff537b | — |
| entity.name.function, support.function.go | #f3bf4e | bold |
| support.function, support.macro | #ffe572 | bold |
| variable.language.this | #ffb272 | italic |
| variable.function, variable.annotation, meta.function-call.generic | #f3bf4e | — |
| support.constant | #f29e74 | italic |
| entity.name.import, entity.name.package | #c0dd86 | — |
| storage.modifier.import.java, entity.name.type.namespace.cs | #5ed9ff | — |
| meta.diff, meta.diff.header | #5343e3 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #ff9a5b | — |
| variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #ffb272 | — |
| meta.function.decorator.python, support.token.decorator.python,meta.function.decorator.identifier.python | #fff79f | — |
| variable.parameter.function.language.python, variable.parameter.function.python, variable.parameter.function.js, variable.parameter.function, variable.parameter, meta.definition.variable.name, meta.parameter | #e7f2bd | italic |
| message.error | #ff537b | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, keyword.other.unit | #c9adff | — |
| meta.tag.sgml | #74a0f1 | — |
| storage.type.function | #ff9a5b | — |
| punctuation.accessor | #f29e74 | — |
| constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #cae790 | — |
| keyword.operator.arithmetic.go, keyword.operator.address.go | #ff9a5b | — |
| entity.name.package.go | #f5dd87 | — |
| source.go storage.type | #f5dd87 | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, support.type.sys-types, variable.other.object.cs, entity.other.inherited-class | #5ed9ff | — |
| support.type | #5ed9ff | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #ffb272 | — |
| entity.name.method.js | #f3bf4e | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #f3bf4e | — |
| meta.decorator variable.other, meta.decorator punctuation.decorator, storage.type.annotation | #fff79f | — |
| source.js constant.other.object.key.js string.unquoted.label.js | #e5a6b5 | italic |
| entity.name.tag, text.html.derivative | #55cdee | — |
| punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #74a0f1 | — |
| meta.tag, text.html.basic, text.html.basic source, text.html.basic source.html, text.html.basic source.html entity.other.attribute-name, text.html.basic source.html entity.other.attribute-name.html, text.html.basic source.html entity.other.attribute-value, text.html.basic source.html punctuation.definition.string, text.html.basic source.html string.quoted.double, text.html.basic source.html string.quoted.single, text.html.basic source.html string.unquoted, text.html.derivative | #dcdfeb | — |
| entity.other.attribute-name | #ffaa5b | italic |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.postcss support.type.property-name, support.type.property-name.css | #ffe572 | — |
| entity.other.attribute-name.class | #5ed9ff | — |
| entity.other.attribute-name.id | #95e6cb | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #9899c5 | italic |
| entity.name.tag.wildcard.css, entity.name.tag.wildcard.less, entity.name.tag.wildcard.scss, entity.name.tag.wildcard.sass | #ffcedd | — |
| keyword.other.unit.css, constant.numeric.css | #c9adff | — |
| keyword.other.unit, support.constant.property-value.css, meta.property-value.css, meta.property-list.css, source.css, constant.other.color.rgb-value.hex.css | #f29e74 | — |
| keyword.other.important | #ff9a5b | italic |
| source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type | #51597e | — |
| string.regexp, constant.character, constant.other | #95e6cb | — |
| *url*, *link*, *uri* | — | underline |
| source.json meta.structure.dictionary.json support.type.property-name.json | #ffbfce | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #dcdfeb | — |
| markup.heading.markdown punctuation.definition.heading.markdown | #99606f | bold |
| markup.heading.markdown entity.name | #ffbfce | bold |
| punctuation.definition.list.begin.markdown | #f29e74 | — |
| markup.italic | #95e6cb | italic |
| markup.bold, markup.bold string | #95e6cb | bold |
| 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 | #95e6cb | bold italic |
| markup.underline | #e7f2bd | underline |
| markup.quote punctuation.definition.blockquote.markdown, markup.quote | #9899c5 | — |
| string.other.link.title.markdown | #f3bf4e | — |
| markup.inline.raw.string.markdown | #ffbfce | — |
| string.other.link.description.title.markdown | #ff9a5b | — |
| meta.separator | #f29e74 | bold |
| markup.table | #dcdfeb | — |
| markup.inserted | #89d59b | — |
| markup.deleted | #731d2b | — |
| markup.changed | #83bcf1 | — |
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}!`;
}