Simple Dark Theme
Publisher: manuteroThemes in package: 1
Color theme for VSCode that follows the KISS principle
Color theme for VSCode that follows the KISS principle
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 | #D4D4D4 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| constant.regexp | #646695 | — |
| entity.name.tag.css | #d7ba7d | — |
| entity.other.attribute-name | #9cdcfe | — |
| 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 | #d7ba7d | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.italic | — | italic |
| markup.inserted | #b5cea8 | — |
| markup.deleted | #ce9178 | — |
| markup.changed | #569cd6 | — |
| beginning.punctuation.definition.quote.markdown | #6A9955 | — |
| markup.inline.raw | #ce9178 | — |
| meta.selector | #d7ba7d | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor | #569cd6 | — |
| meta.preprocessor.string | #ce9178 | — |
| meta.preprocessor.numeric | #b5cea8 | — |
| meta.structure.dictionary.key.python | #9cdcfe | — |
| meta.diff.header | #569cd6 | — |
| string.tag | #ce9178 | — |
| meta.template.expression | #d4d4d4 | — |
| keyword.other.unit | #b5cea8 | — |
| support.function.git-rebase | #9cdcfe | — |
| constant.sha.git-rebase | #b5cea8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #9CDCFE | — |
| meta.object-literal.key | #9CDCFE | — |
| 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 | #CE9178 | — |
| 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 | #CE9178 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #d16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #DCDCAA | — |
| keyword.operator.quantifier.regexp | #d7ba7d | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| beginning.punctuation.definition.list.markdown, entity.name.function, entity.name.tag, entity.name.variable, meta.object-literal.key.js, punctuation.definition.parameters.begin, punctuation.definition.parameters.end, punctuation.section.embedded, source.coffee.embedded, source, support.function, support.type.property-name, support.type.property-name, support.type.vendored.property-name, support.type.vendored.property-name, support.variable, variable.css, variable.language, variable.other.less, variable.scss, variable | #e7e7e7 | |
| meta.function-call.generic.python, support.function | #e7e7e7 | |
| markup.bold, variable.parameter.function, variable.other.property | #ffffff | |
| variable.parameter | #ffffff | italic |
| keyword.operator.cast, keyword.operator.expression, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.new, keyword.operator.sizeof, keyword.control, storage, keyword, punctuation.accessor, storage.modifier, storage.type, support.function.builtin.go, variable.language.this | #b1ebe1 | italic |
| keyword.operator, punctuation.definition, punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, punctuation.separator, storage.type.function.arrow | #8d8d8d | |
| constant.language, support.function.magic.python, support.variable.magic.python, variable.language.special.self.python, variable.parameter.function.language.special.self.python | #a3fdee | bold |
| entity.name.class, entity.name.type, keyword.channel.go, keyword.map.go, meta.return-type, meta.type.cast.expr, meta.type.new.expr, storage.type.annotation.groovy, storage.type.annotation.java, storage.type.boolean.go, storage.type.byte.go, storage.type.cs, storage.type.generic.cs, storage.type.generic.groovy, storage.type.generic.java, storage.type.groovy, storage.type.java, storage.type.modifier.cs, storage.type.numeric.go, storage.type.object.array.groovy, storage.type.object.array.java, storage.type.parameters.groovy, storage.type.primitive.array.groovy, storage.type.primitive.array.java, storage.type.primitive.groovy, storage.type.primitive.java, storage.type.string.go, storage.type.token.java, storage.type.uintptr.go, storage.type.variable.cs, support.class, support.constant.dom, support.constant.json, support.constant.math | #ffb1fb | underline |
| entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name | #cea8ce | |
| entity.other.inherited-class, markup.fenced_code.block, markup.inline.raw, support.type | #ffb1fb | |
| entity.name.function, support.constant.handlebars | #a7dff5 | bold |
| entity.name.tag.css, punctuation.definition.decorator.python, support.type.python | #a7dff5 | |
| markup.heading, markup.underline | #a7dff5 | underline |
| constant.character.escape, constant.other.set.regexp, punctuation.definition.string, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded, string, string.value, string.quoted.single, support.constant.property-value | #fad591 | |
| constant.other.placeholder, string.quoted.docstring.multi.python | #fad591 | italic |
| constant.character.set.regexp, constant.character, constant.numeric, string.regexp | #ffbf33 | |
| punctuation.definition.comment, comment.block.documentation, comment | #8d8d8d | |
| keyword.other.phpdoc | #8d8d8d | bold |
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}!`;
}