Claude Light Theme
Publisher: LumidewThemes in package: 1
A warm and comfortable light theme inspired by Claude AI's web interface
A warm and comfortable light theme inspired by Claude AI's web interface
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 | #6F6F78 | italic |
| keyword, storage.modifier, keyword.operator.new, keyword.operator.delete, keyword.operator.logical | #D73A83 | — |
| storage.type, entity.name.type, entity.name.class, support.type, support.class | #8A46CE | — |
| entity.name.function, support.function | #1F6FE4 | — |
| constant.numeric | #2D8F8F | — |
| string | #26831A | — |
| variable.parameter | #B56613 | — |
| variable, meta.definition.variable | #1F1E1D | — |
| keyword.control.directive.include, punctuation.definition.directive | #D73A83 | |
| string.include, punctuation.definition.string.begin.include, punctuation.definition.string.end.include | #2D8F8F | — |
| punctuation | #1F1E1D | — |
| entity.name.tag, meta.tag.sgml.html, markup.deleted.git_gutter | #D73A83 | — |
| entity.other.attribute-name, entity.other.attribute-name.html | #1F6FE4 | — |
| string.quoted.double.html, string.quoted.single.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #26831A | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #6F6F78 | — |
| support.type.property-name.css, meta.property-name.css | #B56613 | — |
| support.constant.property-value.css, meta.property-value.css, constant.numeric.css, keyword.other.unit.css | #2D8F8F | — |
| punctuation.separator.key-value.css, punctuation.terminator.rule.css | #1F1E1D | — |
| punctuation.section.property-list.begin.css, punctuation.section.property-list.end.css | #6F6F78 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #8A46CE | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}
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}!`;
}