Vantablack Material Dark
Publisher: ruanSignoriThemes in package: 1
VSCode theme - Vantablack background with Material Dark syntax colors
VSCode theme - Vantablack background with Material Dark syntax colors
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 |
|---|---|---|
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end | #888888 | — |
| string.key.json, entity.name.type.json | #9CDCFE | — |
| entity.name.tag, meta.tag | #569cd6 | — |
| entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.xhtml, entity.other.attribute-name.pug, entity.other.attribute-name.handlebars, entity.other.attribute-name.vue | #9cdcfe | — |
| entity.name.class.css, entity.name.class.scss, entity.name.tag.css, entity.name.tag.scss, entity.name.class.less, entity.selector.css, entity.selector.scss, entity.selector.less, support.type.selector.css, support.type.selector.scss, support.type.selector.less, selector.css, selector.scss, selector.less | #d7ba7d | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #CE9178 | — |
| entity.name.tag.yaml, keyword.key.yaml | #569cd6 | — |
| string.yaml, string.unquoted.yaml, constant.numeric.yaml, constant.bool.yaml | #CE9178 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #c792ea | — |
| keyword, storage.type, storage.modifier, storage.modifier.import, storage.modifier.package, keyword.other.import, keyword.other.package, keyword.other.use, keyword.control.import | #569cd6 | — |
| entity.name.namespace, entity.name.module | #4EC9B0 | — |
| entity.name.function, support.function, support.constant.handlebars | #DCDCAA | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.other.inherited-class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #4EC9B0 | — |
| keyword.control | #C586C0 | — |
| keyword.control.new, keyword.other.new, keyword.new, storage.type.js | #569cd6 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, variable.parameter, variable.other | #9CDCFE | — |
| variable.parameter.unused, variable.other.unused | #6A9955 | italic |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #CE9178 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #d16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #DCDCAA | — |
| keyword.operator.quantifier.regexp | #d7ba7d | — |
| constant.character | #569cd6 | — |
| constant.character.escape | #d7ba7d | — |
| comment, punctuation.definition.comment | #6A9955 | italic |
| string, string.template | #CE9178 | — |
| constant.numeric, constant.language | #569cd6 | — |
| keyword.operator | #D4D4D4 | — |
| markup.heading | #569cd6 | bold |
| markup.italic, markup.italic.markdown | #DCDCAA | italic |
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}!`;
}