Professional Dark Themes
Publisher: eduardo-nobrega-developerThemes in package: 5
A dark, modern set of professional color themes for VS Code.
A dark, modern set of professional color themes 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 |
|---|---|---|
| comment, comment keyword, comment markup.underline.link, comment string, comment punctuation.definition, comment punctuation, comment text | #6272a4 | italic |
| comment entity.name.type | #6272a4 | — |
| comment variable, comment variable.other | #6272a4 | — |
| comment keyword.codetag.notation | #bd93f9 | — |
| constant | #bd93f9 | — |
| constant.other | #f8f8f2 | — |
| constant.other.caps, constant.other.java, constant.other.property | #bd93f9 | — |
| constant.other.placeholder | #ffb86c | — |
| constant.other.color | #bd93f9 | — |
| constant.other.symbol | #ffb86c | — |
| constant.numeric | #bd93f9 | — |
| constant.language | #bd93f9 | — |
| constant.character.escape | #bd93f9 | — |
| entity.name.section | #f1fa8c | — |
| entity.name.function, entity.name.function.templated, entity.name.function.member.static | #50fa7b | — |
| entity.name | #50fa7b | — |
| entity.name.class | #8be9fd | — |
| entity.name.type, entity.name.type.class, entity.name.type.namespace, entity.name.type.class.generic, entity.name.type.class.reference, entity.name.type.class.value | #8be9fd | — |
| entity.name.constant | #bd93f9 | — |
| entity.name.namespace | #8be9fd | — |
| entity.other.inherited-class | #8be9fd | italic |
| entity.name.tag, entity.name.tag.js.jsx support.class.component.js.jsx, entity.name.tag support.class.component, source.vue support.class.component | #ff79c6 | — |
| entity.name.function.operator | #ff79c6 | — |
| entity.other.attribute-name | #8be9fd | italic |
| entity.other.attribute-name.class.css, entity.other.attribute-name.css | #50fa7b | — |
| entity.other.attribute-name.id.css | #ffb86c | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.pseudo-class.css, entity.other.pseudo-element.css | #8be9fd | italic |
| invalid | #ff5555 | italic underline |
| invalid.deprecated | #ffb86c | italic underline |
| keyword | #ff79c6 | — |
| keyword.control | #ff79c6 | — |
| keyword.control.directive | #ff79c6 | — |
| keyword.operator, keyword.operator.member, keyword.operator.new | #ff79c6 | — |
| keyword.other.template.begin, keyword.other.template.end | #ff79c6 | — |
| markup.italic | — | italic |
| markup.bold | — | bold |
| markup.heading | #f1fa8c | — |
| markup.raw | #ffb86c | — |
| markup.underline | — | underline |
| markup.underline.link | #50fa7b | — |
| markup.inserted, markup.inserted punctuation.definition.inserted | #50fa7b | — |
| markup.deleted, markup.deleted punctuation.definition.deleted | #ff5555 | — |
| markup.changed, markup.changed punctuation.definition.changed | #f1fa8c | — |
| markup.quote | — | italic |
| meta.brace.round, meta.brace.square, meta.brace.curly, meta.delimiter.comma.js | #6272a4 | — |
| meta.interpolation | #ffb86c | — |
| meta.function-call.generic.python, support.function.builtin.python | #50fa7b | — |
| source.json meta.mapping.key string | #f8f8f2 | — |
| source.yaml meta.mapping.key string | #ff79c6 | — |
| meta.object.member | #f8f8f2 | — |
| entity.name.constant.preprocessor, meta.preprocessor | #bd93f9 | — |
| punctuation | #6272a4 | — |
| punctuation.definition.tag, punctuation.definition.tag source, punctuation.definition.block, punctuation.definition.parameters.begin, punctuation.definition.parameters.end, punctuation.accessor, punctuation.terminator | #6272a4 | — |
| punctuation.definition.comment | #6272a4 | — |
| punctuation.definition.variable, punctuation.definition.keyword.scss | #6272a4 | — |
| punctuation.section.embedded, punctuation.section.embedded.begin | #ffb86c | — |
| punctuation.template-string.element.begin, punctuation.template-string.element.end, punctuation.definition.string.template.begin, punctuation.definition.string.template.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #ff79c6 | — |
| source | #f8f8f2 | — |
| source.scss, source.sass | #6272a4 | — |
| source.sass variable.other, source.scss variable.other, source.less variable.other | #ffb86c | italic |
| storage | #ff79c6 | — |
| storage.type | #8be9fd | italic |
| storage.type.function.arrow | #ff79c6 | normal |
| storage.modifier, storage.type.modifier | #ff79c6 | italic |
| string | #f1fa8c | — |
| string.unquoted.label | #f8f8f2 | — |
| string source | #f8f8f2 | — |
| string.other.link.title, string.other.link.description | #ff79c6 | — |
| string.other.link.description.title | #8be9fd | — |
| support.constant | #8be9fd | — |
| support.function | #50fa7b | — |
| support.macro | #50fa7b | — |
| support.type, entity.name.type.object.console | #8be9fd | italic |
| support.variable, support.variable.property | #8be9fd | — |
| support.type.property-name | #f8f8f2 | normal |
| support.class | #8be9fd | — |
| text | #f8f8f2 | — |
| variable, variable.other | #f8f8f2 | — |
| variable.parameter, parameters variable.function | #ffb86c | italic |
| variable.language, variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #6272a4 | italic |
| variable.other.class | #8be9fd | — |
| variable.other.constant | #bd93f9 | — |
| variable.other.readwrite, variable.other.member, variable.other.property, variable.other.property.static, variable.other.event | #f8f8f2 | — |
| variable.other.enummember | #bd93f9 | — |
| variable.function | #50fa7b | — |
| string.quoted.docstring, string.quoted.docstring punctuation.definition | #6272a4 | — |
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}!`;
}