manjulika-theme
Publisher: manjulika-by-monuThemes in package: 2
Deep sindoor red and warm temple yellow blend like fire and ritual, creating a powerful, haunting presence.
Deep sindoor red and warm temple yellow blend like fire and ritual, creating a powerful, haunting presence.
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 | #5f7e97 | italic |
| string | #FFEB95 | — |
| constant.numeric, constant.character.numeric | #FFD25F | |
| constant.language, punctuation.definition.constant, variable.other.constant | #FF5874 | — |
| constant.character.escape | #FF7F66 | — |
| variable | #d6deeb | — |
| punctuation.accessor, keyword | #FF6B6B | italic |
| storage, meta.var.expr, storage.type.property.js, storage.type.property.ts | #FF6B6B | italic |
| storage.type | #FF6B6B | — |
| entity.name.class, meta.class entity.name.type.class | #FFD25F | — |
| entity.other.inherited-class | #FFEB95 | — |
| entity.name.function | #FFD25F | italic |
| entity.name.tag, meta.tag.js, meta.tag.tsx, meta.tag.html | #FF5874 | |
| entity.other.attribute-name | #FFEB95 | italic |
| support.function, support.constant | #FFD25F | — |
| support.type, support.class | #FFEB95 | — |
| invalid | #ffffff | — |
| keyword.operator | #FF7F66 | |
| keyword.operator.relational | #FF6B6B | italic |
| keyword.operator.logical | #FF6B6B | |
| constant.language.boolean | #FF5874 | — |
| constant.language.null | #FF5874 | — |
| meta.brace | #FFD25F | — |
| variable.language | #FF7F66 | — |
| variable.interpolation | #FF6B6B | — |
| meta.function-call | #FFD25F | — |
| meta.property-name | #FFEB95 | — |
| entity.name.tag.custom | #FF7F66 | — |
| entity.other.attribute-name.id | #FFD25F | — |
| markup.bold | #FFEB95 | bold |
| markup.italic | #FF7F66 | italic |
| markup.heading | #FF5874 | bold |
| markup.quote | #5f7e97 | italic |
| markup.raw | #FFEB95 | — |
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}!`;
}