Black Material Theme
Publisher: Yan YanishevskyiThemes in package: 1
A blacked-out Material Theme for VSCode
A blacked-out Material Theme for VSCode
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 |
|---|---|---|
| variable, variable.parameter, variable.language, constant.character.escape, source.groovy.embedded, source.cs entity.name.type.namespace, source.cpp meta.block variable.other, source.php support.other.namespace, source.php meta.use support.class, text.html constant.character.entity.named, meta.embedded, meta.template.expression, meta.definition.variable entity.name.function, meta.function-call.arguments, meta.jsx.children, SXNested, support.variable, support.constant, punctuation.definition.entity.html | #cdcecd | — |
| markup.fenced_code.block | #8e8f8f | — |
| comment, comment punctuation.definition.comment, string.quoted.docstring, source.cs meta.preprocessor | #626463 | — |
| entity.name.tag, entity.name.tag.yaml, text.html.markdown meta.link.inline, markup.deleted, markup.italic, markup.bold, keyword.other.definition.ini, source.cs meta.method.identifier entity.name.function, source.python meta.member.access.python, variable.object.property, support.module, support.node, support.type.property-name.json, meta.field.declaration entity.name.function, meta.link.reference, meta.block, meta.object-literal.key, meta.object-literal.key string, meta.definition.method entity.name.function, 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 | #e97871 | — |
| constant.numeric, keyword.other, entity.other.attribute-name.id, 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 | #f98b6f | — |
| constant.language.boolean, punctuation.definition.quote, 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 | #ff9e96 | — |
| source.cs meta.class.identifier storage.type, source.cs storage.type, source.cs meta.method.return-type, entity.name.type, entity.other.inherited-class, entity.other, entity.name, entity.name.type.class, entity.other.attribute-name.class, support.type, support.class, support.class.component, support.type, constant.other.key, meta.use, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f2c86c | — |
| punctuation, keyword, modifier, markup.heading, markup.quote, text.html.markdown beginning.punctuation.definition.list, entity.name.section.group-title.ini, variable.language.this, support.type.object, constant.keyword, constant.other.symbol, constant.language, constant.language.json, template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, meta.tag, punctuation.definition.tag | #91dbf2 | — |
| support.type.property-name.css, support.type.property-name.scss | #a2c4d0 | — |
| string, markup.fenced_code.block.markdown punctuation.definition.markdown, markup.inline.raw.string.markdown, markup.inserted, 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 | #b4de89 | — |
| entity.name.function.call, entity.name.function, meta.function entity.name.function, support.function, source.cs meta.method-call meta.method, source.cs entity.name.function, source.python meta.function-call.python, meta.function-call.arguments, 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 | #78aeff | — |
| storage.type, storage.control, storage.modifier, entity.other.attribute-name, meta.structure.dictionary.json support.type.property-name.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 | #ca99d6 | — |
| markup.italic, support.module, support.node, comment, comment punctuation.definition.comment, string.quoted.docstring, keyword.control, markup.quote | — | italic |
| markup.bold | — | bold |
| markup.bold markup.italic, markup.italic markup.bold | — | italic bold |
| markup.underline | — | underline |
| 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 | #916B53 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}