A Touch of Lilac Theme
Publisher: alexnhoThemes in package: 2
Lilac tinted color UI theme with vibrant syntax highlighting colors for Visual Studio Code. It also has a No-Italics version.
Lilac tinted color UI theme with vibrant syntax highlighting colors for Visual Studio Code. It also has a No-Italics version.
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 | #8091B3 | bold italic |
| comment storage.type | #b2bdd1 | — |
| comment entity.name.type | #ccd3e0 | — |
| comment variable.other | #99a7c2 | underline normal |
| string | #fed888 | — |
| string.quoted | #ffe0ff | — |
| constant.numeric | #d8b7fd | — |
| constant.language | #9b5fe0 | — |
| constant.character, constant.other | #9b5fe0 | — |
| variable | — | |
| keyword | #ff58ab | bold |
| meta.tag, declaration.tag | #e15d97 | |
| storage | #e15d97 | |
| storage.type | #0aacc5 | bold |
| entity.other.inherited-class | #b4df51 | — |
| entity.name.function | #b4df51 | — |
| entity.name.method | #b4df51 | — |
| entity.name.class | #b4df51 | — |
| variable.parameter | #cdfcff | — |
| variable.language | #cdfcff | bold |
| variable.other | #cdfcff | — |
| entity.name.tag | #b4df51 | — |
| entity.other.attribute-name | #fed888 | |
| support.function | #0aacc5 | bold |
| support.variable | — | bold |
| support.constant | #6be5fd | |
| support.type | #0aacc5 | — |
| support.type.property-name | #b4df51 | — |
| support.class | #b4df51 | — |
| support.other.variable | — | |
| invalid | #F8F8F0 | |
| invalid.deprecated | #F8F8F0 | — |
| meta.structure.dictionary.json, string.quoted.double.json | #CFCFC2 | — |
| meta.diff, meta.diff.header | #6272a4 | — |
| meta.template.expression | #cdfcff | — |
| markup.deleted | #e15d97 | — |
| markup.inserted | #35ba66 | — |
| markup.changed | #fed888 | — |
| constant.numeric.line-number.find-in-files - match | #9b5fe0 | — |
| entity.name.filename | #fed888 | — |
| message.error | #ff0033 | — |
| punctuation.definition.template-expression | #00ffb3 | — |
| punctuation.section.embedded | #00ffb3 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #BEB4C4 | — |
| markup.inline.raw.string.markdown | #b4df51 | — |
| punctuation.definition.raw.markdown | #35ba66 | — |
| text.html.markdown meta.dummy.line-break | — | |
| markup.heading.markdown entity.name.section.markdown | #f5f2f8 | — |
| markup.heading.markdown punctuation.definition.heading.markdown | #b4df51 | — |
| markup.italic | #e15d97 | — |
| markup.bold, markup.bold string | #fed888 | 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 | #fab6e3 | — |
| markup.underline | #0aacc5 | underline |
| markup.quote punctuation.definition.blockquote.markdown | #CFCFC2 | — |
| markup.quote | #CFCFC2 | — |
| string.other.link.title.markdown | #0aacc5 | — |
| string.other.link.description.title.markdown | #0aacc5 | — |
| constant.other.reference.link.markdown | #0aacc5 | — |
| punctuation.definition.link.markdown | #cdfcff | — |
| beginning.punctuation.definition.list.markdown | #9b5fe0 | — |
| markup.raw.block | #9b5fe0 | — |
| markup.fenced_code.block.markdown | #9b5fe0 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #EEFFFF | — |
| variable.language.fenced.markdown | #65737E | — |
| meta.separator | #65737E | bold |
| markup.table | #EEFFFF | — |
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}!`;
}