Abyssal
Publisher: zen0xThemes in package: 13
A clean dark theme
A clean dark theme
Full workbench mockup using this variant's colors and tokenColors.
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 | #1e3e28 | italic |
| string, string.quoted, string.template | #39d353 | — |
| string.escape, constant.character.escape | #00d9ff | — |
| keyword, keyword.control, keyword.operator.new, keyword.other | #39d353 | bold |
| keyword.operator | #7acc82 | — |
| storage, storage.type, storage.modifier | #39d353 | bold |
| constant, constant.language, constant.numeric, constant.other | #00d9ff | — |
| constant.numeric, number | #00d9ff | — |
| variable, variable.other | #b8ffb8 | — |
| variable.language, variable.other.predefined | #39d353 | — |
| entity.name.function, meta.function-call, support.function | #00d9ff | — |
| entity.name.type, entity.name.class, entity.name.namespace, support.class | #ffaa00 | — |
| entity.name.tag, meta.tag | #39d353 | — |
| entity.other.attribute-name | #ffaa00 | — |
| support.type, support.class | #ffaa00 | — |
| support.constant | #00d9ff | — |
| invalid, invalid.illegal | #ff4444 | — |
| invalid.deprecated | #ffaa00 | strikethrough |
| punctuation, meta.brace | #3a7a44 | — |
| punctuation.definition.tag | #2a5a2a | — |
| meta.preprocessor, keyword.control.import, keyword.control.export | #39d353 | — |
| markup.heading | #39d353 | bold |
| markup.bold | #b8ffb8 | bold |
| markup.italic | #b8ffb8 | italic |
| markup.underline.link, string.other.link | #00d9ff | underline |
| markup.inserted | #39d353 | — |
| markup.deleted | #ff4444 | — |
| markup.changed | #ffaa00 | — |
| markup.inline.raw, markup.fenced_code.block | #4afa72 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
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}!`;
}