Claude Themes
Publisher: pnyroThemes in package: 2
Warm, sophisticated dark and light themes for VSCode inspired by Claude's brand identity
Warm, sophisticated dark and light themes for VSCode inspired by Claude's brand identity
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python | #d4cfc8 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #C15F3C | — |
| comment | #7a7469 | italic |
| constant.language | #C15F3C | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #b5a890 | — |
| constant.regexp | #8b7d6b | — |
| entity.name.tag | #C15F3C | — |
| entity.name.tag.css, entity.name.tag.less | #d4a574 | — |
| entity.other.attribute-name | #B1ADA1 | — |
| entity.other.attribute-name.class.css, source.css entity.other.attribute-name.class, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.parent.less, source.css entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss | #d4a574 | — |
| invalid | #f85149 | — |
| markup.underline | — | underline |
| markup.bold | #C15F3C | bold |
| markup.heading | #C15F3C | bold |
| markup.italic | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #b5a890 | — |
| markup.deleted | #ce9178 | — |
| markup.changed | #C15F3C | — |
| punctuation.definition.quote.begin.markdown | #7a7469 | — |
| punctuation.definition.list.begin.markdown | #d97b5a | — |
| markup.inline.raw | #ce9178 | — |
| punctuation.definition.tag | #8f8878 | — |
| meta.preprocessor, entity.name.function.preprocessor | #C15F3C | — |
| meta.preprocessor.string | #ce9178 | — |
| meta.preprocessor.numeric | #b5a890 | — |
| meta.structure.dictionary.key.python | #B1ADA1 | — |
| meta.diff.header | #C15F3C | — |
| storage | #C15F3C | — |
| storage.type | #C15F3C | — |
| storage.modifier, keyword.operator.noexcept | #C15F3C | — |
| string, meta.embedded.assembly | #ce9178 | — |
| string.tag | #ce9178 | — |
| string.value | #ce9178 | — |
| string.regexp | #d16969 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #C15F3C | — |
| meta.template.expression | #d4cfc8 | — |
| support.type.vendored.property-name, support.type.property-name, source.css variable, source.coffee.embedded | #B1ADA1 | — |
| keyword | #C15F3C | — |
| keyword.control | #C15F3C | — |
| keyword.operator | #d4cfc8 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #C15F3C | — |
| keyword.other.unit | #b5a890 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #C15F3C | — |
| support.function.git-rebase | #B1ADA1 | — |
| constant.sha.git-rebase | #b5a890 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4cfc8 | — |
| variable.language | #C15F3C | — |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #dab892 | — |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #9fb3a6 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class, punctuation.separator.namespace.ruby | #9fb3a6 | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.directive.using, keyword.other.operator, entity.name.operator | #c88a91 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder | #B1ADA1 | — |
| variable.other.constant, variable.other.enummember | #a39888 | — |
| meta.object-literal.key | #B1ADA1 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #ce9178 | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #ce9178 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #d16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #dab892 | — |
| keyword.operator.quantifier.regexp | #d4a574 | — |
| constant.character, constant.other.option | #C15F3C | — |
| constant.character.escape | #d4a574 | — |
| entity.name.label | #c8c4bc | — |
| token.info-token | #d97b5a | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
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}!`;
}