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 | #AA8699 | — |
| variable, string constant.other.placeholder | #2A1F28 | — |
| constant.other.color | #D9A95D | — |
| invalid, invalid.illegal | #D95D92 | — |
| keyword, storage.type, storage.modifier | #B15D95 | — |
| keyword.operator | #5D92D9 | — |
| string, constant.other.symbol | #6BAD9A | — |
| constant.numeric | #D9A95D | — |
| constant.language, support.constant, constant.character, constant.escape | #D95D92 | — |
| entity.name.function, meta.function-call, support.function | #4A78B3 | — |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution | #B15D95 | — |
| meta.method.declaration, meta.method-call, meta.method | #4A78B3 | — |
| variable.other.property, support.variable.property | #5DB1D9 | — |
| meta.object-literal.key | #5DB1D9 | — |
| entity.name.tag, meta.tag.sgml | #B15D95 | — |
| entity.other.attribute-name | #4A78B3 | — |
| markup.heading | #B15D95 | — |
| markup.bold | #4A78B3 | bold |
| markup.italic | #6BAD9A | italic |
| punctuation.definition, punctuation.separator, punctuation.terminator | #887888 | — |
| punctuation.definition.block, punctuation.definition.parameters, punctuation.section | #5D92D9 | — |
| entity.name.type.interface, entity.name.type.struct | #B15D95 | — |
| meta.decorator, tag.decorator.js entity.name.tag, tag.decorator.js punctuation.definition.tag | #4A78B3 | — |
| template.expression.begin, template.expression.end | #D95D92 | — |
| support.type.property-name.css | #5DB1D9 | — |
| support.constant.property-value.css | #6BAD9A | — |
| entity.other.attribute-name.html | #6BAD9A | — |
| support.type.property-name.json | #5DB1D9 | — |
| string.quoted.double.json | #6BAD9A | — |
| meta.tag.jsx, meta.tag.tsx | #2A1F28 | — |
| entity.other.attribute-name.jsx, entity.other.attribute-name.tsx | #6BAD9A | — |
| meta.object-literal.key, variable.object.property | #5DB1D9 | — |
| meta.function.decorator.python, meta.function.decorator.identifier.python | #D95D92 | — |
| variable.parameter.function.python | #D9A95D | — |
| meta.fstring.python, constant.character.format.placeholder.other.python | #D9A95D | — |
| variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #B15D95 | — |
| constant.language.symbol.ruby | #D9A95D | — |
| variable.other.readwrite.instance.ruby | #D95D92 | — |
| variable.other.readwrite.class.ruby | #B15D95 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #5D92D9 | — |
| beginning.punctuation.definition.list.markdown | #D95D92 | — |
| markup.fenced_code.block.markdown, markup.inline.raw.string.markdown | #6BAD9A | — |
| markup.quote.markdown | #AA8699 | italic |
| entity.name.function.go | #4A78B3 | — |
| entity.name.type.go | #B15D95 | — |
| entity.name.package.go | #6BAD9A | — |
| meta.attribute.rust | #D95D92 | — |
| entity.name.type.rust, storage.type.rust | #B15D95 | — |
| entity.name.lifetime.rust, punctuation.definition.lifetime.rust | #D9A95D | — |
| meta.macro.rust | #D95D92 | — |
| entity.name.tag.yaml | #5DB1D9 | — |
| punctuation.definition.anchor.yaml, punctuation.definition.alias.yaml | #D95D92 | — |
| entity.other.document.begin.yaml, entity.other.document.end.yaml | #B15D95 | — |
| keyword.other.sql | #B15D95 | — |
| support.function.sql | #4A78B3 | — |
| meta.table.sql | #6BAD9A | — |
| meta.decorator.ts, meta.decorator.tsx | #D95D92 | — |
| meta.type.annotation.ts, meta.type.annotation.tsx | #B15D95 | — |
| entity.name.type.interface.ts, entity.name.type.interface.tsx | #B15D95 | — |
| meta.preprocessor.c, meta.preprocessor.cpp | #D95D92 | — |
| string.quoted.other.lt-gt.include.c, string.quoted.other.lt-gt.include.cpp, string.quoted.double.include.c, string.quoted.double.include.cpp | #6BAD9A | — |
| storage.type.annotation.java | #D95D92 | — |
| storage.type.generic.java | #B15D95 | — |
| storage.modifier.import.java, storage.modifier.package.java | #6BAD9A | — |
| variable.other.php | #D95D92 | — |
| entity.name.type.class.php | #B15D95 | — |
| support.other.namespace.php | #6BAD9A | — |
| variable.other.special.shell | #D95D92 | — |
| support.function.builtin.shell | #4A78B3 | — |
| variable.parameter.option.shell | #D9A95D | — |
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}!`;
}