Coco
Publisher: KifzukaThemes in package: 18
dark theme
dark theme
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, punctuation.definition.comment | #e8411870 | italic |
| meta.var.expr storage.type, keyword.control.flow, keyword.control.return, meta.directive.vue punctuation.separator.key-value.html, meta.directive.vue entity.other.attribute-name.html, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js, storage.modifier | — | italic |
| constant | #fbc531 | — |
| entity | #0097e6 | — |
| invalid | #f44542 | — |
| storage.type.function | #dcdde1 | — |
| keyword, storage.type.class, keyword.control.default.ts | #dcdde1 | — |
| meta | #e1efff | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #fff | — |
| meta.brace | #e1efff | — |
| punctuation | #487eb0 | — |
| punctuation.definition.parameters | #e1b12c | — |
| punctuation.definition.template-expression | #e1b12c | — |
| storage | #0097e6 | — |
| storage.type.function.arrow | #0097e6 | — |
| string, punctuation.definition.string | #c23616 | — |
| string.template, punctuation.definition.string.template | #4cd137 | — |
| support | #44bd32 | — |
| support.function | #dcdde1 | — |
| support.variable.property.dom | #e1efff | — |
| variable | #e1efff | — |
| source.css entity, source.stylus entity | #4cd137 | — |
| entity.other.attribute-name.id.css | #487eb0 | — |
| entity.name.tag | #9c88ff | — |
| source.css support, source.stylus support | #c23616 | — |
| source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant | #e1b12c | — |
| source.css string, source.css punctuation.definition.string, source.stylus string, source.stylus punctuation.definition.string | #e1b12c | — |
| source.css variable, source.stylus variable | #9c88ff | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #e53935 | — |
| text.html.basic entity.name | #9c88ff | — |
| meta.toc-list.id.html | #c23616 | — |
| text.html.basic entity.other | #0097e6 | italic |
| meta.tag.metadata.script.html entity.name.tag.html | #0097e6 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #dcdde1 | — |
| source.ini entity | #e1efff | — |
| source.ini keyword | #0097e6 | — |
| source.ini punctuation.definition | #e1b12c | — |
| source.ini punctuation.separator | #dcdde1 | — |
| source.js storage.type.function, source.ts storage.type.function | #ff4b5c | — |
| variable.language, entity.name.type.class.js | #ff4b5c | — |
| entity.other.inherited-class.js | #ccc | — |
| variable.parameter.function.language.special.self.python | #ff4b5c | — |
| source.json support | #0097e6 | — |
| source.json string, source.json punctuation.definition.string | #e1efff | — |
| punctuation.definition.heading.markdown | #e1efff | — |
| entity.name.section.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #0097e6 | bold |
| meta.paragraph.markdown | #e1efff | — |
| beginning.punctuation.definition.quote.markdown | #0097e6 | — |
| markup.quote.markdown meta.paragraph.markdown | #9c88ff | italic |
| meta.separator.markdown | #0097e6 | — |
| markup.bold.markdown | #9c88ff | bold |
| markup.italic.markdown | #9c88ff | italic |
| beginning.punctuation.definition.list.markdown | #0097e6 | — |
| string.other.link.title.markdown | #c23616 | — |
| string.other.link.title.markdown, string.other.link.description.markdown, string.other.link.description.title.markdown | #c23616 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #9c88ff | — |
| fenced_code.block.language, markup.inline.raw.markdown | #9c88ff | — |
| fenced_code.block.language, markup.inline.raw.markdown | #9c88ff | — |
| text.jade entity.name | #9c88ff | — |
| text.jade entity.other.attribute-name.tag | — | italic |
| text.jade string.interpolated | #e1b12c | — |
| source.ts entity.name.type | #44bd32 | — |
| source.ts keyword | #0097e6 | — |
| source.ts punctuation.definition.parameters | #e1efff | — |
| meta.arrow.ts punctuation.definition.parameters | #e1b12c | — |
| source.php entity | #9c88ff | — |
| variable.other.php | #0097e6 | — |
| storage.type.cs | #9c88ff | — |
| entity.name.variable.property.cs | #9c88ff | — |
| storage.modifier.cs | #44bd32 | — |
| modifier, this, comment, storage.modifier, entity.other.attribute-name.js, entity.other.attribute-name.js, entity.other.attribute-name.ts, entity.other.attribute-name.tsx, entity.other.attribute-name.html | — | italic |
| keyword.control.export | #dcdde1 | italic |
| meta.return.type.ts | #ef476f | italic |
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}!`;
}