soft era
Publisher: soft aestheticThemes in package: 1
πΈ Light pastel syntax theme for soft, warm, cozy, cute coding & typing π±
πΈ Light pastel syntax theme for soft, warm, cozy, cute coding & typing π±
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 |
|---|---|---|
| β | #c29ba3 | β |
| variable.parameter, variable.parameter.function | #c9afe0 | β |
| comment, punctuation.definition.comment | #d9c8c8 | italic |
| punctuation, punctuation.definition.variable, punctuation.definition.parameters, punctuation.definition.array, meta.brace | #e2d1d1 | β |
| punctuation.definition.template-expression, punctuation.definition.interpolation, variable.interpolation | #e4bcbf | β |
| punctuation.separator | #e4bcbf | β |
| punctuation.separator.key-value, punctuation.accessor | #e4bcbf | β |
| keyword.operator | #da8fbd | β |
| keyword.operator.expression | #da8fbd | β |
| keyword | #958ac5 | β |
| keyword.control, punctuation.definition.keyword | #4a4543d2 | normal |
| variable | #b4addf | β |
| variable.language.this | #e4bcbf | β |
| storage | #c9afe0 | β |
| meta.class, support.class, entity.name.class, entity.name.type.class, entity.other.attribute-name.class, entity.other.attribute-name.class.css, punctuation.definition.entity.css | #c08bced5 | β |
| support.class.console, support.function.console | #b8bac9aa | β |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #eeaabe | β |
| entity.name.type, storage.type | #958ac5 | β |
| storage.type.function | #4a4543d2 | italic |
| entity.name.function, support.function, support.function.any-method, storage.function, storage.type.function.arrow, keyword.other.special-method | #87b6b6 | β |
| meta.function-call | #87b6b6 | italic |
| storage.type.function.arrow, support.function | #87b6b6 | normal |
| string, constant.other.symbol, entity.other.inherited-class, punctuation.definition.string | #91b8dd | β |
| punctuation.definition.string | #82b4e3 | italic |
| constant.numeric | #82b4e3 | β |
| none | #82b4e3 | β |
| none | #82b4e3 | β |
| constant | #82b4e3 | β |
| entity.name.tag, punctuation.definition.tag, support.class.component.js, punctuation.definition.block.tag, punctuation.definition.inline.tag | #a19597 | β |
| meta.jsx.children | #ba989c | β |
| entity.other.attribute-name, support.type.property-name, support.variable.property | #6f557388 | β |
| entity.other.attribute-name.id, punctuation.definition.entity, constant.character.entity.named | #e4bcbf | β |
| meta.selector | #db90a7 | β |
| none | #82b4e3 | β |
| markup.heading punctuation.definition.heading, entity.name.section | #87b6b6 | |
| keyword.other.unit | #eeaabe | β |
| markup.bold, punctuation.definition.bold | #9f8298 | bold |
| markup.italic, punctuation.definition.italic | #9f8298 | italic |
| markup.raw.inline, markup.inline.raw.string.markdown, punctuation.definition.raw.markdown | #6f557388 | β |
| markup.fenced_code.block.markdown, punctuation.definition.markdown, markup.raw.block.markdown | #6f557388 | β |
| string.other.link | #82b4e3 | β |
| meta.link, markup.underline.link.image.markdown, meta.image.inline.markdown, meta.image.inline.markdown, punctuation.definition.metadata.markdown | #eeaabe | β |
| markup.list, punctuation.definition.list.begin.markdown | #b4addf | β |
| markup.quote | #eeaabe | β |
| meta.separator | #4a4543d2 | β |
| markup.inserted | #98c4ba | β |
| markup.deleted | #dd698c | β |
| markup.changed | #cabf9a | β |
| constant.other.color | #4a4543d2 | β |
| string.regexp | #82b4e3 | β |
| constant.character.escape | #e4bcbf | β |
| punctuation.section.embedded | #e4bcbf | β |
| invalid.illegal | #dd698ccc | β |
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}!`;
}