Hibiscus Theme
Publisher: Colin LienardThemes in package: 1
A warm, cosy, pastel VSCode theme
A warm, cosy, pastel VSCode theme
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, string.comment | #67747c | — |
| delimiter.bracket, delimiter, invalid.illegal.character-not-allowed-here.html, keyword.operator.rest, keyword.operator.spread, keyword.operator.type.annotation, keyword.operator.relational, keyword.operator.assignment, meta.brace, meta.tag.block.any.html, meta.tag.inline.any.html, meta.tag.structure.input.void.html, meta.type.annotation, meta.embedded.block.github-actions-expression, storage.type.function.arrow, keyword.operator.type, meta.objectliteral.ts, punctuation | #67747c | — |
| constant, entity.name.constant, variable.language, meta.definition.variable, variable.other.constant, support.constant, entity.name.type.svelte, entity.other.attribute-name.html.vue | #3d9b93 | — |
| entity, entity.name, entity.name.function, meta.style, entity.name.type.class, support.class.component, meta.property-value | #d28677 | — |
| variable.parameter.function, text.html.derivative, storage.modifier.package, storage.modifier.import, storage.type.java | #9fabb1 | — |
| entity.name.tag, tag.html, keyword, storage.type.class.jsdoc | #bb6473 | — |
| storage, storage.type, support.type.builtin, constant.language.undefined, constant.language.null, keyword.other.unit, entity.other.attribute-name.class.css | #d06678 | — |
| string, string punctuation.section.embedded source, attribute.value, punctuation.definition.string, string variable, string.regexp.character-class, string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition, constant.other.reference.link, string.other.link, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown | #ce8694 | — |
| invalid.deprecated.entity.other.attribute-name.html, variable, identifier | #67b397 | — |
| punctuation.support.type.property-name, support.type.property-name, property, meta.property-name, meta.object-literal.key, entity.name.tag.yaml, attribute.name, variable.other.property, entity.other.attribute-name | #c7a18f | — |
| parameter, variable.parameter, support.constant.property-value.css | #cb979a | — |
| support.type.primitive, entity.name.type, support.function.misc | #8092d2 | — |
| namespace, entity.name.namespace | #9a88d2 | — |
| keyword.operator.assignment.compound, meta.var.expr.ts | #bfbfbf | — |
| invalid.broken | — | italic |
| invalid.deprecated | — | italic |
| invalid.illegal | — | italic |
| invalid.unimplemented | — | italic |
| carriage-return | — | italic underline |
| message.error | — | — |
| source.regexp, string.regexp | #bfbfbf | — |
| string.regexp constant.character.escape | — | — |
| constant.numeric, number | #85be8f | — |
| constant.language.boolean, constant.language | #66abc7 | — |
| meta.module-reference | — | — |
| punctuation.definition.list.begin.markdown | — | — |
| markup.heading, markup.heading entity.name | — | bold |
| markup.quote | #9a88d2 | — |
| markup.italic | #9fabb1 | italic |
| markup.bold | #9fabb1 | bold |
| markup.raw | — | — |
| markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted | — | — |
| markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted | — | — |
| markup.changed, punctuation.definition.changed | — | — |
| markup.ignored, markup.untracked | — | — |
| meta.diff.range | — | bold |
| meta.diff.header | — | — |
| meta.separator | — | bold |
| meta.output | — | — |
| brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote | — | — |
| brackethighlighter.unmatched | — | — |
| markup.underline.link.markdown | — | underline |
| type.identifier | #bb6473 | — |
| invalid.illegal.unrecognized-tag.html | — | normal |
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}!`;
}