Dainty – Dark+
Publisher: Alexander TeinumThemes in package: 25
25 variations of slightly modified Dark+
25 variations of slightly modified Dark+
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded | #b9d8e9ff | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #779568ff | — |
| constant.language | #739abfff | — |
| constant.numeric | #c0cabbff | — |
| constant.regexp | #686880ff | — |
| entity.name.tag | #739abfff | — |
| entity.name.tag.css | #79c3b2ff | — |
| entity.other.attribute-name | #b9d8e9ff | — |
| 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 | #b9d8e9ff | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #739abfff | bold |
| markup.heading | #739abfff | bold |
| markup.italic | — | italic |
| markup.inserted | #c0cabbff | — |
| markup.deleted | #bd9889ff | — |
| markup.changed | #739abfff | — |
| punctuation.definition.quote.begin.markdown | #6A9955 | — |
| punctuation.definition.list.begin.markdown | #6796e6 | — |
| markup.inline.raw | #bd9889ff | — |
| punctuation.definition.tag | #8a8a8aff | — |
| meta.preprocessor | #739abfff | — |
| meta.preprocessor.string | #bd9889ff | — |
| meta.preprocessor.numeric | #c0cabbff | — |
| meta.structure.dictionary.key.python | #b9d8e9ff | — |
| meta.diff.header | #739abfff | — |
| storage | #739abfff | — |
| storage.type | #739abfff | — |
| storage.modifier | #739abfff | — |
| string | #bd9889ff | — |
| string.tag | #bd9889ff | — |
| string.value | #bd9889ff | — |
| string.regexp | #bd9889ff | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #d4d4d4ff | — |
| meta.template.expression | #d4d4d4 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #b9d8e9ff | — |
| keyword | #739abfff | — |
| keyword.control | #739abfff | — |
| keyword.operator | #d4d4d4ff | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python | #739abfff | — |
| keyword.other.unit | #c0cabbff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #739abfff | — |
| support.function.git-rebase | #dbdbc3ff | — |
| constant.sha.git-rebase | #c0cabbff | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #739abfff | — |
| entity.name.function, support.function, support.constant.handlebars | #dbdbc3ff | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #79c3b2ff | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #79c3b2ff | — |
| keyword.control | #739abfff | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #b9d8e9ff | — |
| meta.object-literal.key | #b9d8e9ff | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #bd9889ff | — |
| 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 | #8a8a8aff | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #686880ff | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #d4d4d4ff | — |
| keyword.operator.quantifier.regexp | #c0cabbff | — |
| constant.character | #739abfff | — |
| constant.character.escape | #8a8a8aff | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| string.quoted.double.html | #bd9889ff | — |
| string.template | #bd9889ff | — |
| storage.type.function | #739abfff | — |
| support.class.component.js | #79c3b2ff | — |
| variable.parameter | #d9d9d9ff | — |
| variable.other.property | #d9d9d9ff | — |
| support.function, support.constant.handlebars | #dbdbc3ff | — |
| support.type, support.class, support.constant.math | #79c3b2ff | — |
| support.type.vendored.property-name, support.type.property-name | #b9d8e9ff | — |
| support.function | #dbdbc3ff | — |
| variable.other.constant | #d9d9d9ff | — |
| meta.brace.round.js, meta.brace.square.js, punctuation | #8a8a8aff | — |
| support.type.property-name.json | #b9d8e9ff | — |
| storage.type.function.arrow.js, storage.type.function.arrow.ts, storage.type.function.arrow.tsx | #d4d4d4ff | — |
| punctuation.definition.keyword.css, punctuation.definition.directive.c, punctuation.definition.heading.markdown | #739abfff | — |
| entity.name.type.class, entity.name.type.module | #79c3b2ff | — |
| punctuation.definition.comment.python, punctuation.definition.comment.js, punctuation.definition.comment.cpp, punctuation.definition.comment.begin.css, punctuation.definition.comment.end.css, punctuation.definition.list.begin.markdown | #779568ff | — |
| markup.heading | — | normal |
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}!`;
}