h3xsh VSCode Theme
Publisher: h3xshThemes in package: 1
A personal Visual Studio Code Theme(s) inspired by the our apps and projects.
A personal Visual Studio Code Theme(s) inspired by the our apps and projects.
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 |
|---|---|---|
| — | #F5F7FA | — |
| meta.embedded, source.groovy.embedded, variable.legacy.builtin.python | #F5F7FA | — |
| comment | #9A9B99 | — |
| string | #9AA83A | — |
| string source | #D08442 | — |
| constant.numeric | #6089B4 | — |
| constant.language | #408080 | — |
| constant.character, constant.other | #8080FF | — |
| keyword | #6089B4 | — |
| support | #C7444A | — |
| storage | #9872A2 | — |
| entity.name.class, entity.name.type, entity.name.namespace, entity.name.scope-resolution | #F23005 | — |
| entity.other.inherited-class, punctuation.separator.namespace.ruby | #C7444A | — |
| entity.name.function | #CE6700 | — |
| entity.name.function, source.powershell variable.other.member, entity.name.operator.custom-literal | #CE6700 | — |
| variable.parameter | #6089B4 | — |
| entity.name.tag | #9872A2 | — |
| entity.other.attribute-name | #9872A2 | — |
| support.function | #9872A2 | — |
| keyword | #888888 | — |
| variable.other, variable.js, punctuation.separator.variable | #6089B4 | — |
| punctuation.section.embedded -(source string source punctuation.section.embedded), meta.brace.erb.html | #008200 | — |
| invalid | #F23005 | — |
| variable.other.php, variable.other.normal | #6089B4 | — |
| meta.function-call.object | #9872A2 | — |
| variable.other.property | #9872A2 | — |
| keyword.control, keyword.operator.new.cpp, keyword.operator.delete.cpp, keyword.other.using, keyword.other.directive.using, keyword.other.operator | #9872A2 | — |
| meta.tag | #D0B344 | — |
| entity.name.tag | #6089B4 | — |
| meta.doctype, meta.tag.sgml-declaration.doctype, meta.tag.sgml.doctype | #9AA83A | — |
| meta.tag.inline source, text.html.php.source | #9AA83A | — |
| meta.tag.other, entity.name.tag.style, entity.name.tag.script, meta.tag.block.script, source.js.embedded punctuation.definition.tag.html, source.css.embedded punctuation.definition.tag.html | #9872A2 | — |
| entity.other.attribute-name, meta.tag punctuation.definition.string | #D0B344 | — |
| meta.tag string -source -punctuation, text source text meta.tag string -punctuation | #6089B4 | — |
| punctuation.section.embedded -(source string source punctuation.section.embedded), meta.brace.erb.html | #D0B344 | — |
| meta.toc-list.id | #9AA83A | — |
| string.quoted.double.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html, punctuation.definition.string.end.html source, string.quoted.double.html source | #9AA83A | — |
| punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end | #6089B4 | — |
| meta.selector entity.other.attribute-name.id | #9872A2 | — |
| source.css support.type.property-name | #888888 | — |
| meta.property-group support.constant.property-value, meta.property-value support.constant.property-value | #C7444A | — |
| variable.language.js | #CC555A | — |
| punctuation.definition.template-expression, punctuation.section.embedded.coffee | #D08442 | — |
| meta.template.expression | #F5F7FA | — |
| meta.function-call.object.php | #D0B344 | — |
| punctuation.definition.string.end.php, punctuation.definition.string.begin.php | #9AA83A | — |
| source.php.embedded.line.html | #888888 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #D08442 | — |
| constant.other.symbol.ruby | #9AA83A | — |
| variable.language.ruby | #D0B344 | — |
| keyword.other.special-method.ruby | #F28705 | — |
| punctuation.section.embedded.begin.ruby, punctuation.section.embedded.end.ruby | #D08442 | — |
| keyword.other.DML.sql | #D0B344 | — |
| meta.diff, meta.diff.header | #F5F7FA | italic |
| markup.deleted | #F23005 | — |
| markup.changed | #F28705 | — |
| markup.inserted | #219186 | — |
| markup.quote | #9872A2 | — |
| markup.list | #9AA83A | — |
| markup.bold, markup.italic | #6089B4 | — |
| markup.inline.raw | #FF77AA | — |
| markup.heading | #D0B344 | — |
| markup.heading.setext | #D0B344 | — |
| markup.heading.markdown | #ff0000 | bold |
| markup.quote.markdown, fenced_code.block.markdown | #9872A2 | italic |
| markup.bold.markdown | — | bold |
| string.other.link.title.markdown,string.other.link.description.markdown | #914BF2 | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #6796e6 | italic underline |
| markup.italic.markdown | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.list.unnumbered.markdown, markup.list.numbered.markdown | — | — |
| punctuation.definition.list.begin.markdown | — | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #F23005 | — |
| token.debug-token | #b267e6 | — |
| variable.language | #C7444A | — |
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}!`;
}