Lilac Cherry Blossom (Dark)
Publisher: Moustafa El-ShabouryThemes in package: 1
Colours: Pale pink, dark red, lilac etc
Colours: Pale pink, dark red, lilac etc
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 |
|---|---|---|
| invalid.deprecated, keyword, storage.modifier, punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss, constant.other.php, variable.parameter.js, variable.parameter.keyframe-list.css, keyword.operator.arithmetic, keyword.other.unit, keyword.other, punctuation.separator.key-value.html, constant.other.symbol, constant.other.key, entity.other.inherited-class, keyword.other.unit, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly, constant.other.object.key.js, string.unquoted.label.js, entity.name.function, entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, entity.other.attribute-name.html, support.type, entity.other.attribute-name, support.function, source.scss keyword.control, markup.changed, markup.inserted, text.html.markdown markup.inline.raw.markdown, string.other.link.description.title.markdown, constant.other.reference.link.markdown, markup.raw.block, token.warn-token, token.error-token | #DA0178 | — |
| entity.name.function, punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | — | |
| #da017800 | — | |
| #da017800 | — | |
| constant.other.color | #ac8ff0 | — |
| invalid, invalid.illegal | #6876fa | — |
| Keyword, Storage | — | italic |
| punctuation.section.block.begin.bracket.curly.c, punctuation.section.block.end.bracket.curly.c, punctuation.definition.directive.c, keyword.control.directive.include.c, meta.preprocessor.include.c, keyword.control, constant.other.color, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, entity.name.tag.reference.scss, storage.type, keyword.control.at-rule, punctuation.terminator.rule.css, keyword.control.operator, punctuation.definition.entity.css, keyword.operator.assignment.js, punctuation.separator.comma.js, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, punctuation.definition.binding-pattern.object.js, punctuation.separator.pointer-access.c | #a14fd0 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.name.type.module.js, variable.other.object.js, storage.type.js, string.other.link.title.markdown, variable.other.readwrite.js, variable.other.property.js, source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name, markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, entity.name.section.markdown | #B57DB5 | — |
| #c45dff | — | |
| string.quoted.single.scss, keyword.operator.assignment, support.other.variable, string.other.link, markup.table, variable.parameter.function.language.special, variable.parameter, variable.other.local.c, constant.character.escape, entity.name.method.js, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js, entity.other.attribute-name.id, entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.name.tag.css, keyword.control.conditional.js, support.constant, entity.other.attribute-name.html, string.quoted.single.js, storage.type.function.js, meta.object-literal.key, support.type.property-name.json, text.html.markdown, punctuation.definition.list_item.markdown, keyword.operator.c, keyword.operator.arithmetic, punctuation.definition.arguments, meta.separator, punctuation.parenthesis, punctuation.definition, storage.modifier, punctuation.section.parens.end.bracket.round.c, punctuation.section.parens.begin.bracket.round.c, entity.name.variable.c, keyword.operator.comparison.c, keyword.operator.logical.c | #DCCDFF | — |
| keyword.control | — | |
| comment.line.double-slash.c, punctuation.definition.comment, comment.block.c, comment.line.number-sign.python, comment.line.scss, comment.line.double-slash.js, punctuation.definition.comment.scss, punctuation.definition.comment.js, punctuation.definition.comment.html, comment.block.html, comment.block.documentation.c | #6D538E | — |
| text.html.derivative | #A7A8AF | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #aa80ff | — |
| entity.name.tag.html | — | bold |
| #da017800 | — | |
| #b57db500 | ||
| string, string.quoted.double.html, constant.character.escape.python, string.quoted.single.python, punctuation.definition.string.begin, punctuation.definition.string.end, string.quoted.single, constant.character.escape, constant.character.escape.c, variable.other.constant.js, variable.other.object.property.js, string.quoted.double.json, markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, variable.function, keyword.other.special-method, markup.bold, markup.bold.markdown, markup.italic.markdown, meta.class-method.js entity.name.function.js, variable.function.constructor, entity.name.tag.other.html, entity.name.tag.block.any.html, source.sass keyword.control, entity.name.function.preprocessor.c, string constant.other.placeholder | #4151E3 | — |
| punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #FFEEFE | — |
| #dccdff00 | — | |
| #da017800 | — | |
| #DCCDFF00 | — | |
| #da017800 | ||
| #da017800 | — | |
| #da017800 | — | |
| #B57DB500 | — | |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #6876fa | — |
| #DCCDFF00 | italic | |
| #da017800 | — | |
| #dccdff00 | — | |
| #da017800 | — | |
| #da017800 | — | |
| markup.deleted | #6876fa | — |
| #da017800 | — | |
| string.regexp | #FFEEFE | — |
| *url*, *link*, *uri* | — | underline |
| source.js constant.other.object.key.js string.unquoted.label.js | #d8a8a8 | italic |
| #dccdff00 | — | |
| #dccdff00 | — | |
| #da017800 | — | |
| punctuation.definition.raw.markdown | #78487850 | — |
| text.html.markdown meta.dummy.line-break | — | — |
| #B57DB500 | bold | |
| markup.underline | #C090C0 | underline |
| markup.strike | — | |
| markup.quote punctuation.definition.blockquote.markdown | #78487850 | — |
| markup.quote | — | italic |
| #da017800 | — | |
| meta.function-call.arguments.python | #B89AFD | — |
| variable.other.property.c, variable.other.member.c | #b89afd | — |
| punctuation.definition.raw.markdown, punctuation.definition.markdown | #e099c0 | — |
| variable.language.fenced.markdown, token.info-token | #784878 | — |
| #DCCDFF00 | ||
| #78487800 | — | |
| #ffffff00 | — | |
| #da017800 | — | |
| token.debug-token | #ac8ff0 | — |
| cconstant.language, cconstant.character, cconstant.escape, constant.numeric, storage.type.built-in.primitive.c, entity.name.type.c | #c05abb | — |
| #404ec700 | — | |
| #404ec700 | — |
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}!`;
}