Macchiato
Publisher: geek-ticsThemes in package: 2
Un tema cálido inspirado en el café para desarrolladores.
Un tema cálido inspirado en el café para desarrolladores.
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 |
|---|---|---|
| source, text | #2C1A0A | — |
| comment, punctuation.definition.comment | #A0845C | bold |
| punctuation, punctuation.definition, punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.string, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.parameters, punctuation.definition.comment, punctuation.separator, punctuation.separator.continuation, punctuation.separator.inheritance, punctuation.separator.namespace, punctuation.separator.class, punctuation.separator.method, punctuation.separator.parameter, punctuation.separator.array, punctuation.separator.key-value, punctuation.section, punctuation.section.embedded, punctuation.accessor, punctuation.terminator, keyword.operator, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.bitwise, keyword.operator.relational, keyword.operator.type, keyword.operator.new, keyword.operator.expression, keyword.operator.spread, keyword.operator.optional, keyword.operator.ternary, keyword.operator.nullish, keyword.operator.pipe, keyword.operator.instanceof, keyword.operator.typeof, keyword.operator.void, keyword.operator.delete, keyword.operator.in, keyword.operator.of, keyword.operator.class, keyword.operator.rust, keyword.operator.arrow, keyword.operator.range, keyword.operator.channel, storage.type.function.arrow, meta.tag punctuation.definition.tag | #C0607A | — |
| string, constant.other.symbol, 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 | #2E7D4F | — |
| meta.tag.sgml, markup.deleted.git_gutter | #8B3A8B | — |
| entity.name.tag | #1A5C8A | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #6B3FA0 | italic |
| source.sass keyword.control | #1A5C8A | — |
| entity.other.attribute-name.class | #6B3FA0 | — |
| entity.other.attribute-name | #6B3FA0 | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #8B3A8B | — |
| support.type | #8B5E0A | — |
| variable, string constant.other.placeholder | #1A5C8A | — |
| meta.block variable.other | #1A5C8A | — |
| support.other.variable, string.other.link | #1A5C8A | — |
| constant.other.color | #6B3FA0 | — |
| keyword, storage.type, storage.modifier | #1A5C8A | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #6B3FA0 | — |
| variable.language | #8B5E0A | italic |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #6B3FA0 | — |
| entity.name.method.js | #2E7D4F | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #2C1A0A | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #2E7D4F | — |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #8B5E0A | italic |
| string.regexp | #8B3A8B | — |
| constant.character.escape | #C0607A | — |
| *url*, *link*, *uri* | — | underline |
| markup.inserted | #1A5C8A | — |
| markup.changed | #6B3FA0 | — |
| markup.deleted | #C0392B | — |
| invalid, invalid.illegal | #C0392B | — |
| source.js constant.other.object.key.js string.unquoted.label.js | #C0607A | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #1A5C8A | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #6B3FA0 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #2E7D4F | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #8B3A8B | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #8B5E0A | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #552E10 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C68A48 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #1A7A7A | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C0392B | — |
| markup.heading.markdown punctuation.definition.heading.markdown | #C0607A | — |
| markdown.heading, markup.heading | markup.heading entity.name | #1A5C8A | bold |
| markup.bold, markup.bold string | #1A5C8A | 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 | #8B5E0A | bold |
| markup.italic | #2E7D4F | italic |
| text.html.markdown, punctuation.definition.list_item.markdown | #2C1A0A | — |
| text.html.markdown markup.inline.raw.markdown | #2E7D4F | — |
| markup.underline | #C0607A | underline |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #C0607A | — |
| markup.quote punctuation.definition.blockquote.markdown | #C0607A | — |
| markup.quote | — | italic |
| string.other.link.description.title.markdown | #C68A48 | — |
| string.other.link.title.markdown | #1A5C8A | — |
| constant.other.reference.link.markdown | #8B5E0A | — |
| markup.raw.block | #C0607A | — |
| meta.separator | #C0607A | bold |
| markup.table | #2C1A0A | — |
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}!`;
}