Claudio Code Theme
Publisher: Matheus TelesThemes in package: 2
A warm terracotta-and-cream theme pair (dark + light) — soft backgrounds, pastel syntax, and muted accents for long coding sessions.
A warm terracotta-and-cream theme pair (dark + light) — soft backgrounds, pastel syntax, and muted accents for long coding sessions.
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 | #787878 | italic |
| comment.block.documentation | #8a8a86 | italic |
| keyword, keyword.control, keyword.operator.new, storage.type, storage.modifier | #e07890 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #e07890 | — |
| string, string.quoted, string.template | #a2c892 | — |
| constant.character.escape | #c89050 | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #e07890 | — |
| constant.numeric | #e07890 | — |
| constant.language.boolean, constant.language.null, constant.language.undefined | #e07890 | — |
| constant.language, constant.other | #e07890 | — |
| entity.name.function, meta.function entity.name.function | #b294da | — |
| meta.function-call entity.name.function, support.function | #b294da | — |
| variable, variable.other | #e0e0de | — |
| variable.parameter | #d97757 | — |
| variable.language | #e07890 | italic |
| variable.other.property, support.variable.property | #e0e0de | — |
| entity.name.type, entity.name.class, entity.name.interface, entity.name.enum, entity.other.inherited-class, support.class | #b294da | — |
| support.type, entity.name.type.primitive | #b294da | — |
| meta.decorator, entity.name.decorator, punctuation.decorator | #8bc4c8 | — |
| meta.object-literal.key, support.type.property-name | #e0e0de | — |
| keyword.operator | #e07890 | — |
| punctuation, meta.brace, meta.delimiter | #8a8a8a | — |
| entity.name.tag | #a2c892 | — |
| entity.other.attribute-name | #8bc4c8 | — |
| punctuation.definition.tag | #6a6a6a | — |
| string.quoted.double.html, string.quoted.single.html | #a2c892 | — |
| support.type.property-name.css | #8bc4c8 | — |
| support.constant.property-value.css | #a2c892 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #8bc4c8 | — |
| constant.numeric.css, keyword.other.unit.css | #e07890 | — |
| keyword.control.at-rule.css | #e07890 | — |
| support.type.property-name.json | #8bc4c8 | — |
| markup.heading, punctuation.definition.heading | #e07890 | bold |
| markup.bold | #e0e0de | bold |
| markup.italic | #e0e0de | italic |
| markup.inline.raw, markup.fenced_code.block | #8bc4c8 | — |
| markup.underline.link, string.other.link | #8fb3e0 | — |
| markup.list, punctuation.definition.list | #e07890 | — |
| markup.quote | #787878 | italic |
| invalid | #dd6a6e | underline |
| invalid.deprecated | #787878 | strikethrough |
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}!`;
}