Shan's High Contrast Monokai
Publisher: shantaramThemes in package: 1
A heavily customized, high-moderate contrast Monokai theme. Optimised for red-green color-weak users, such as myself.
A heavily customized, high-moderate contrast Monokai theme. Optimised for red-green color-weak users, such as myself.
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 | #ABABAB | |
| storage.type.class.jsdoc | #19D1E5 | |
| variable.other.jsdoc | #FFFFFF | |
| keyword.operator | #FF3F4F | |
| storage.modifier | #FF3F4F | |
| storage.type | #19D1E5 | |
| entity.name.function, meta.function-call.generic | #81F900 | |
| entity.name.type | #45A1ED | |
| entity.other.inherited-class | #81F900 | |
| entity.name.tag | #FF3F4F | |
| entity.name.section | #FF3F4F | |
| entity.other.attribute-name | #81F900 | |
| variable.language | #FF3F4F | |
| constant.character.escape | #bf23fe | |
| constant.other.placeholder | #bf23fe | |
| constant.language | #19D1E5 | |
| variable.parameter | #FF9700 | |
| string | #FFD945 | |
| constant.numeric | #FF4DFF | |
| constant.language.boolean, constant.language.json | #FF4DFF | |
| variable.other.property | #FFFFFF | |
| variable.other.object | #45A1ED | |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.definition.interpolation.begin.bracket.curly, punctuation.definition.interpolation.end.bracket.curly | #FF3F4F | |
| punctuation.accessor, punctuation.definition.entity | #FFFFFF | |
| punctuation.separator.key-value | #FF3F4F | |
| punctuation.separator.key-value.mapping | #FFFFFF | |
| punctuation.definition.heading | #ABABAB | |
| keyword | #FF3F4F | |
| keyword.type | #19D1E5 | |
| support | #19D1E5 | |
| support.function | #81F900 | |
| support.class | #45A1ED | |
| support.class.component | #FF3F4F | |
| support.class.builtin | #45A1ED | |
| markup.underline | #19D1E5 | |
| entity.name.function | #64D441 | — |
| support.function | #64D441 | — |
| comment | #A7A7A7 | italic |
| variable | #FFFFFF | — |
| string | #F8F555 | — |
| keyword.operator, storage.modifier, entity.name.tag, entity.name.section, variable.language, punctuation.separator.key-value, keyword, support.class.component | #FFA0A8 | — |
| entity.other.attribute-name | — | italic |
| support.type.property-name | #FFA0A8 | italic |
| variable.parameter | — | italic |
| support.class, support.class.builtin, entity.name.type, variable.other.object | #FFFFFF | |
| markup.underline, storage.type.class.jsdoc, storage.type, constant.language, keyword.type, support | #00AEFF | italic |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| string.other.link.title.markdown,string.other.link.description.markdown | #AE81FF | — |
| markup.italic, markup.italic.markdown | — | italic |
| punctuation.definition.italic.markdown, punctuation.definition.bold.markdown, punctuation.definition.heading.markdown | #676f7d | — |
| punctuation.definition.italic.markdown | — | italic |
| markup.underline.link.markdown | — | — |
| markup.bold.markdown | — | bold |
| markup.heading.markdown | #e06c75 | bold |
| markup.quote.markdown | #98c379 | — |
| meta.separator.markdown | #c678dd | bold |
| markup.raw.inline.markdown, markup.raw.block.markdown | #56b6c2 | — |
| punctuation.definition.list_item.markdown | #303030 | bold |
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}!`;
}