Shadow Monarch Abyss
Publisher: PisethLokaaThemes in package: 4
A premium VS Code theme family inspired by Sung Jin-woo from Solo Leveling. Includes Void, Abyss, Light, and Twilight variants.
A premium VS Code theme family inspired by Sung Jin-woo from Solo Leveling. Includes Void, Abyss, Light, and Twilight variants.
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, comment.line, comment.block, punctuation.definition.comment | #34D399 | italic |
| variable, variable.other, variable.other.readwrite, variable.parameter, meta.block, meta.parameter.type.variable | #E2D9F3 | — |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, storage.type, storage.modifier, keyword.other.import, keyword.other.export | #C084FC | — |
| keyword.operator | #C4B5FD | — |
| punctuation, punctuation.separator, punctuation.terminator, meta.delimiter, punctuation.section, punctuation.definition.parameters, punctuation.definition.block, punctuation.definition.tag | #A78BFA | — |
| entity.name.function, support.function, meta.function-call, variable.function | #38BDF8 | — |
| support.function.react, support.function.builtin.react, entity.name.function.react, meta.function-call.react | #38BDF8 | italic |
| meta.decorator, entity.name.function.decorator, punctuation.decorator | #38BDF8 | italic |
| entity.name.type.class, entity.name.type.interface, entity.name.type, support.class, support.type | #C4B5FD | bold |
| string, string.quoted, string.quoted.double, string.quoted.single, string.template | #06B6D4 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #A78BFA | — |
| constant.numeric, constant.language, constant.other | #E11D48 | — |
| support.type.property-name.json, meta.object-key.json, meta.structure.dictionary.key.json | #C084FC | — |
| string.quoted.double.json, string.quoted.single.json | #06B6D4 | — |
| entity.name.tag, entity.name.tag.html, entity.name.tag.xml | #C084FC | — |
| entity.other.attribute-name, entity.other.attribute-name.html | #38BDF8 | — |
| string.quoted.double.html, string.quoted.single.html, string.unquoted.html | #06B6D4 | — |
| entity.name.tag.jsx, entity.name.tag.tsx, entity.name.tag.js | #C084FC | — |
| support.class.component.js, support.class.component.ts, support.class.component.tsx, entity.name.tag.open.jsx, entity.name.tag.close.jsx | #C4B5FD | bold |
| entity.other.attribute-name.jsx, entity.other.attribute-name.tsx, entity.other.attribute-name.js, entity.other.attribute-name.ts | #818CF8 | — |
| string.quoted.double.jsx, string.quoted.single.jsx, string.quoted.double.tsx, string.quoted.single.tsx | #06B6D4 | — |
| support.type.property-name.css, support.type.property-name.media.css | #C084FC | — |
| support.constant.property-value.css, support.constant.color.w3c-standard-color-name.css, constant.numeric.css | #06B6D4 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.name.tag.css | #C4B5FD | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #E2D9F3 | bold |
| markup.fenced_code.block, markup.inline.raw, markup.raw.block, punctuation.definition.raw.markdown | #06B6D4 | — |
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}!`;
}