Blank Theme
Publisher: kiritocode1Themes in package: 4
An Elegant and Minimalist Theme for Cursor/VS Code.
An Elegant and Minimalist Theme for Cursor/VS Code.
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 | #43444D | italic |
| constant | #648f68 | — |
| constant.numeric, constant.language, constant.charcter.escape | #a27e57 | — |
| entity.name | #a27e57 | — |
| entity.name.section, entity.name.tag, entity.name.namespace, entity.name.type | #5c87a4 | — |
| entity.other.attribute-name, entity.other.inherited-class | #e8b246 | italic |
| invalid | #829fa7 | — |
| invalid.deprecated | #575861 | — |
| keyword | #648f68 | — |
| meta.tag, meta.brace | #868690 | — |
| meta.import, meta.export | #648f68 | — |
| meta.directive.vue | #e8b246 | italic |
| meta.property-name.css | #5c87a4 | — |
| meta.property-value.css | #da674b | — |
| meta.tag.other.html | #575861 | — |
| punctuation | #575861 | — |
| punctuation.accessor | #648f68 | — |
| punctuation.definition.string | #da674b | — |
| punctuation.definition.tag | #43444D | — |
| storage.type, storage.modifier | #648f68 | — |
| string | #da674b | — |
| support | #5c87a4 | — |
| support.constant | #da674b | — |
| support.function | #829fa7 | italic |
| variable | #a27e57 | italic |
| variable.other, variable.language, variable.function, variable.argument | #868690 | — |
| variable.parameter | #e8b246 | — |
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}!`;
}