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 | #8C8C8C | italic |
| string | #2E7D32 | |
| keyword | #AF00DB | |
| variable | #C41A16 | |
| entity.name.function | #2B5B84 | |
| constant.numeric | #1C00CF | |
| storage.type, storage.modifier | #AF00DB | bold |
| entity.name.type | #0097A7 | |
| keyword.operator | #000000 | |
| markup.heading | #2E7D32 | bold |
| markup.underline.link, string.other.link | #0097A7 | |
| markup.italic | #E67E22 | italic |
| markup.bold | #E67E22 | bold |
| markup.italic markup.bold, markup.bold markup.italic | #E67E22 | bold italic |
| markup.raw | #8C8C8C | |
| markup.raw.inline | #8C8C8C | |
| meta.separator | #8C8C8C | bold |
| markup.quote | #2E7D32 | italic |
| markup.list punctuation.definition.list.begin | #CC7700 | |
| markup.inserted | #2E7D32 | |
| markup.changed | #0097A7 | |
| markup.deleted | #E74C3C | |
| markup.strike | #CC7700 | |
| markup.table | #0097A7 | |
| source.ts meta.interface meta.field.declaration meta.type.annotation keyword.operator.type.annotation, source meta.type meta.object.type keyword.operator | #4D4D4D | |
| source.ts punctuation.definition.typeparameters.begin, source.ts punctuation.definition.typeparameters.end | #AF00DB | |
| source meta.block | #4D4D4D | |
| source punctuation.separator.comma | #E67E22 | |
| source punctuation.terminator, source punctuation.separator.key-value | #4D4D4D | |
| source punctuation.definition.template-expression.begin, source punctuation.definition.template-expression.end | #2E7D32 | |
| source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag | #0097A7 | |
| source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type | #8C8C8C | |
| support.type.property-name | #4D4D4D | |
| support.constant | #CC7700 | |
| storage.type.class | #AF00DB | bold |
| meta.decorator variable.other, meta.decorator punctuation.decorator, storage.type.annotation, variable.annotation, punctuation.definition.annotation | #CC7700 |
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}!`;
}