Lanciabones
Publisher: GotchacodeThemes in package: 2
A minimal, high-contrast VS Code theme ported from the Lanciabones Neovim colorscheme.
A minimal, high-contrast VS Code theme ported from the Lanciabones Neovim colorscheme.
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 | #F5E97F | italic |
| string, string.quoted, string.template, string.interpolated, punctuation.definition.string | #B36957 | italic |
| constant.character.escape, string.regexp | #B36957 | |
| constant.numeric, constant.language, constant.character, constant.other | #AAAAAA | |
| constant.language.boolean | #EEEEEE | italic |
| keyword, storage, storage.type, storage.modifier | #EEEEEE | bold |
| keyword.operator, punctuation.accessor, punctuation.separator | #EEEEEE | |
| keyword.control, keyword.control.conditional, keyword.control.loop, keyword.control.flow, keyword.control.import, keyword.control.export, keyword.control.from | #EEEEEE | bold |
| entity.name.function, meta.function-call, support.function | #EEEEEE | |
| entity.name.function, meta.definition.function | #EEEEEE | bold |
| variable, variable.other, variable.other.readwrite, variable.parameter, support.variable | #AAAAAA | |
| variable.language | #EEEEEE | italic |
| variable.other.property, variable.other.object.property, support.type.property-name | #AAAAAA | |
| entity.name.type, entity.name.class, support.type, support.class, entity.other.inherited-class, entity.name.type.class | #EEEEEE | italic |
| entity.name.type.interface, entity.name.type.enum, entity.name.type.alias, entity.name.type.module | #EEEEEE | italic |
| entity.name.type.parameter | #EEEEEE | italic |
| entity.other.attribute-name, support.other | #AAAAAA | bold |
| punctuation.definition.tag, punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.arguments, punctuation.section, meta.brace | #EEEEEE | |
| punctuation.terminator, punctuation.separator.comma | #EEEEEE | |
| entity.name.tag, support.class.component | #EEEEEE | bold |
| entity.other.attribute-name.html, entity.other.attribute-name.jsx, entity.other.attribute-name.tsx, entity.other.attribute-name.js | #AAAAAA | italic |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #EEEEEE | bold |
| support.type.property-name.css, support.type.vendored.property-name.css | #AAAAAA | |
| support.constant.property-value.css, constant.numeric.css, constant.other.color.rgb-value.hex.css, support.constant.color.w3c-standard-color-name.css | #AAAAAA | |
| keyword.other.unit.css | #AAAAAA | |
| heading.1.markdown, heading.2.markdown, heading.3.markdown, heading.4.markdown, heading.5.markdown, heading.6.markdown, markup.heading, markup.heading.setext, punctuation.definition.heading.markdown | #EEEEEE | bold |
| markup.bold, punctuation.definition.bold | #EEEEEE | bold |
| markup.italic, punctuation.definition.italic | #EEEEEE | italic |
| markup.underline.link, string.other.link, markup.underline.link.markdown | #CCCCCC | |
| markup.inline.raw, markup.fenced_code.block, markup.raw.block | #AAAAAA | |
| markup.quote.markdown | #777777 | italic |
| markup.list, punctuation.definition.list.begin.markdown | #AAAAAA | |
| markup.inserted, punctuation.definition.inserted | #AAAAAA | |
| markup.deleted, punctuation.definition.deleted | #EC3305 | |
| markup.changed, punctuation.definition.changed | #CCCCCC | |
| support.type.property-name.json | #AAAAAA | |
| string.quoted.double.json | #B36957 | italic |
| entity.name.tag.yaml | #AAAAAA | |
| string.regexp, constant.other.character-class.regexp, keyword.operator.quantifier.regexp, keyword.operator.or.regexp, punctuation.definition.group.regexp, punctuation.definition.character-class.regexp | #B36957 | |
| meta.decorator, punctuation.decorator, storage.type.annotation | #B36957 | |
| entity.name.namespace, entity.name.module, entity.name.scope-resolution | #CCCCCC | |
| invalid, invalid.illegal | #EC3305 | |
| invalid.deprecated | #777777 | strikethrough |
| variable.other.normal.shell, variable.other.special.shell, variable.other.positional.shell | #AAAAAA | |
| entity.name.package.go, entity.name.import.go | #AAAAAA | |
| storage.modifier.lifetime.rust, entity.name.lifetime.rust | #CCCCCC | italic |
| support.function.magic.python | #CCCCCC | bold |
| entity.name.function.decorator.python | #B36957 |
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}!`;
}