Kulay
Publisher: claideThemes in package: 2
Your simple code theme. Kulay Light for daytime use is now being added.
Your simple code theme. Kulay Light for daytime use is now being added.
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 | #72767D | italic |
| entity.name | #deca82 | — |
| entity.name.function | #66FCF1 | — |
| entity.other.attribute-name | #b2c0f3 | italic |
| constant | #de9c82 | — |
| constant.character.escape | #66FCF1 | — |
| entity.other.inherited-class | #43B581 | — |
| entity.other.attribute-name.id | #66FCF1 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #43B581 | — |
| entity.name.variable, variable | #8296de | — |
| keyword | #e8bcfc | italic |
| keyword.operator | #B9BBBE | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete | #D275FB | — |
| entity.name.tag | #8296de | |
| entity.name.type, storage.type.cs | #deca82 | — |
| keyword.other.unit | #de9c82 | — |
| markup.quote | #FAB795B3 | italic |
| markup.heading, entity.name.section | #8296de | — |
| markup.bold | #D275FB | bold |
| support.variable | #8296de | — |
| support.type.property-name, meta.object-literal.key | #8296de | — |
| support.type.property-name.css | #B9BBBE | — |
| variable.language | #deca82 | italic |
| variable.parameter | — | italic |
| string.template meta.embedded | #B9BBBE | — |
| markup.italic | #de9c82E6 | italic |
| markup.inline.raw, markup.fenced_code.block | #de9c82 | — |
| markup.underline.link | #43B581 | — |
| storage | #D275FB | italic |
| string.quoted, string.template | #5eb38d | — |
| string.regexp | #de9c82 | — |
| string.other.link | #de9c82 | — |
| punctuation.section.embedded | #D275FB | — |
| punctuation.definition.list | #de9c82 | — |
| support | #deca82 | — |
| support.function | #66FCF1 | — |
| punctuation.definition.tag | #B9BBBE | |
| punctuation.separator | #B9BBBE | — |
| punctuation.definition.template-expression | #D275FB | — |
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}!`;
}