Afterglow Monokai Dark
Publisher: Vladislav ArtyukhovThemes in package: 1
Inspired by Afterglow Monokai, redesigned dark theme with dimmed color palette.
Inspired by Afterglow Monokai, redesigned dark theme with dimmed color palette.
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 |
|---|---|---|
| — | #d6d6d6 | — |
| comment | #797979 | — |
| string | #DABD80 | — |
| constant.numeric | #9e86c8 | — |
| constant.language | #9e86c8 | — |
| constant.character, constant.other | #9e86c8 | — |
| variable.other | #a1b9cb | — |
| entity.name.type.class.coffee | #b4c973 | — |
| keyword | #b05279 | — |
| storage | #b05279 | |
| storage.type | #249d5f | — |
| entity.name.class | #b4c973 | — |
| entity.other.inherited-class | #7cc39e | — |
| entity.name.function | #b4c973 | |
| variable.parameter | #E87D3E | — |
| entity.name.tag | #b05279 | |
| entity.other.attribute-name | #b4c973 | |
| support.function | #6c99bb | |
| support.constant | #6c99bb | |
| support.type, support.class | #249D5F | — |
| support.other.variable | — | |
| invalid | #F8F8F0 | |
| invalid.deprecated | #F8F8F0 | — |
| meta.structure.dictionary.json string.quoted.double.json | #cfcfcf | — |
| meta.diff, meta.diff.header | #767676 | — |
| markup.deleted | #b05279 | — |
| markup.inserted | #b4c973 | — |
| markup.changed | #E5B567 | — |
| constant.numeric.line-number.find-in-files - match | #9e86c8A0 | — |
| entity.name.filename.find-in-files | #E5B567 | — |
| markup.bold, punctuation.definition.bold, todo.bold | #E87D3E | bold |
| markup.italic, punctuation.definition.italic, todo.italic | #B05279 | italic |
| markup.deleted.git_gutter | #E87D3E | — |
| markup.inserted.git_gutter | #B4C973 | — |
| markup.changed.git_gutter | #E5B567 | — |
| markup.ignored.git_gutter | #C0C5CE | — |
| markup.untracked.git_gutter | #EFF1F5 | — |
| meta.tag.other.unrecognized.html.derivative entity.name.tag.html, support.class.component | #7CC39E | — |
| storage.type.function.arrow | #d6d6d6 | — |
| keyword.operator.address | #D4D4D4 | — |
| variable.object.property, meta.object-literal, variable.parameter, support.type | #a1b9cb | — |
| support.type.builtin | #9E86C8 | — |
| variable.language.this, variable.language.super | #776e8d | — |
| storage.type.class, storage.type.interface, storage.type.enum, storage.type.type, storage.type.trait | #B05279 | — |
| entity.name.type, entity.name.type.module | #7cc39e | — |
| support.function.construct, entity.name.function.support.builtin, support.type.property-name.table.toml | #249d5f | — |
| entity.name.function | #98C379 | — |
| entity.name.tag.yaml, support.type.property-name.toml | #7cc39e | — |
| support.type.primitive | #249D5F | — |
| #9e86c8 | — | |
| meta.attribute.php | — | — |
| meta.attribute.php support.other.namespace.php | #797979 | italic |
| support.attribute.php | #AAAAAA | italic |
| entity.name.variable.parameter.php | #AAAAAA | italic |
| support.class.php | #7cc39e | — |
| support.class.builtin.php, keyword.other.type.php | #249D5F | — |
| keyword.operator.nullable-type.php | #D6D6D6 | — |
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}!`;
}