IKKI VSCode Light Theme
Publisher: IKKIThemes in package: 1
👁️🗨️ Eye Protection Light Theme for Visual Studio Code Powered by IKKI~
👁️🗨️ Eye Protection Light Theme for Visual Studio Code Powered by IKKI~
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.object-literal.key, support.type.property-name | #c39b8f | — |
| entity.name.type | #d770ad | — |
| constant | #da4453 | — |
| string, support.constant.property-value | #ff9800 | — |
| markup.quote | #f6bb42 | — |
| comment | #cccccc | — |
| keyword.operator, markup.inline.raw | #aab2bd | — |
| keyword | #8cc152 | — |
| entity.other, variable | #37bc9b | — |
| storage, markup.underline | #3bafda | — |
| entity.name.tag | #4a89dc | — |
| entity.name.function | #967adc | — |
| entity.name.section, markup.heading, support | #434a54 | — |
| markup.list | #8d634a | — |
| markup.inserted | #52c41a | — |
| markup.changed | #1890ff | — |
| invalid, markup.deleted | #ff4d4f | — |
| entity.name.section, markup.heading, strong, markup.bold | — | bold |
| support, emphasis, markup.italic | — | italic |
| invalid | — | underline |
| support.constant.property-value, support.type.property-name | — |
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}!`;
}