JD's Abyss
Publisher: Jean-Denis BoivinThemes in package: 1
A dark theme inspired by Gerry's Abyss theme from JetBrains IDEs. Features deep blues and purples with orange accents for a comfortable coding experience.
A dark theme inspired by Gerry's Abyss theme from JetBrains IDEs. Features deep blues and purples with orange accents for a comfortable coding experience.
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 | #808080 | italic |
| string, string.quoted, string.template | #98d280 | — |
| constant.numeric | #26d2ff | — |
| constant.language.boolean | #ffe169 | — |
| constant, constant.language, constant.character | #98d280 | — |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof | #e18cf5 | — |
| storage, storage.type, storage.modifier | #e18cf5 | — |
| entity.name.function, meta.function-call, support.function, keyword.other.special-method | #ffe169 | — |
| entity.name.class, entity.name.type.class, support.class | #ffe169 | — |
| entity.name.type.interface | #ffe169 | — |
| entity.name.type, support.type | #ffe169 | — |
| variable, variable.other | #d0d0d9 | — |
| variable.parameter | #61afff | — |
| variable.other.property, variable.other.object.property, variable.other.constant.property, support.variable.property | #ff7373 | — |
| variable.language.this, variable.language.super | #ff7373 | — |
| entity.other.attribute-name | #ffe169 | — |
| entity.name.tag, meta.tag.tsx, meta.tag.sgml | #ff7373 | — |
| keyword.operator | #d0d0d9 | — |
| punctuation.definition.string, punctuation.definition.variable, punctuation.definition.parameters, punctuation.definition.array | #d0d0d9 | — |
| support.type.property-name.css, support.type.vendored.property-name.css | #d0d0d9 | — |
| support.constant.property-value.css, support.constant.font-name.css, support.constant.media.css, support.constant.color.css | #d0d0d9 | — |
| support.function.css | #61afff | — |
| constant.other.color.css, constant.other.color.rgb-value.hex.css | #17bbdd | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #17bbdd | — |
| support.type.property-name.json | #ff7373 | — |
| markup.heading, markup.heading entity.name | #50b4be | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.inline.raw, markup.fenced_code.block | #98d280 | — |
| markup.underline.link | #61afff | — |
| invalid, invalid.illegal | #dd3962 | — |
| invalid.deprecated | #b9c3cd | strikethrough |
| constant.character.escape | #17bbdd | — |
| string.regexp | #17bbdd | — |
| meta.decorator, meta.decorator punctuation.decorator | #ffe169 | — |
| punctuation.definition.template-expression, meta.template.expression | #ff7373 | — |
| meta.diff.header | #61afff | — |
| markup.deleted | #ff7373 | — |
| markup.inserted | #98d280 | — |
| markup.changed | #ffe169 | — |
| meta.tag.tsx | #898989 | — |
| entity.other.attribute-name | #17bbdd | — |
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}!`;
}