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 | #253037 | italic |
| constant | #A33B45 | — |
| constant.numeric, constant.language, constant.charcter.escape | #B87878 | — |
| entity.name | #B87878 | — |
| entity.name.section, entity.name.tag, entity.name.namespace, entity.name.type | #8C3037 | — |
| entity.other.attribute-name, entity.other.inherited-class | #B1BAC9 | italic |
| invalid | #BD4450 | — |
| invalid.deprecated | #575757 | — |
| keyword | #A33B45 | — |
| meta.tag, meta.brace | #868686 | — |
| meta.import, meta.export | #A33B45 | — |
| meta.directive.vue | #B1BAC9 | italic |
| meta.property-name.css | #8C3037 | — |
| meta.property-value.css | #989898 | — |
| meta.tag.other.html | #575757 | — |
| punctuation | #575757 | — |
| punctuation.accessor | #A33B45 | — |
| punctuation.definition.string | #989898 | — |
| punctuation.definition.tag | #434343 | — |
| storage.type, storage.modifier | #A33B45 | — |
| string | #989898 | — |
| support | #8C3037 | — |
| support.constant | #989898 | — |
| support.function | #BD4450 | italic |
| variable | #B87878 | italic |
| variable.other, variable.language, variable.function, variable.argument | #B1BAC9 | — |
| variable.parameter | #B1BAC9 | — |
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}!`;
}