Monokai Cotalpa
Publisher: ilanvivancoThemes in package: 5
🎨 Yet another Monokai color scheme for VS Code.
🎨 Yet another Monokai color scheme for VS Code.
Full workbench mockup using this variant's colors and tokenColors.
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| comment, comment.block.documentation.phpdoc.php | #6f7e82 | |
| comment entity.name.type, comment variable, comment variable.other | #b8c0c2 | — |
| constant | #74b8fc | — |
| constant.object | #99d874 | — |
| constant.character.escape | #fcbb86 | — |
| entity.name | #66d6fb | — |
| entity.name.type.class, entity.name.type.class.generic, entity.other.inherited-class, support.class, support.type.primitive, variable.other.liquid, keyword.other.type.php, keyword.other.namespace, keyword.other.use | #66d6fb | |
| support.type.primitive, variable.other.liquid, keyword.other.namespace, keyword.other.use | #fc988d | |
| entity.name.function, entity.name.type.namespace, entity.name.type.class, entity.name.type.class.generic, entity.other.inherited-class, support.class, comment.block.documentation.phpdoc.php keyword.other.type.php, support.function, keyword.other.sql | #99d874 | — |
| entity.name.tag | #fc988d | — |
| entity.name.type, storage.type.cs | #66d6fb | — |
| entity.other.attribute-name | #66d6fb | |
| entity.other.attribute-name.class | #99d874 | — |
| entity.other.attribute-name.id | #fcbb86 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #66d6fb | |
| entity.name.variable, variable | #74b8fc | — |
| variable.language.this | #8e9a9e | |
| keyword.operator, keyword.control | #fc988d | — |
| keyword.other.new, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete, punctuation.definition.string.template | #fc988d | — |
| keyword.other.unit | #fcbb86 | — |
| markup.quote | #8e9a9e | |
| markup.heading, entity.name.section | #fcdc7d | bold |
| markup.raw | #fcbb86 | — |
| markup.underline | — | underline |
| markup.bold | #74b8fc | bold |
| markup.italic | #66d6fb | italic |
| markup.inline.raw, markup.fenced_code.block | #66d6fb | — |
| markup.underline.link | #99d874 | |
| markup.inserted, markup.inserted punctuation.definition.inserted | #fc988d | |
| invalid.deprecated | #fcbb86 | |
| storage | #fc988d | — |
| storage.type | #66d6fb | |
| keyword.other.phpdoc.php, keyword.other.DML | #74b8fc | |
| storage.type.function.arrow | #fc988d | — |
| string.quoted, string.template | #fcdc7d | — |
| string.regexp | #fc988d | — |
| string.other.link | #fcbb86 | |
| variable.other | #66d6fb | — |
| support.type.property-name, meta.object-literal.key | #f4fafe | — |
| support.type.property-name.css | #f4fafe | — |
| 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 | #fcbb86 | |
| variable.language | #b8c0c2 | — |
| variable.other, variable.other.readwrite.alias.js, variable.other.property, variable.other.property.static, variable.other.event, variable.other.php, variable.graphql, source.sql.embedded | #f4fafe | — |
| variable.other.constant.js | #74b8fc | — |
| variable.other.readwrite.js | #f7f8f9 | — |
| variable.parameter | #fcbb86 | |
| support.constant | #66d6fb | — |
| constant.other | #f4fafe | — |
| constant.other.php, constant.other.property | #74b8fc | — |
| string.template meta.embedded, meta.other.type.phpdoc.php, punctuation.definition.template-expression | #b8c0c2 | — |
| punctuation.definition.tag | #8e9a9e | — |
| punctuation.separator, punctuation.terminator, punctuation.accessor | #8e9a9e | — |
| punctuation.section.embedded | #fcbb86 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
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}!`;
}