Macaron Dream Theme
Publisher: lilinThemes in package: 2
A premium pastel VS Code theme collection inspired by macaron desserts — soft, dreamy, elegant. Includes both Light and Dark themes for designers, AI creators, and indie developers.
A premium pastel VS Code theme collection inspired by macaron desserts — soft, dreamy, elegant. Includes both Light and Dark themes for designers, AI creators, and indie developers.
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 | #8A82A8 | italic |
| comment.line, comment.block | #8A82A8 | — |
| string | #FFD166 | — |
| string.quoted, string.unquoted | #FFD166 | — |
| constant.numeric | #B8A4FF | — |
| constant.language | #FF8FAB | — |
| constant.character.escape | #7DC8F7 | — |
| keyword | #FF8FAB | — |
| keyword.control | #B8A4FF | — |
| keyword.operator | #FF8FAB | — |
| storage.type, storage.modifier | #FF8FAB | — |
| storage.modifier | #B8A4FF | — |
| entity.name.function | #7BDCB5 | — |
| entity.name.type, entity.name.class, entity.name.namespace | #7BDCB5 | — |
| entity.other.inherited-class | #7BDCB5 | — |
| variable | #7DC8F7 | — |
| variable.parameter | #A9B6E8 | — |
| variable.other.constant | #B8A4FF | — |
| support.function | #7BDCB5 | — |
| support.type, support.class | #7BDCB5 | — |
| support.constant | #B8A4FF | — |
| punctuation, meta.brace | #8C84B0 | — |
| entity.name.tag | #FF8FAB | — |
| entity.other.attribute-name | #7BDCB5 | — |
| markup.heading | #FF8FAB | bold |
| markup.bold | #E6E1F2 | bold |
| markup.italic | — | italic |
| markup.inserted | #7BDCB5 | — |
| markup.deleted | #FF8FAB | — |
| meta.diff.range, meta.separator | #B8A4FF | — |
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 | #9A8AA2 | italic |
| comment.line, comment.block | #9A8AA2 | — |
| string | #C9883C | — |
| string.quoted, string.unquoted | #C9883C | — |
| constant.numeric | #5FA8C9 | — |
| constant.language | #D96A8A | — |
| constant.character.escape | #5FA8C9 | — |
| keyword | #9B7BE8 | — |
| keyword.control | #B08CFF | — |
| keyword.operator | #E07BA8 | — |
| storage.type, storage.modifier | #9B7BE8 | — |
| storage.modifier | #B08CFF | — |
| entity.name.function | #4FAE8C | — |
| entity.name.type, entity.name.class, entity.name.namespace | #4FAE8C | — |
| entity.other.inherited-class | #4FAE8C | — |
| variable | #D96A8A | — |
| variable.parameter | #D96A8A | — |
| variable.other.constant | #5FA8C9 | — |
| support.function | #4FAE8C | — |
| support.type, support.class | #4FAE8C | — |
| support.constant | #5FA8C9 | — |
| punctuation, meta.brace | #C9A9C2 | — |
| entity.name.tag | #E07BA8 | — |
| entity.other.attribute-name | #4FAE8C | — |
| markup.heading | #9B7BE8 | bold |
| markup.bold | #5A4A5E | bold |
| markup.italic | — | italic |
| markup.inserted | #4FAE8C | — |
| markup.deleted | #E07BA8 | — |
| meta.diff.range, meta.separator | #5FA8C9 | — |
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}!`;
}