Dark Lavender
Publisher: t7yangThemes in package: 5
A smooth and nice dark theme for VSCode with material design colors.
A smooth and nice dark theme for VSCode with material design colors.
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, string.comment | #64748b | — |
| constant.language, variable.language, variable.parameter.function.language.special, keyword, keyword.operator.alignas, keyword.operator.alignof, keyword.operator.cast, keyword.operator.expression, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.new, keyword.operator.sizeof, keyword.operator.typeid, keyword.operator.wordlike, meta.control, storage, support | — | italic |
| constant.name.attribute.tag.pug, meta.brace, meta.decorator, punctuation.accessor, punctuation.brace, punctuation.brackets, punctuation.colon, punctuation.comma, punctuation.decorator, punctuation.definition, punctuation.delimiter.comma, punctuation.delimiter.object.comma, punctuation.parenthesis.begin, punctuation.parenthesis.end, punctuation.operation, punctuation.other.comma, punctuation.section, punctuation.semi, punctuation.separator, punctuation.terminator, string.interpolated.pug, support.function.interpolation.sass | #a5b4fc | |
| keyword.operator, keyword.other.unit | #16a34a | |
| keyword, keyword.control, keyword.other.special-method.elixir, meta.control.flow | #8b5cf6 | italic |
| source.cs keyword.other.class, source.cs keyword.other.get, source.cs keyword.other.set, source.cs keyword.other.var, punctuation.definition.function.pointer, storage, storage.type.struct | #ec4899 | — |
| entity.name.function, keyword.other.special-method, meta.function-call, meta.method-call, meta.require, punctuation.definition.function, support.function, support.function.any-method, variable.function | #14b8a6 | — |
| entity.name.class, entity.name.type, entity.other.inherited-class, keyword.type, keyword.other.type, meta.class.inheritance, meta.class.instance, meta.function.definition, meta.type, source.cs storage.type, storage.type.built-in, storage.type.haskell, support.class, support.type, variable.other.constant.elixir | #eab308 | — |
| constant.numeric, constant.character.numeric, variable.other.anonymous.elixir | #fbcfe8 | — |
| constant.character, storage.type.string, string, support.constant.property-value, support.function.variable.quoted.single.elixir | #a7f3d0 | — |
| constant.character.escape | #fef08a | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #6366f1 | — |
| keyword.operator.quantifier.regexp | #fbcfe8 | — |
| keyword.control.anchor.regexp | #d946ef | — |
| constant.character.character-class.regexp, constant.character.set.regexp, constant.other.character-class, constant.other.character-class.regexp, constant.other.character-class.set.regexp | #f43f5e | — |
| meta.function-call, parameter.variable.function.elixir, variable.other.block.ruby, variable.parameter | #ef4444 | — |
| entity.name.namespace, entity.name.scope-resolution, entity.name.variable, meta.property-value, punctuation.definition.variable, string meta.embedded.line.ruby, string source.groovy, source.cpp meta.bracket.square.access, source.cpp meta.parens, source.python constant.other.caps, support.other, support.type.object, variable | #f97316 | — |
| constant, entity.name.function.preprocessor, meta.preprocessor, punctuation.definition.constant, support.constant, support.constant.property-value.css, support.variable.magic.python, variable.other.constant | — | bold |
| constant.character, constant.language, constant.other, meta.property-value.css, source.php variable.language.this punctuation.definition.variable, support.constant, support.constant.property-value.css, support.variable.magic.python, variable.language, variable.parameter.function.language.special | #f43f5e | — |
| constant.other.key, constant.other.object.key.js, entity.name.label, entity.name.tag.yaml, entity.name.variable.field, entity.name.variable.property, meta.at-rule.keyframes.body, meta.object-literal.key, meta.object-literal.key string, meta.object.member, meta.meta.objectliteral, meta.property-name, punctuation.definition.variable.ruby, string.unquoted.label.js, source.python meta.attribute, support.constant.property, support.type.map.key, support.type.property-name, support.type.vendored.property-name, support.variable.property, variable.graphql, variable.object.property, variable.other.constant.property, variable.other.member, variable.other.object.property, variable.other.enummember, variable.other.property, variable.other.readwrite.class, variable.other.readwrite.instance | #0ea5e9 | — |
| support.type.property-name | — | |
| entity.name.tag | #8b5cf6 | — |
| entity.other.attribute-name, meta.attribute, string.unquoted.alias.graphql | #ec4899 | — |
| entity.other.attribute-name.id | #f97316 | — |
| entity.name.section, markup.heading, punctuation.definition.heading | #d946ef | |
| meta.paragraph | #f1f5f9 | — |
| markup.list, markup.list meta.paragraph | #bef264 | — |
| markup.quote meta.paragraph | #93c5fd | italic |
| markup.italic, punctuation.definition.italic | #fca5a5 | italic |
| markup.bold, punctuation.definition.bold | #fca5a5 | 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 | #fca5a5 | bold |
| markup.underline | #fca5a5 | underline |
| markup.fenced_code.block, markup.inline.raw, markup.raw.block, markup.raw.inline | #f97316 | — |
| markup.inserted | #10b981 | — |
| markup.deleted | #ec4899 | — |
| markup.changed | #3b82f6 | — |
| meta.link, markup.underline.link | #7dd3fc | — |
| string.other.link | #fdba74 | — |
| meta.separator | #cbd5e1 | — |
| variable.interpolation | #6366f1 | — |
| invalid, invalid.illegal | #be185d | — |
| string.interpolated.dollar.shell | #ec4899 | — |
| string.other.math.shell | #6366f1 | — |
| comment.rainbow4 | #f97316 | — |
| markup.bold.rainbow9 | #8b5cf6 | — |
| invalid.rainbow10 | #ef4444 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #ffedd5 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #fde047 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #86efac | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #5eead4 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #7dd3fc | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #a5b4fc | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f0abfc | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f9a8d4 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #fdba74 | — |
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}!`;
}