Jin Code Themes - Zen Collection
Publisher: JijinThemes in package: 5
Thoughtfully crafted minimal light and dark theme for peaceful, distraction-free coding
Thoughtfully crafted minimal light and dark theme for peaceful, distraction-free coding
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 | #4D4D4D | italic |
| string, string.template | #00FF00 | — |
| constant.numeric | #FF00FF | — |
| keyword, storage.type, storage.modifier | #FF00FF | bold |
| entity.name.function, support.function | #FFD700 | |
| entity.name.type, entity.name.class, entity.name.namespace | #00FFFF | bold |
| variable, variable.other | #FF69B4 | — |
| variable.parameter | #FF69B4 | italic |
| variable.other.property, variable.other.object.property | #E6E6E6 | — |
| keyword.operator | #FF00FF | bold |
| punctuation, meta.brace | #E6E6E6 | — |
| markup.heading | #FF00FF | bold |
| markup.inline.raw | #00FFFF | — |
| markup.bold | #FFD700 | bold |
| markup.italic | #FF69B4 | italic |
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}!`;
}