Sakura Night Saturated Theme
Publisher: atimaelThemes in package: 1
Sakura Night Saturated Theme
Sakura Night Saturated Theme
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, comment.line, comment.block | #a9aaab | italic |
| comment.block.documentation, comment.line.documentation | #a4d964 | italic |
| keyword, storage.type, storage.modifier | #ff7aad | — |
| keyword.control.export, keyword.control.import, keyword.control.return, keyword.control.function, storage.type.function, keyword.control.default | #ff7aad | — |
| storage.type.const, storage.modifier.const, keyword.other.const, keyword.control.const, storage.type.const.js, storage.type.const.ts, storage.type.const.tsx | #ff7aad | — |
| keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python | #ff7aad | — |
| string, string.quoted, string.template | #a4d964 | — |
| constant.character.escape, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #f29655 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.other.constant, variable.other.enummember, variable.language | #be8df2 | — |
| constant.language, support.constant, variable.language, support.class.builtin, support.type.object.module, support.class.console, variable.language.this, variable.language.super, support.class.built-in, variable.other.object | #ff7aad | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #d9d9d9 | — |
| variable.other.local, variable.other.readwrite.local, meta.block variable.other.readwrite | #d9d9d9 | — |
| variable.parameter, meta.function.parameters variable, meta.parameters variable, variable.parameter.function | #d9d9d9 | — |
| variable.other.property, variable.other.object.property, variable.object.property, variable.other.member, variable.other.readwrite.member, meta.object-literal.key | #be8df2 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #6ccaf0 | — |
| entity.name.function, meta.function.definition | #6ccaf0 | — |
| entity.name.class, entity.name.type.class, meta.class, entity.name.type, entity.other.inherited-class, support.class | #f2d466 | bold |
| entity.name.class | #f2d466 | bold |
| entity.other.inherited-class | #f2d466 | — |
| entity.name.type.interface | #f2d466 | — |
| keyword.type, storage.type.type | #ff7aad | — |
| entity.name.type, storage.type.class, storage.type.interface, storage.type.enum, support.type | #f2d466 | — |
| entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #f2d466 | — |
| entity.other.attribute-value, string.quoted.double.html, string.quoted.single.html | #6ccaf0 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #ff7aad | — |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #a9aaab | — |
| entity.other.attribute-name.class | #f2d466 | — |
| source.sass keyword.control | #6ccaf0 | — |
| support.type.property-name | #d9d9d9 | — |
| meta.property-value, support.constant.property-value, constant.other.color.rgb-value.hex.css | #f29655 | — |
| keyword.other.unit | #a9aaab | — |
| support.type.property-name.json | #ff7aad | — |
| meta.structure.dictionary.json string.quoted.double.json | #6ccaf0 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #d9d9d9 | — |
| text.html.markdown markup.inline.raw.markdown | #a4d964 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #f29655 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #ff7aad | — |
| markup.italic | #ff7aad | italic |
| markup.bold, markup.bold string | #ff7aad | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | — | bold italic |
| markup.underline | #f29655 | underline |
| markup.strike | — | strikethrough |
| markup.quote | #a9aaab | italic |
| markup.raw.block | #a4d964 | — |
| markup.table | #d9d9d9 | — |
| keyword.operator | #a9aaab | — |
| punctuation.separator, punctuation.terminator | #a9aaab | — |
| punctuation.section.embedded | #a9aaab | — |
| entity.name | #f29655 | — |
| meta.decorator variable.other, meta.decorator punctuation.decorator, storage.type.annotation | #f2d466 | bold |
| invalid, invalid.illegal | #f27979 | — |
| invalid.deprecated | #a9aaab | — |
| meta.diff, meta.diff.header | #c594c5 | — |
| markup.deleted | #f27979 | — |
| markup.inserted | #a4d964 | — |
| markup.changed | #f2d466 | — |
| variable.other.readwrite.importEquals, meta.import variable.other.readwrite, meta.export variable.other.readwrite, variable.other.readwrite.alias | #d9d9d9 | — |
| variable.other.constant.tsx, variable.other.constant.jsx, variable.other.constant.ts, variable.other.constant.js, meta.var.expr variable.other.constant.tsx, meta.var.expr variable.other.constant.jsx, meta.var.expr variable.other.constant.ts, meta.var.expr variable.other.constant.js, variable.other.readwrite.tsx, variable.other.readwrite.ts | #6ccaf0 | — |
| entity.name.tag.open.jsx, entity.name.tag.close.jsx, entity.name.tag.jsx, entity.name.tag.tsx, entity.name.tag.open.tsx, entity.name.tag.close.tsx, support.class.component.jsx, support.class.component.tsx, entity.name.tag.js.jsx, entity.name.tag.ts.tsx | #ff7aad | — |
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}!`;
}