Dark Space
Publisher: Dead RevolverThemes in package: 2
A dark and modern theme for Visual Studio Code.
A dark and modern theme for Visual Studio Code.
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, meta.var.expr storage.type, keyword.control.flow, keyword.control.return, meta.directive.vue punctuation.separator.key-value.html, meta.directive.vue entity.other.attribute-name.html, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js, storage.modifier | — | italic |
| keyword.control.flow.block-scalar.literal | — | |
| comment, comment.block.documentation, punctuation.definition.comment, comment.block.documentation punctuation | #4D5375 | — |
| comment.block.documentation variable, comment.block.documentation storage, comment.block.documentation keyword, comment.block.documentation support, comment.block.documentation markup, comment.block.documentation markup.inline.raw.string.markdown, meta.other.type.phpdoc.php keyword.other.type.php, meta.other.type.phpdoc.php support.other.namespace.php, meta.other.type.phpdoc.php punctuation.separator.inheritance.php, meta.other.type.phpdoc.php support.class, keyword.other.phpdoc.php, log.date | #5A638C | — |
| meta.other.type.phpdoc.php support.class, comment.block.documentation storage.type, comment.block.documentation punctuation.definition.block.tag, comment.block.documentation entity.name.type.instance | #646E9C | — |
| variable.other.constant, punctuation.definition.constant, constant.language, constant.numeric, support.constant | #A779F3 | — |
| string, constant.other.symbol, constant.other.key, meta.attribute-selector | #7BCCFC | |
| constant.other.color, constant.other.color.rgb-value.hex punctuation.definition.constant | #9AA5CE | — |
| invalid, invalid.illegal | #FF5370 | — |
| invalid.deprecated | #B79DFF | — |
| storage.type | #B79DFF | — |
| meta.var.expr storage.type, storage.modifier | #A779F3 | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded.line.tag.smarty, support.constant.handlebars, punctuation.section.tag.twig | #7BCCFC | — |
| keyword.control.smarty, keyword.control.twig, support.constant.handlebars keyword.control, keyword.operator.comparison.twig, keyword.blade, entity.name.function.blade | #87A1FF | — |
| keyword.operator.spread, keyword.operator.rest | #FF7D95 | — |
| keyword.operator.key | #B79DFF | — |
| keyword.operator, keyword.control.as, keyword.other, keyword.operator.bitwise.shift, punctuation, text.html.twig meta.tag.inline.any.html, meta.tag.template.value.twig meta.function.arguments.twig, meta.directive.vue punctuation.separator.key-value.html, punctuation.definition.constant.markdown, punctuation.definition.string, punctuation.support.type.property-name, text.html.vue-html meta.tag, punctuation.definition.keyword, punctuation.terminator.rule, punctuation.separator.inheritance.php, keyword.other.template, keyword.other.substitution, entity.name.operator, meta.property-list punctuation.separator.key-value, meta.at-rule.mixin punctuation.separator.key-value, meta.at-rule.function variable.parameter.url | #7BCCFC | — |
| punctuation.definition.variable | #BDC8F5 | — |
| punctuation.definition.variable | #BDC8F5 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.default, meta.import keyword.other | #7BCCFC | — |
| keyword, keyword.control, keyword.other.important | #B79DFF | — |
| keyword.other.DML | #7BCCFC | — |
| keyword.operator.logical, storage.type.function, keyword.operator.bitwise, keyword.operator.ternary, keyword.operator.comparison, keyword.operator.relational, keyword.operator.or.regexp | #B79DFF | — |
| entity.name.tag | #FF7D95 | — |
| entity.name.tag support.class.component, meta.tag | #FF7D95 | — |
| punctuation.definition.tag | #DE4BA3 | — |
| constant.other.php, variable.other.global.safer, variable.other.global.safer punctuation.definition.variable, variable.other.global, variable.other.global punctuation.definition.variable, constant.other | #A779F3 | — |
| variable, support.variable, string constant.other.placeholder, variable.parameter.handlebars | #BDC8F5 | — |
| variable.other.object | #BDC8F5 | — |
| meta.array.literal variable | #7BCCFC | — |
| meta.object-literal.key, string.alias.graphql, string.unquoted.graphql, string.unquoted.alias.graphql, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, meta.field.declaration.ts variable.object.property | #7BCCFC | — |
| variable.other.property, support.variable.property, support.variable.property.dom, meta.function-call variable.other.object.property | #B79DFF | — |
| variable.other.object.property | #BDC8F5 | — |
| meta.objectliteral meta.object.member meta.objectliteral meta.object.member meta.objectliteral meta.object.member meta.object-literal.key | #7BCCFC | — |
| source.cpp meta.block variable.other | #FF7D95 | — |
| support.other.variable | #FF7D95 | — |
| meta.class-method.js entity.name.function.js, entity.name.method.js, variable.function.constructor, keyword.other.special-method, storage.type.cs | #87A1FF | — |
| entity.name.function, meta.function-call, meta.function-call entity.name.function, variable.function, meta.definition.method entity.name.function, meta.object-literal entity.name.function | #87A1FF | — |
| variable.parameter.function.language.special, variable.parameter, meta.function.parameters punctuation.definition.variable, meta.function.parameter variable | #A779F3 | — |
| keyword.other.type.php, storage.type.php, constant.character, constant.escape, keyword.other.unit | #B79DFF | — |
| meta.definition.variable variable.other.constant, meta.definition.variable variable.other.readwrite, variable.other.declaration | #B79DFF | — |
| entity.other.inherited-class | #B79DFF | |
| support.class, support.type, variable.other.readwrite.alias, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, support.type.sys-types, support.variable.dom, support.constant.math, support.type.object.module, support.constant.json, entity.name.namespace, meta.import.qualifier | #87A1FF | — |
| support.other.namespace, support.other.namespace.php, punctuation.separator.inheritance, punctuation.separator.inheritance.php | #6A85E4 | — |
| entity.name | #BDC8F5 | — |
| entity.name.type | #87A1FF | — |
| entity.name.type.cs | #B79DFF | — |
| support.function | #87A1FF | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name, support.type.property-name.css, support.type.vendored.property-name, support.type.map.key | #87A1FF | — |
| support.constant.font-name, meta.definition.variable | #7BCCFC | — |
| entity.other.attribute-name.class, meta.at-rule.mixin.scss entity.name.function.scss | #7BCCFC | — |
| entity.other.attribute-name.id | #FF7D95 | — |
| entity.name.tag.css | #87A1FF | — |
| entity.other.attribute-name.pseudo-class 7BCCFC, entity.other.attribute-name.pseudo-element 7BCCFC, entity.other.attribute-name.class 7BCCFC, entity.name.tag.reference | #A779F3 | — |
| meta.property-list | #9ABDF5 | — |
| meta.property-list meta.at-rule.if, meta.at-rule.return variable.parameter.url, meta.property-list meta.at-rule.else | #A779F3 | — |
| entity.other.attribute-name.parent-selector-suffix 7BCCFC.css | #7BCCFC | — |
| meta.property-list meta.property-list | #9ABDF5 | — |
| meta.at-rule.mixin keyword.control.at-rule.mixin, meta.at-rule.include entity.name.function.scss, meta.at-rule.include keyword.control.at-rule.include | #B79DFF | — |
| keyword.control.at-rule.include punctuation.definition.keyword, keyword.control.at-rule.mixin punctuation.definition.keyword, meta.at-rule.include keyword.control.at-rule.include, keyword.control.at-rule.extend punctuation.definition.keyword, meta.at-rule.extend keyword.control.at-rule.extend, entity.other.attribute-name.placeholder.css 7BCCFC.css, meta.at-rule.media keyword.control.at-rule.media, meta.at-rule.mixin keyword.control.at-rule.mixin, meta.at-rule.function keyword.control.at-rule.function, keyword.control punctuation.definition.keyword | #A779F3 | — |
| meta.property-list meta.at-rule.include | #BDC8F5 | — |
| support.constant.property-value | #A779F3 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #BDC8F5 | — |
| variable.language | #FF7D95 | — |
| variable.other punctuation.definition.variable | #BDC8F5 | — |
| source.js constant.other.object.key.js string.unquoted.label.js, variable.language.this punctuation.definition.variable, keyword.other.this | #FF7D95 | — |
| entity.other.attribute-name, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #B79DFF | — |
| text.html constant.character.entity | #87A1FF | — |
| entity.other.attribute-name.id.html, meta.directive.vue entity.other.attribute-name.html | #B79DFF | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.id.css punctuation.definition.entity.css | #A779F3 | — |
| source.sass keyword.control | #87A1FF | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.placeholder, meta.property-list meta.property-value | #B79DFF | — |
| markup.inserted | #A779F3 | — |
| markup.deleted | #FF5370 | — |
| markup.changed | #6183BB | — |
| string.regexp | #B79DFF | — |
| punctuation.definition.group | #FF7D95 | — |
| constant.other.character-class.regexp | #B79DFF | — |
| constant.other.character-class.set.regexp, punctuation.definition.character-class.regexp | #A779F3 | — |
| keyword.operator.quantifier.regexp | #7BCCFC | — |
| constant.character.escape.backslash | #BDC8F5 | — |
| constant.character.escape | #7BCCFC | — |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #87A1FF | — |
| keyword.other.unit | #FF7D95 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #87A1FF | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #87A1FF | — |
| 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 | #87A1FF | — |
| 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 | #87A1FF | — |
| 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 | #87A1FF | — |
| 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 | #87A1FF | — |
| 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 | #87A1FF | — |
| 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 | #87A1FF | — |
| 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 | #87A1FF | — |
| punctuation.definition.list_item.markdown | #9ABDF5 | — |
| meta.block, meta.brace, punctuation.definition.block, punctuation.definition.use, punctuation.definition.class, punctuation.definition.begin.bracket, punctuation.definition.end.bracket, punctuation.definition.switch-expression.begin.bracket, punctuation.definition.switch-expression.end.bracket, punctuation.definition.section.switch-block.begin.bracket, punctuation.definition.section.switch-block.end.bracket, punctuation.definition.group.shell, punctuation.definition.parameters, punctuation.definition.arguments, punctuation.definition.dictionary, punctuation.definition.array, punctuation.section | #9ABDF5 | — |
| meta.jsx.children, meta.embedded.block | #BDC8F5 | — |
| text.html, text.log | #9AA5CE | — |
| text.html.markdown markup.inline.raw.markdown | #B79DFF | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #4E5579 | — |
| heading.1.markdown entity.name | #7BCCFC | bold |
| heading.2.markdown entity.name | #58C8F1 | bold |
| heading.3.markdown entity.name | #87A1FF | bold |
| heading.4.markdown entity.name | #6D86DE | bold |
| heading.5.markdown entity.name | #9AA5CE | bold |
| heading.6.markdown entity.name | #7E83B2 | bold |
| markup.italic | #BDC8F5 | italic |
| markup.bold | #BDC8F5 | bold |
| markup.bold markup.italic | #BDC8F5 | bold italic |
| markup.underline, markup.underline punctuation | — | underline |
| markup.quote punctuation.definition.blockquote.markdown | #4E5579 | — |
| markup.strikethrough.markdown | — | strikethrough |
| markup.underline.link.markdown, markup.underline.link | #87A1FF | underline |
| markup.quote | — | italic |
| string.other.link, constant.other.reference.link.markdown, string.other.link.description.title.markdown | #7BCCFC | — |
| markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, variable.language.fenced.markdown | #7BCCFC | — |
| meta.separator | #4D5375 | bold |
| heading.1.markdown punctuation.definition.heading.markdown, heading.2.markdown punctuation.definition.heading.markdown, heading.3.markdown punctuation.definition.heading.markdown, heading.4.markdown punctuation.definition.heading.markdown, heading.5.markdown punctuation.definition.heading.markdown, heading.6.markdown punctuation.definition.heading.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.markdown, markdown punctuation.definition.markdown, punctuation.definition.strikethrough.markdown | #4D5375 | — |
| markup.table | #BDC8F5 | — |
| token.info-token | #87A1FF | — |
| token.warn-token | #FFDB69 | — |
| token.error-token | #FF5370 | — |
| token.debug-token | #9357E0 | — |
| entity.tag.apacheconf | #FF7D95 | — |
| meta.preprocessor | #7BCCFC | — |
| source.env | #87A1FF | — |
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}!`;
}