Sakura Nova
A cozy, elegant VS Code theme family inspired by cherry blossoms drifting through a soft cosmic night sky — candy pinks, dreamy pastels, and deep velvety purples. Includes Dark, Dark Red, Dark Pro, Light, and Warm variants.
A cozy, elegant VS Code theme family inspired by cherry blossoms drifting through a soft cosmic night sky — candy pinks, dreamy pastels, and deep velvety purples. Includes Dark, Dark Red, Dark Pro, Light, and Warm variants.
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 | #7F789F | italic |
| string, string.quoted, punctuation.definition.string | #A1EFD3 | — |
| constant.character.escape | #63F2F1 | — |
| constant.numeric, constant.language, constant.language.boolean, variable.other.constant, support.constant | #D4BFFF | — |
| keyword, keyword.control, keyword.other, keyword.operator.new | #AD50EC | — |
| storage, storage.type, storage.modifier | #AD50EC | — |
| keyword.operator, punctuation | #F8F8F2 | — |
| entity.name.function, support.function, meta.function-call, variable.function, entity.name.function.member | #91DDFF | — |
| entity.name.type, entity.name.class, support.class, support.type, entity.other.inherited-class | #D4BFFF | — |
| variable, variable.other.readwrite, variable.parameter, variable.other.property, meta.object-literal.key | #F5C2E7 | — |
| entity.name.tag | #F02E6E | — |
| entity.other.attribute-name | #63F2F1 | — |
| support.type.property-name.json | #63F2F1 | — |
| string.quoted.double.json, string.quoted.single.json | #F5C2E7 | — |
| invalid, invalid.illegal | #F02E6E | — |
| markup.heading | #AD50EC | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.underline.link | #91DDFF | — |
| markup.quote | #7F789F | italic |
| markup.inline.raw | #FFB378 | — |
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 | #7F789F | italic |
| string, string.quoted, punctuation.definition.string | #A1EFD3 | — |
| constant.character.escape | #63F2F1 | — |
| constant.numeric, constant.language, constant.language.boolean, variable.other.constant, support.constant | #D4BFFF | — |
| keyword, keyword.control, keyword.other, keyword.operator.new | #FF75C3 | — |
| storage, storage.type, storage.modifier | #FF75C3 | — |
| keyword.operator, punctuation | #F8F8F2 | — |
| entity.name.function, support.function, meta.function-call, variable.function, entity.name.function.member | #91DDFF | — |
| entity.name.type, entity.name.class, support.class, support.type, entity.other.inherited-class | #D4BFFF | — |
| variable, variable.other.readwrite, variable.parameter, variable.other.property, meta.object-literal.key | #F5C2E7 | italic |
| entity.name.tag | #F02E6E | — |
| entity.other.attribute-name | #63F2F1 | — |
| support.type.property-name.json | #63F2F1 | — |
| string.quoted.double.json, string.quoted.single.json | #F5C2E7 | — |
| meta.property-value.css, support.constant.property-value.css, support.constant.color.w3c-standard-color-name.css, constant.numeric.css, keyword.other.unit.css | #F5C2E7 | — |
| invalid, invalid.illegal | #F02E6E | — |
| markup.heading | #FF75C3 | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.underline.link | #91DDFF | — |
| markup.quote | #7F789F | italic |
| markup.inline.raw | #FFB378 | — |
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 | #7F789F | italic |
| string, string.quoted, punctuation.definition.string | #A1EFD3 | — |
| constant.character.escape | #63F2F1 | — |
| constant.numeric, constant.language, constant.language.boolean, variable.other.constant, support.constant | #D4BFFF | — |
| keyword, keyword.control, keyword.other, keyword.operator.new | #F2608F | — |
| storage, storage.type, storage.modifier | #F2608F | — |
| keyword.operator, punctuation | #F8F8F2 | — |
| entity.name.function, support.function, meta.function-call, variable.function, entity.name.function.member | #91DDFF | — |
| entity.name.type, entity.name.class, support.class, support.type, entity.other.inherited-class | #D4BFFF | — |
| variable, variable.other.readwrite, variable.parameter, variable.other.property, meta.object-literal.key | #F5C2E7 | italic |
| entity.name.tag | #F02E6E | — |
| entity.other.attribute-name | #63F2F1 | — |
| support.type.property-name.json | #63F2F1 | — |
| string.quoted.double.json, string.quoted.single.json | #F5C2E7 | — |
| meta.property-value.css, support.constant.property-value.css, support.constant.color.w3c-standard-color-name.css, constant.numeric.css, keyword.other.unit.css | #F5C2E7 | — |
| invalid, invalid.illegal | #F02E6E | — |
| markup.heading | #F2608F | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.underline.link | #91DDFF | — |
| markup.quote | #7F789F | italic |
| markup.inline.raw | #FFB378 | — |
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 | #6B708D | italic |
| string, string.quoted, punctuation.definition.string | #117F58 | — |
| constant.character.escape | #0B7E7E | — |
| constant.numeric, constant.language, constant.language.boolean, variable.other.constant, support.constant | #D4BFFF | — |
| keyword, keyword.control, keyword.other, keyword.operator.new | #8A38C4 | — |
| storage, storage.type, storage.modifier | #8A38C4 | — |
| keyword.operator, punctuation | #1E1C31 | — |
| entity.name.function, support.function, meta.function-call, variable.function, entity.name.function.member | #0E76B1 | — |
| entity.name.type, entity.name.class, support.class, support.type, entity.other.inherited-class | #7B4FD6 | — |
| variable, variable.other.readwrite, variable.parameter, variable.other.property, meta.object-literal.key | #C23F86 | — |
| entity.name.tag | #F02E6E | — |
| entity.other.attribute-name | #0B7E7E | — |
| support.type.property-name.json | #0B7E7E | — |
| string.quoted.double.json, string.quoted.single.json | #C23F86 | — |
| invalid, invalid.illegal | #F02E6E | — |
| markup.heading | #8A38C4 | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.underline.link | #0E76B1 | — |
| markup.quote | #6B708D | italic |
| markup.inline.raw | #B25A17 | — |
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}!`;
}
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}!`;
}