Sakura Blossom
Publisher: Agustinho NetoThemes in package: 1
A pastel-themed color palette with a primary focus on soft pink. The colors blend elegance with readability, offering a balanced and visually pleasing coding experience.
A pastel-themed color palette with a primary focus on soft pink. The colors blend elegance with readability, offering a balanced and visually pleasing 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 | #705C61 | italic |
| constant | #70CD9E | — |
| constant.numeric, constant.language | #F688A5 | — |
| entity.name | #F688A5 | — |
| entity.name.section, entity.name.tag, entity.name.namespace, entity.name.type | #85C1E9 | — |
| entity.other.attribute-name, entity.other.inherited-class | #B6A3E5 | italic |
| invalid | #C05039 | — |
| invalid.deprecated | #9F898F | — |
| keyword, variable.language.this | #70CD9E | — |
| markup.inserted.diff | #85C1E9 | — |
| markup.deleted.diff | #C05039 | — |
| markup.heading | — | bold |
| markup.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
| meta.diff.range | #B6A3E5 | — |
| meta.tag, meta.brace, meta.object-literal.key | #D1C7CA | — |
| meta.import, meta.export | #70CD9E | — |
| meta.directive.vue | #B6A3E5 | italic |
| meta.directive.vue, meta.object.member | #B6A3E5 | — |
| meta.property-name.css | #85C1E9 | — |
| meta.property-value.css | #E3B75F | — |
| meta.tag.other.html | #9F898F | — |
| punctuation | #9F898F | — |
| punctuation.accessor | #70CD9E | — |
| punctuation.definition.string | #E3B75F | — |
| punctuation.definition.tag | #705C61 | — |
| storage.type, storage.modifier | #70CD9E | — |
| string | #E3B75F | — |
| support | #85C1E9 | — |
| support.constant | #E3B75F | — |
| support.function | #C05039 | italic |
| variable | #F688A5 | italic |
| variable.other, variable.language, variable.function, variable.argument | #D1C7CA | — |
| variable.parameter | #B6A3E5 | — |
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}!`;
}