Cherry Blossom Theme
Publisher: daitsukuThemes in package: 15
A VSCode theme inspired by a color palette of a sakura / cherry blossom.
A VSCode theme inspired by a color palette of a sakura / cherry blossom.
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 | #8C5866 | — |
| variable, string constant.other.placeholder | #F2F0F2 | — |
| constant.other.color | #BF8563 | — |
| invalid, invalid.illegal | #F24B88 | — |
| keyword, storage.type, storage.modifier | #D996A2 | — |
| keyword.operator | #7DA6A6 | — |
| string, constant.other.symbol | #7DAD89 | — |
| constant.numeric | #BF8563 | — |
| constant.language, support.constant, constant.character, constant.escape | #B07DA6 | — |
| entity.name.function, meta.function-call, support.function | #7DA6A6 | — |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution | #D996A2 | — |
| meta.method.declaration, meta.method-call, meta.method | #7DA6A6 | — |
| variable.other.property, support.variable.property | #F2A999 | — |
| meta.object-literal.key | #F2A999 | — |
| entity.name.tag, meta.tag.sgml | #D996A2 | — |
| entity.other.attribute-name | #7DAD89 | — |
| markup.heading | #D996A2 | — |
| markup.bold | #7DA6A6 | bold |
| markup.italic | #7DAD89 | italic |
| punctuation.definition, punctuation.separator, punctuation.terminator | #BF8E97 | — |
| punctuation.definition.block, punctuation.definition.parameters, punctuation.section | #7DA6A6 | — |
| entity.name.type.interface, entity.name.type.struct | #B07DA6 | — |
| meta.decorator, tag.decorator.js entity.name.tag, tag.decorator.js punctuation.definition.tag | #B07DA6 | — |
| template.expression.begin, template.expression.end | #D96A7E | — |
| support.type.property-name.css | #F2A999 | — |
| support.constant.property-value.css | #7DAD89 | — |
| entity.other.attribute-name.html | #7DAD89 | — |
| support.type.property-name.json | #F2A999 | — |
| string.quoted.double.json | #7DAD89 | — |
| meta.tag.jsx, meta.tag.tsx | #F2F0F2 | — |
| entity.other.attribute-name.jsx, entity.other.attribute-name.tsx | #7DAD89 | — |
| meta.object-literal.key, variable.object.property | #F2A999 | — |
| meta.field.graphql | #7DA6A6 | — |
| meta.type.graphql | #B07DA6 | — |
| entity.name.tag.xml | #D996A2 | — |
| entity.other.attribute-name.xml | #7DAD89 | — |
| markup.inserted | #7DAD89 | — |
| markup.deleted | #D96A7E | — |
| markup.changed | #BF8563 | — |
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}!`;
}