Omarchy Matte Black
Publisher: rikkarthThemes in package: 1
An Omarchy matte black theme for Visual Studio Code.
An Omarchy matte black theme for Visual Studio 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 |
|---|---|---|
| comment | #8a8a8d | italic |
| keyword, storage.type | #f59e0b | — |
| string | #e68e0d | — |
| constant.numeric, constant.language | #B91C1C | — |
| variable, identifier | #bebebe | — |
| entity.name.function, support.function | #FFC107 | — |
| entity.name.class, support.class | #8a8a8d | — |
| entity.name.tag, markup.deleted | #D35F5F | — |
| invalid, invalid.illegal | #B91C1C | — |
| keyword.control, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #f59e0b | — |
| meta.block variable.other | #D35F5F | — |
| support.other.variable, string.other.link | #D35F5F | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #B91C1C | — |
| 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 | #8a8a8d | — |
| entity.other.attribute-name | #f59e0b | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #FFC107 | italic |
| markup.inserted | #FFC107 | — |
| markup.deleted | #D35F5F | — |
| markup.changed | #f59e0b | — |
| *url*, *link*, *uri* | — | underline |
| punctuation, meta.brace | #bebebe | — |
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}!`;
}