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 | #62736C | — |
| variable, string constant.other.placeholder | #AABDBF | — |
| constant.other.color | #D9C999 | — |
| invalid, invalid.illegal | #C24A4A | — |
| keyword, storage.type, storage.modifier | #5CA5C0 | — |
| keyword.operator | #BFBAB0 | — |
| string, constant.other.symbol | #5FBE78 | — |
| constant.numeric | #D9C999 | — |
| constant.language, support.constant, constant.character, constant.escape | #D9C999 | — |
| entity.name.function, meta.function-call, support.function | #9ED4E0 | — |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution | #5CA5C0 | — |
| meta.method.declaration, meta.method-call, meta.method | #9ED4E0 | — |
| variable.other.property, support.variable.property | #C5D5D9 | — |
| meta.object-literal.key | #C5D5D9 | — |
| entity.name.tag, meta.tag.sgml | #A34242 | — |
| entity.other.attribute-name | #D9C999 | — |
| markup.heading | #5CA5C0 | — |
| markup.bold | #9ED4E0 | bold |
| markup.italic | #D9C999 | italic |
| punctuation.definition, punctuation.separator, punctuation.terminator | #8C8281 | — |
| punctuation.definition.block, punctuation.definition.parameters, punctuation.section | #AABDBF | — |
| entity.name.type.interface, entity.name.type.struct | #5CA5C0 | — |
| meta.decorator, tag.decorator.js entity.name.tag, tag.decorator.js punctuation.definition.tag | #B266A1 | — |
| template.expression.begin, template.expression.end | #C24A4A | — |
| support.type.property-name.css | #AABDBF | — |
| support.constant.property-value.css | #5FBE78 | — |
| keyword.other.important.css | #A34242 | — |
| keyword.other.unit.css | #D9C999 | — |
| constant.other.color.rgb-value.css | #D9C999 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #5CA5C0 | — |
| entity.name.tag.html | #A34242 | — |
| entity.other.attribute-name.html | #D9C999 | — |
| text.html | #C6CAC9 | — |
| support.type.property-name.json | #C5D5D9 | — |
| string.quoted.double.json | #5FBE78 | — |
| constant.numeric.json | #D9C999 | — |
| meta.tag.jsx, meta.tag.tsx | #A34242 | — |
| support.class.component.jsx, support.class.component.tsx | #5CA5C0 | — |
| entity.other.attribute-name.jsx, entity.other.attribute-name.tsx | #D9C999 | — |
| meta.type.parameters.ts, meta.type.annotation.ts | #AABDBF | — |
| meta.object-literal.key, variable.object.property | #C5D5D9 | — |
| variable.language.this | #C24A4A | — |
| meta.field.graphql | #9ED4E0 | — |
| meta.type.graphql | #5CA5C0 | — |
| meta.operation.graphql | #D9C999 | — |
| entity.name.tag.xml | #A34242 | — |
| entity.other.attribute-name.xml | #D9C999 | — |
| text.xml | #C6CAC9 | — |
| markup.inserted | #5FBE78 | — |
| markup.deleted | #A34242 | — |
| markup.changed | #D9C999 | — |
| variable.parameter.function.language.special.self.python, variable.language.special.self.python | #C24A4A | — |
| variable.parameter.function.python | #D9C999 | — |
| constant.character.format.placeholder.other.python, meta.fstring.python | #D9C999 | — |
| entity.name.function.decorator.python | #B266A1 | — |
| support.variable.property.dom | #D9C999 | — |
| support.class.builtin | #5CA5C0 | — |
| entity.name.type.module | #5FBE78 | — |
| variable.other.constant | #D9C999 | — |
| variable.other.readwrite.instance.ruby | #B266A1 | — |
| variable.other.readwrite.class.ruby | #D9C999 | — |
| constant.language.symbol.ruby | #D9C999 | — |
| variable.other.block.ruby | #D9C999 | — |
| support.function.go | #9ED4E0 | — |
| entity.name.type.go | #5CA5C0 | — |
| entity.name.package.go | #5FBE78 | — |
| meta.attribute.rust | #D9C999 | — |
| storage.type.rust | #5CA5C0 | — |
| entity.name.lifetime.rust | #D9C999 | — |
| meta.macro.rust | #B266A1 | — |
| markup.heading.markdown | #5CA5C0 | — |
| markup.underline.link.markdown | #9ED4E0 | — |
| markup.bold.markdown | #D9C999 | bold |
| markup.italic.markdown | #D9C999 | italic |
| markup.list.unnumbered.markdown, markup.list.numbered.markdown | #A34242 | — |
| markup.fenced_code.block.markdown, markup.raw.block.markdown | #5FBE78 | — |
| variable.other.special.shell | #D9C999 | — |
| support.function.builtin.shell | #9ED4E0 | — |
| variable.parameter.option.shell | #D9C999 | — |
| entity.name.tag.yaml | #C5D5D9 | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml | #D9C999 | — |
| keyword.other.special-method.dockerfile | #5CA5C0 | — |
| meta.preprocessor.c, meta.preprocessor.cpp | #B266A1 | — |
| keyword.other.sql | #A34242 | — |
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}!`;
}