Lightless Theme
Publisher: Two DevsThemes in package: 1
An improved dark theme for Visual Studio Code, inspired by Deepdark by Nimda and Material Theme by Mattia Astorino.
An improved dark theme for Visual Studio Code, inspired by Deepdark by Nimda and Material Theme by Mattia Astorino.
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 |
|---|---|---|
| punctuation, constant.other.symbol | #89DDFF | — |
| comment, punctuation.definition.comment, string.quoted.docstring | #6d6d6d | — |
| constant.numeric | #F78C6C | — |
| constant.language | #ff9cac | — |
| constant.other, support.constant | #eeffff | — |
| keyword.control | #89DDFF | — |
| keyword.control.conditional | #89DDFF | — |
| keyword.control.import, keyword.control.from | #7b8df1 | — |
| keyword.control.flow | #C792EA | — |
| constant.keyword | #89DDFF | italic |
| support.module, support.node | #f07178 | italic |
| keyword.other | #F78C6C | — |
| keyword.operator | #89DDFF | — |
| keyword.operator.logical | #ff8989 | — |
| keyword.operator.spread | #ff8989 | — |
| punctuation.definition.binding-pattern, meta.import punctuation.definition.block | #ff8989 | — |
| storage.type, storage.control | #C792EA | — |
| storage.modifier | #C792EA | — |
| storage.other | #C792EA | — |
| entity.other.key, entity.other.inherited-class, entity.name.type, support.type, support.class, meta.use, constant.other.key | #ffd16e | — |
| variable.object.property, meta.field.declaration entity.name.function | #ff748e | — |
| meta.definition.method entity.name.function | #ff748e | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #89DDFF | — |
| string, string.unquoted | #C3E88D | — |
| constant.character.escape, text.html constant.character.entity.named | #EEFFFF | — |
| string.regexp | #C3E88D | — |
| string.regexp keyword.control, string.regexp keyword.operator, constant.other.character-class.regexp | #f77171 | — |
| string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end | #ffffff | — |
| string.regexp punctuation | #A9B9B0 | — |
| string.regexp keyword.other | #FFCB6B | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #89DDFF | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #EEFFFF | — |
| variable, variable.language, support.variable, meta.definition.variable entity.name.function | #EEFFFF | — |
| variable.language.this, variable.language.self, variable.language.super | #7b8df1 | — |
| variable.parameter, meta.function-call.arguments | #EEFFFF | — |
| meta.function, entity.name.function | #82AAFF | — |
| entity.name.function.call, support.function, source.python meta.function-call.python | #82AAFF | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #ff748e | — |
| variable.other.property | #ff748e | — |
| constant.language.json | #89DDFF | — |
| string.quoted.double.json | #e6e6e6 | — |
| meta.structure.dictionary.json support.type.property-name.json | #ffb870 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ff8670 | — |
| 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 | #ff748e | — |
| 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 | #ea72c7 | — |
| 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 | #df71e3 | — |
| 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 | #d470ff | — |
| 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 | #a599ff | — |
| 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 | #ada2ff | — |
| 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 | #b4aaff | — |
| entity.other.attribute-name.class | #C792EA | — |
| entity.other.attribute-name.id | #F78C6C | — |
| source.css entity.name.tag | #FFCB6B | — |
| support.type.property-name.css, support.type.property-name.media | #eeffff | — |
| support.type.vendored.property-name.css | #9ba7ec | — |
| support.constant.property-value.css | #89DDFF | — |
| punctuation.definition.css | #eeffff | — |
| keyword.operator.css | #eeffff | — |
| meta.tag, punctuation.definition.tag | #89DDFF | — |
| entity.name.tag | #f07178 | — |
| entity.other.attribute-name | #C792EA | — |
| punctuation.definition.entity.html | #EEFFFF | — |
| markup.heading | #89DDFF | — |
| text.html.markdown meta.link.inline, meta.link.reference | #f07178 | — |
| text.html.markdown beginning.punctuation.definition.list | #89DDFF | — |
| markup.italic | #f07178 | italic |
| markup.bold | #f07178 | bold |
| markup.bold markup.italic, markup.italic markup.bold | #f07178 | italic bold |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #C3E88D | — |
| markup.inline.raw.string.markdown | #C3E88D | — |
| markup.quote | #89DDFF | italic |
| markup.fenced_code.block | #EEFFFF90 | — |
| punctuation.definition.quote | #ff9cac | — |
| entity.name.tag.yaml | #ff748e | — |
| keyword.other.definition.ini | #ff748e | — |
| entity.name.section.group-title.ini | #89DDFF | — |
| source.cs meta.class.identifier storage.type | #ffd16e | — |
| source.cs meta.method.identifier entity.name.function | #ff748e | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #82AAFF | — |
| source.cs storage.type | #ffd16e | — |
| source.cs meta.method.return-type | #ffd16e | — |
| source.cs meta.preprocessor | #4A4A4A | — |
| source.cs entity.name.type.namespace | #EEFFFF | — |
| source.cpp meta.block variable.other | #EEFFFF | — |
| meta.jsx.children, SXNested | #EEFFFF | — |
| support.class.component | #ffd16e | — |
| source.python meta.member.access.python | #ff748e | — |
| source.php support.other.namespace, source.php meta.use support.class | #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}!`;
}