Pastel Underwater Sun
Publisher: IrislucentThemes in package: 1
A tranquil and low-contrast Morandi-style color theme that infuses soft light and colors into the coding experience.
A tranquil and low-contrast Morandi-style color theme that infuses soft light and colors into the 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 | #9E9A95d0 | italic |
| comment.block.preprocessor | #9E9A95d0 | |
| comment.documentation, comment.block.documentation | #9E9A95d0 | — |
| invalid.illegal | — | — |
| keyword.operator | #8d5093e0 | — |
| keyword, storage | #de6f6fe0 | bold |
| storage.type, support.type | #c981bee0 | — |
| constant.language, support.constant, variable.language | #5aa19cf0 | — |
| variable, support.variable | #605a52 | — |
| variable.parameter.function.language.special.self | #6172b8e0 | — |
| variable.other.property | #605a52 | — |
| entity.name.function, support.function | #605a52 | — |
| entity.name.type, entity.other.inherited-class, support.class | #c98b2fe0 | — |
| entity.name.exception | #605a52 | italic bold |
| entity.name.section | #83577D | bold |
| constant.numeric, constant.character, constant | #959b4de0 | — |
| string | #749B4De0 | — |
| constant.character.escape | #5aa19ce0 | — |
| string.regexp | #886A44 | — |
| constant.other.symbol | #5aa19ce0 | — |
| punctuation | #bf3d9ae0 | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html | #9E9A95 | — |
| meta.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #9E9A95 | — |
| entity.name.tag | #83577De0 | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #556995 | — |
| constant.character.entity, punctuation.definition.entity | #5aa19ce0 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}