AndroMatt Theme Dark
Publisher: Alejandro MatíasThemes in package: 1
Un tema oscuro inspirado en Vira Carbon.
Un tema oscuro inspirado en Vira Carbon.
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, punctuation.definition.comment | #5c6370 | italic |
| variable, string constant.other.placeholder, source | #abb2bf | — |
| keyword, keyword.control | #c678dd | italic |
| storage, storage.type, storage.modifier | #c678dd | — |
| keyword.operator, punctuation, meta.brace | #56b6c2 | — |
| string | #98c379 | — |
| entity.name.function, support.function | #61afef | — |
| entity.name.type, entity.name.class, support.class, support.type | #e5c07b | — |
| constant.numeric, constant.language, constant.character, constant.escape | #d19a66 | — |
| variable.language, variable.language.this | #56b6c2 | italic |
| entity.name.tag, meta.tag.sgml | #e06c75 | — |
| entity.other.attribute-name | #d19a66 | italic |
| entity.other.attribute-name.class, entity.other.attribute-name.id | #e5c07b | — |
| support.type.property-name | #abb2bf | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #e06c75 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #d19a66 | — |
| 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 | #e5c07b | — |
| 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 | #98c379 | — |
| 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 | #56b6c2 | — |
| markup.heading, entity.name.section.markdown | #e06c75 | bold |
| punctuation.definition.list_item.markdown | #e5c07b | — |
| markup.bold, markup.bold string | #d19a66 | bold |
| markup.italic | #c678dd | italic |
| markup.raw.block.markdown, markup.inline.raw.string.markdown | #98c379 | — |
| string.other.link.title.markdown | #61afef | — |
| invalid, invalid.illegal | #ffffff | — |
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}!`;
}