Specials Board
Publisher: Filip MaresThemes in package: 5
Warm chalkboard-inspired VS Code theme family with dark and light variants, including Classic, Contrast, Legacy, and Light.
Warm chalkboard-inspired VS Code theme family with dark and light variants, including Classic, Contrast, Legacy, and Light.
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 |
|---|---|---|
| source, text, meta.embedded, meta.template.expression, meta.interpolation | #e6e1dc | |
| punctuation, meta.brace, block.scope, function.brace | #e6e1dc | — |
| variable, support.variable, support.type.object | #cec8e8 | — |
| variable.parameter, function.parameter | #cec8e8 | — |
| keyword | #e6ae74 | — |
| storage, token.storage, token.package.keyword | #e6ae74 | — |
| keyword.operator | #e6e1dc | — |
| keyword.operator.word, keyword.operator.new, keyword.operator.delete, keyword.operator.expression, keyword.operator.module, keyword.operator.logical.python, keyword.operator.logical.ruby | #e6ae74 | — |
| entity.name.type, entity.name.class, entity.other.inherited-class, support.type, support.class, support.module, variable.other.class, token.package | #f1c782 | — |
| support.type.object, support.constant.math | #cec8e8 | — |
| entity.name.function, support.function, variable.function, keyword.other.special-method, support.token.decorator, meta.function.decorator.identifier, meta.function-call.generic.python | #e88e75 | — |
| string, punctuation.definition.string, punctuation.quasi.element, keyword.other.template | #b2c879 | — |
| constant, support.constant, variable.other.constant, variable.other.enummember, punctuation.definition.constant | #8aafcb | — |
| constant.numeric, keyword.other.unit | #8aafcb | — |
| entity.name.tag, punctuation.definition.tag | #f1c782 | — |
| entity.other.attribute-name, support.type.property-name, support.type.vendored.property-name, variable.other.property, variable.other.object.property, variable.object.property, support.variable.property, meta.object-literal.key, meta.mapping.key, meta.attribute.python | #d99c63 | — |
| support.type.property-name.json, support.type.property-name.json punctuation, meta.mapping.key string, entity.name.tag.yaml | #d99c63 | — |
| meta.selector, selector.sass, entity.other.attribute-name.class, entity.other.attribute-name.id, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #f1c782 | — |
| support.constant.property-value, support.constant.color, support.constant.font-name | #8aafcb | — |
| string.regexp, string.regex, string.regexp keyword, string.regexp keyword.operator, string.regexp variable, string.regexp punctuation, string.regexp punctuation.definition.string, string.regexp constant, string.regexp entity.name.tag, string.regexp storage.type.string, keyword.operator.regexp, keyword.operator.quantifier.regexp | #b798e3 | — |
| constant.character.escape, constant.character.format, constant.other.character-class.regexp, string.regexp constant.character.escape, string.regexp constant.other.character-class, string.regexp constant.character.character-class, string.regexp constant.other.character-class punctuation.definition.character-class, support.other.escape.regexp, support.other.escape.special.regexp, constant.character.set.regexp, constant.other.set.regexp | #cfa9f0 | — |
| constant.character.entity, constant.character.entity punctuation.definition.entity | #8aafcb | — |
| meta.template.expression, meta.interpolation | #e6e1dc | — |
| punctuation.definition.template-expression, punctuation.section.embedded, keyword.other.substitution, punctuation.section.interpolation | #e6e1dc | — |
| comment, punctuation.definition.comment, string.quoted.docstring | #b4a99d | italic |
| comment markup.link, comment string, comment keyword, comment variable, comment entity, comment punctuation | #b4a99d | italic |
| markup.heading, entity.name.section, punctuation.definition.heading | #f1c782 | bold |
| markup.bold, punctuation.definition.bold | #e6e1dc | bold |
| markup.italic, punctuation.definition.italic | #e6e1dc | italic |
| markup.bold markup.italic, markup.italic markup.bold | #e6e1dc | bold italic |
| markup.inline.raw, markup.raw | #b2c879 | |
| markup.fenced_code.block | #e6e1dc | |
| string.other.link.title, string.other.link.description, constant.other.reference.link | #e6e1dc | — |
| markup.underline.link | #8aafcb | underline |
| punctuation.definition.list, beginning.punctuation.definition.list | #e6ae74 | — |
| markup.quote, meta.separator | #b4a99d | — |
| markup.deleted | #f08d82 | — |
| markup.inserted | #b2c879 | — |
| markup.changed | #e6ae74 | — |
| meta.diff.header, punctuation.definition.from-file, punctuation.definition.to-file | #8aafcb | — |
| token.debug-token | #b4a99d | — |
| token.info-token | #8aafcb | — |
| token.warn-token | #f1c782 | — |
| token.error-token | #f08d82 | — |
| invalid | #f08d82 | underline |
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}!`;
}