Matcha
Publisher: Luca FalascoThemes in package: 1
Matcha is a dark, earthy theme for VS Code
Matcha is a dark, earthy theme for VS Code
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 |
|---|---|---|
| invalid | #D9D4B8 | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #D1DED3 | — |
| variable, support.variable.property.dom, support.variable.dom, support.variable.property, punctuation.separator.parameter, string.interpolated.pug variable | #D1DED3 | — |
| comment, punctuation.definition.comment | #7EB0A388 | — |
| string, punctuation.definition.string | #C0AE69 | — |
| constant.character.escape | #D9D4B8 | — |
| keyword, constant.language.import-export-all | #D9D4B8 | — |
| entity.name.type, punctuation.definition.typeparameters, support.class, entity.other.inherited-class, new.expr entity.name.type, meta.interface, support.type.primitive, support.type.builtin, meta.type.annotation entity.name.type, meta.type.parameters entity.name.type | #7EB0A3 | |
| keyword.control, keyword.operator, storage, support.type, keyword.operator.expression, keyword.operator.new | #D9D4B8 | bold |
| entity.name.function, support.function | #A4B07E | — |
| keyword.operator.type, keyword.operator.optional, punctuation.definition.template-expression, source.tsx punctuation.section.embedded, source.jsx punctuation.section.embedded | #a4b07e | |
| constant | #D9D4B8 | — |
| constant.numeric, constant.language | #7EB0A3 | — |
| variable.parameter, parameter.variable, meta.function.parameter variable, source.rust meta.type_params.rust | #C6A685 | — |
| punctuation, meta.brace | #707C4F | — |
| comment.block.documentation entity.name.type | #D1DED3 | — |
| variable.language.this, variable.language.special.self | #D9D4B8 | — |
| meta.tag.metadata.doctype entity.name.tag, meta.tag.metadata.doctype punctuation.definition.tag, meta.tag.metadata.doctype string, meta.tag.metadata.doctype entity.other.attribute-name.html, meta.tag.sgml.doctype | #D9D4B8 | — |
| entity.name.tag, support.class.component | #A4B07E | bold |
| meta.tag string | #C0AE69 | — |
| meta.attribute punctuation.definition.string | #C6A685 | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #D9D4B8 | — |
| constant.character.entity, punctuation.definition.entity | #7EB0A3 | — |
| entity.name.section.markdown, markup.heading.setext | #D9D4B8 | — |
| punctuation.definition.list | #D9D4B8 | — |
| meta.separator.markdown | #D9D4B8 | — |
| markup.inline.raw | #D9D4B8 | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| meta.link punctuation.definition.string, meta.image punctuation.definition.string | #C6A685 | — |
| link, markup.underline.link, constant.other.reference.link.markdown | #D9D4B8 | — |
| markup.quote | #7EB0A3 | — |
| entity.name.tag.css, entity.name.tag.wildcard | #A4B07E | — |
| entity.other.attribute-name.class, entity.other.attribute-name punctuation.definition.entity | #D9D4B8 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class, constant.other.color | #D9D4B8 | — |
| entity.other.attribute-name.id, entity.other.attribute-name.id punctuation.definition.entity | #D9D4B8 | — |
| source.css constant.numeric | #A4B07E | — |
| meta.property-name, support.type.property-name | #D1DED3 | |
| meta.property-value, meta.object-literal.key, meta.object.member, variable.other.property, variable.other.object.property, meta.property-value constant.other, support.constant.property-value | #D9D4B8 | — |
| variable.parameter.url | #7EB0A3 | — |
| punctuation.definition.variable | #D1DED3 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #D9D4B8 | — |
| entity.name.section | #D9D4B8 | — |
| support.type.property-name.json | #D9D4B8 | — |
| markup.inserted | #A4B07E | — |
| markup.changed | #D9D4B8 | — |
| markup.deleted | #D9D4B8 | — |
| meta.diff.header | #D9D4B8 | italic |
| meta.diff.range | #D9D4B8 | — |
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}!`;
}