CrimZen
Publisher: Eric SironThemes in package: 1
Color theme that mixes a light theme for the coding area with a dark theme for all other regions. Prioritizes legibility and reduced color harshness.
Color theme that mixes a light theme for the coding area with a dark theme for all other regions. Prioritizes legibility and reduced color harshness.
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 | #40752D | italic |
| comment.block.preprocessor | #386627 | |
| comment.documentation, comment.block.documentation | #437A2F | — |
| invalid.illegal | #A05E57 | — |
| keyword.operator | #6B6A63 | — |
| keyword, storage | #5143F0 | — |
| storage.type, support.type | #575650 | — |
| constant.language, support.constant, variable.language | #2D754E | — |
| variable, support.variable | #170034 | bold |
| entity.name.function, support.function | #5143F0 | bold |
| entity.name.type, entity.other.inherited-class, support.class | #2D7536 | bold |
| entity.name.exception | #790000 | — |
| entity.name.section | — | bold |
| constant.numeric, constant.character, constant | #362E22 | — |
| string | #75412D | — |
| constant.character.escape | #484848 | — |
| string.regexp | #8F9CC9 | — |
| constant.other.symbol | #AB6526 | — |
| punctuation | #070702 | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html | #787878 | — |
| meta.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #5E7491 | bold |
| entity.name.tag | #105A05 | bold |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #B14615 | italic |
| constant.character.entity, punctuation.definition.entity | #874F1F | — |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css | #4F627A | bold |
| meta.property-name, support.type.property-name | #AA3731 | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #105A05 | — |
| keyword.other.important | — | bold |
| markup.changed | #000000 | — |
| markup.deleted | #000000 | — |
| markup.italic | — | italic |
| markup.error | #660000 | — |
| markup.inserted | #000000 | — |
| meta.link | #3F6ECC | — |
| markup.output, markup.raw | #777777 | — |
| markup.prompt | #777777 | — |
| markup.heading | #AA3731 | — |
| markup.bold | — | bold |
| markup.traceback | #660000 | — |
| markup.underline | — | underline |
| markup.quote | #4F627A | — |
| markup.list | #3F6ECC | — |
| markup.bold, markup.italic | #105A05 | — |
| markup.inline.raw | #AB3E14 | |
| meta.diff.range, meta.diff.index, meta.separator | #434343 | — |
| meta.diff.header.from-file | #434343 | — |
| meta.diff.header.to-file | #434343 | — |
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}!`;
}