Blush Cloud Theme
Publisher: lilinThemes in package: 2
A soft, dreamy VS Code theme of blush pink clouds, warm cream paper and a misty blue sky. Light & dark.
A soft, dreamy VS Code theme of blush pink clouds, warm cream paper and a misty blue sky. Light & dark.
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 | #B8AAB8 | italic |
| string | #CFAFAF | — |
| string.regexp | #CFAFAF | — |
| constant.numeric | #91A9D8 | — |
| constant.language | #91A9D8 | — |
| constant.character.escape | #C58DB5 | — |
| keyword | #C58DB5 | — |
| keyword.control | #C58DB5 | — |
| keyword.operator | #A8A6D8 | — |
| storage | #C58DB5 | — |
| storage.type | #C58DB5 | — |
| entity.name.function | #A8A6D8 | — |
| support.function | #A8A6D8 | — |
| entity.name.type | #91A9D8 | — |
| entity.name.class | #91A9D8 | — |
| entity.name.namespace | #91A9D8 | — |
| entity.other.attribute-name | #C58DB5 | — |
| variable | #3A3340 | — |
| variable.parameter | #7A6E82 | — |
| support.type | #91A9D8 | — |
| support.class | #91A9D8 | — |
| support.constant | #91A9D8 | — |
| entity.name.tag | #C58DB5 | — |
| meta.tag | #7A6E82 | — |
| punctuation.definition.tag | #B8AAB8 | — |
| markup.bold | #C58DB5 | bold |
| markup.italic | — | italic |
| markup.heading | #91A9D8 | bold |
| markup.link | #91A9D8 | — |
| invalid | #D2738F | — |
| meta.diff.header | #B8AAB8 | — |
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 | #9D8FA5 | italic |
| string | #EADBDD | — |
| string.regexp | #EADBDD | — |
| constant.numeric | #91B5E8 | — |
| constant.language | #91B5E8 | — |
| constant.character.escape | #D9A6C7 | — |
| keyword | #D9A6C7 | — |
| keyword.control | #D9A6C7 | — |
| keyword.operator | #B7A7E8 | — |
| storage | #D9A6C7 | — |
| storage.type | #D9A6C7 | — |
| entity.name.function | #B7A7E8 | — |
| support.function | #B7A7E8 | — |
| entity.name.type | #91B5E8 | — |
| entity.name.class | #91B5E8 | — |
| entity.name.namespace | #91B5E8 | — |
| entity.other.attribute-name | #D9A6C7 | — |
| variable | #E6DCEE | — |
| variable.parameter | #C3B6D2 | — |
| support.type | #91B5E8 | — |
| support.class | #91B5E8 | — |
| support.constant | #91B5E8 | — |
| entity.name.tag | #D9A6C7 | — |
| meta.tag | #C3B6D2 | — |
| punctuation.definition.tag | #9D8FA5 | — |
| markup.bold | #D9A6C7 | bold |
| markup.italic | — | italic |
| markup.heading | #91B5E8 | bold |
| markup.link | #91B5E8 | — |
| invalid | #F08AA6 | — |
| meta.diff.header | #9D8FA5 | — |
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}!`;
}