Monokai Dimmed+Vibrant
Publisher: alexravennaThemes in package: 1
A color theme based on the gray-tone editor colors of Monokai Dimmed and the vibrant text colors of Monokai Vibrant
A color theme based on the gray-tone editor colors of Monokai Dimmed and the vibrant text colors of Monokai Vibrant
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.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 | italic |
| keyword.type | #19D1E5 | |
| support | #19D1E5 | |
| support.function | #81F900 | |
| support.class | #45A1ED | |
| support.class.component | #FF3F4F | |
| support.class.builtin | #45A1ED | |
| markup.underline | #19D1E5 | |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}