Nebulous Color Themes
Inspired by the cosmos, a collection of VS Code color themes to customize your coding experience.
Inspired by the cosmos, a collection of VS Code color themes to customize your coding experience.
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 |
|---|---|---|
| block.scope, constant.numeric, entity.name.function.operator, keyword.operator, meta.brace, punctuation, support.constant.core.rust, support.constant.font-name, support.constant.property-value, support.constant.std.php, support.type.property-name, token.package, variable.parameter, wikiword.xi | #000000 | — |
| docstring.variable.end.numpy.python, entity.global.clojure, entity.name.class, entity.name.type, entity.name.namespace, entity.name.package, entity.name.lifetime.rust, entity.other.attribute-name.class.css, entity.other.attribute-name.id, entity.other.inherited-class, meta.function-result.swift, storage.modifier.import, support.class, support.type.primitive, support.type.builtin, support.type.swift | #0010ff | — |
| constant, docstring.literal, entity.name.tag.css, entity.name.tag.wildcard, entity.name.tag.namespace.xml, entity.name.tag.xml, keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.logical.python, keyword.operator.instanceof, keyword.operator.type.php, meta.selector, meta.link.inline.markdown, markup.underline.link, meta.function.decorator.python, storage, storage.type, support.constant.color, support.constant.media.css, token.storage, variable.language.this, punctuation.definition.directive, punctuation.definition.block.tag, punctuation.definition.constant, punctuation.definition.keyword, punctuation.definition.metadata.markdown, variable.parameter.function.language.special.self.python | #8a006e | — |
| string, markup.inserted, markup.bold, todo.bold, markup.heading.setext, source.ini, markup.bold, markup.italic, markup.inline.raw.string.markdown, markup.strikethrough, fenced_code.block.language.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.markdown, punctuation.definition.math, punctuation.definition.raw.markdown, punctuation.definition.strikethrough.markdown, punctuation.definition.string | #126900 | — |
| accent.xi, entity.name.function, entity.name.function.operator.member, entity.name.goto-label.php, entity.name.tag.html, entity.name.tag.localname.xml, keyword.control.at-rule.media.css, meta.function-call, meta.function.decorator.python, meta.declaration.annotation.java, punctuation.definition.annotation, punctuation.definition.decorator.python, punctuation.definition.link.title, punctuation.definition.link.description, punctuation.decorator.ts, string.other.link, support.function, storage.type.annotation.java, variable.function | #f55000 | — |
| constant.other.character-class.regexp, docstring.snippet, docstring.variable.placeholder.numpy.python, entity.name.tag, entity.other.attribute-name, entity.name.section, entity.name.section.nmd, markup.heading, meta.property.object, meta.symbol.clojure, meta.definition.type, punctuation.definition.heading, punctuation.definition.list, punctuation.support.type.property-name, support.variable, meta.attribute, support.type.property-name, support.type.property-name.media.css, variable, variable.parameter | #0050ff | — |
| comment, markup.quote, punctuation.definition.quote, punctuation.definition.quote, punctuation.definition.comment, punctuation.definition.tag.xi | #af0000 | italic |
| constant.numeric.other.suffix, docstring.variable.placeholder.numpy.python, entity.other.attribute-name, entity.name.function.decorator.python, keyword.other.unit, markup.italic, markup.underline.link, meta.function.decorator.python, punctuation.definition.decorator.python, support.constant.property-value, variable.language.this, variable.language.super, variable.parameter, variable.parameter.function.language.special.self.python | — | italic |
| constant, docstring.literal, constant.character.escape, entity.other.attribute-name.class.css, keyword, keyword.control, keyword.operator.expression, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.new, keyword.operator.type.php, markup.bold, markup.heading, meta.selector, storage, storage.type, support.constant.color, support.function.builtin.python, support.function.magic.python, token.storage | — | bold |
| constant.numeric, keyword.operator.logical.and.media.css, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | — | normal |
| invalid.illegal, invalid.broken, token.error-token | #ff0000 | underline |
| invalid.deprecated, invalid.unimplemented | #000000 | strikethrough |
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 |
|---|---|---|
| block.scope, constant.numeric, entity.name.function.operator, keyword.operator, meta.brace, punctuation, support.constant.core.rust, support.constant.font-name, support.constant.property-value, support.constant.std.php, support.type.property-name, token.package, variable.parameter, wikiword.xi | #000000 | — |
| docstring.variable.end.numpy.python, entity.global.clojure, entity.name.class, entity.name.type, entity.name.namespace, entity.name.package, entity.name.lifetime.rust, entity.other.attribute-name.class.css, entity.other.attribute-name.id, entity.other.inherited-class, meta.function-result.swift, storage.modifier.import, support.class, support.type.primitive, support.type.builtin, support.type.swift | #0010ff | — |
| constant, docstring.literal, entity.name.tag.css, entity.name.tag.wildcard, entity.name.tag.namespace.xml, entity.name.tag.xml, keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.logical.python, keyword.operator.instanceof, keyword.operator.type.php, meta.selector, meta.link.inline.markdown, markup.underline.link, meta.function.decorator.python, storage, storage.type, support.constant.color, support.constant.media.css, token.storage, variable.language.this, punctuation.definition.directive, punctuation.definition.block.tag, punctuation.definition.constant, punctuation.definition.keyword, punctuation.definition.metadata.markdown, variable.parameter.function.language.special.self.python | #8a006e | — |
| string, markup.inserted, markup.bold, todo.bold, markup.heading.setext, source.ini, markup.bold, markup.italic, markup.inline.raw.string.markdown, markup.strikethrough, fenced_code.block.language.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.markdown, punctuation.definition.math, punctuation.definition.raw.markdown, punctuation.definition.strikethrough.markdown, punctuation.definition.string | #126900 | — |
| accent.xi, entity.name.function, entity.name.function.operator.member, entity.name.goto-label.php, entity.name.tag.html, entity.name.tag.localname.xml, keyword.control.at-rule.media.css, meta.function-call, meta.function.decorator.python, meta.declaration.annotation.java, punctuation.definition.annotation, punctuation.definition.decorator.python, punctuation.definition.link.title, punctuation.definition.link.description, punctuation.decorator.ts, string.other.link, support.function, storage.type.annotation.java, variable.function | #f55000 | — |
| constant.other.character-class.regexp, docstring.snippet, docstring.variable.placeholder.numpy.python, entity.name.tag, entity.other.attribute-name, entity.name.section, entity.name.section.nmd, markup.heading, meta.property.object, meta.symbol.clojure, meta.definition.type, punctuation.definition.heading, punctuation.definition.list, punctuation.support.type.property-name, support.variable, meta.attribute, support.type.property-name, support.type.property-name.media.css, variable, variable.parameter | #0050ff | — |
| comment, markup.quote, punctuation.definition.quote, punctuation.definition.quote, punctuation.definition.comment, punctuation.definition.tag.xi | #af0000 | italic |
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 |
|---|---|---|
| block.scope, constant.numeric, entity.name.function.operator, keyword.operator, meta.brace, punctuation, support.constant.core.rust, support.constant.font-name, support.constant.property-value, support.constant.std.php, support.type.property-name, token.package, variable.parameter, wikiword.xi | #000000 | — |
| docstring.variable.end.numpy.python, entity.global.clojure, entity.name.class, entity.name.type, entity.name.namespace, entity.name.package, entity.name.lifetime.rust, entity.other.attribute-name.class.css, entity.other.attribute-name.id, entity.other.inherited-class, meta.function-result.swift, storage.modifier.import, support.class, support.type.primitive, support.type.builtin, support.type.swift | #0010ff | — |
| constant, docstring.literal, entity.name.tag.css, entity.name.tag.wildcard, entity.name.tag.namespace.xml, entity.name.tag.xml, keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.logical.python, keyword.operator.instanceof, keyword.operator.type.php, meta.selector, meta.link.inline.markdown, markup.underline.link, meta.function.decorator.python, storage, storage.type, support.constant.color, support.constant.media.css, token.storage, variable.language.this, punctuation.definition.directive, punctuation.definition.block.tag, punctuation.definition.constant, punctuation.definition.keyword, punctuation.definition.metadata.markdown, variable.parameter.function.language.special.self.python | #8a006e | — |
| string, markup.inserted, markup.bold, todo.bold, markup.heading.setext, source.ini, markup.bold, markup.italic, markup.inline.raw.string.markdown, markup.strikethrough, fenced_code.block.language.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.markdown, punctuation.definition.math, punctuation.definition.raw.markdown, punctuation.definition.strikethrough.markdown, punctuation.definition.string | #126900 | — |
| accent.xi, entity.name.function, entity.name.function.operator.member, entity.name.goto-label.php, entity.name.tag.html, entity.name.tag.localname.xml, keyword.control.at-rule.media.css, meta.function-call, meta.function.decorator.python, meta.declaration.annotation.java, punctuation.definition.annotation, punctuation.definition.decorator.python, punctuation.definition.link.title, punctuation.definition.link.description, punctuation.decorator.ts, string.other.link, support.function, storage.type.annotation.java, variable.function | #f55000 | — |
| constant.other.character-class.regexp, docstring.snippet, docstring.variable.placeholder.numpy.python, entity.name.tag, entity.other.attribute-name, entity.name.section, entity.name.section.nmd, markup.heading, meta.property.object, meta.symbol.clojure, meta.definition.type, punctuation.definition.heading, punctuation.definition.list, punctuation.support.type.property-name, support.variable, meta.attribute, support.type.property-name, support.type.property-name.media.css, variable, variable.parameter | #0050ff | — |
| comment, markup.quote, punctuation.definition.quote, punctuation.definition.quote, punctuation.definition.comment, punctuation.definition.tag.xi | #af0000 | italic |
| constant.numeric.other.suffix, docstring.variable.placeholder.numpy.python, entity.other.attribute-name, entity.name.function.decorator.python, keyword.other.unit, markup.italic, markup.underline.link, meta.function.decorator.python, punctuation.definition.decorator.python, support.constant.property-value, variable.language.this, variable.language.super, variable.parameter, variable.parameter.function.language.special.self.python | — | italic |
| constant, docstring.literal, constant.character.escape, entity.other.attribute-name.class.css, keyword, keyword.control, keyword.operator.expression, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.new, keyword.operator.type.php, markup.bold, markup.heading, meta.selector, storage, storage.type, support.constant.color, support.function.builtin.python, support.function.magic.python, token.storage | — | bold |
| constant.numeric, keyword.operator.logical.and.media.css, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | — | normal |
| invalid.illegal, invalid.broken, token.error-token | #ff0000 | underline |
| invalid.deprecated, invalid.unimplemented | #000000 | strikethrough |
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 |
|---|---|---|
| block.scope, constant.numeric, entity.name.function.operator, keyword.operator, meta.brace, punctuation, support.constant.core.rust, support.constant.font-name, support.constant.property-value, support.constant.std.php, support.type.property-name, token.package, variable.parameter, wikiword.xi | #000000 | — |
| docstring.variable.end.numpy.python, entity.global.clojure, entity.name.class, entity.name.type, entity.name.namespace, entity.name.package, entity.name.lifetime.rust, entity.other.attribute-name.class.css, entity.other.attribute-name.id, entity.other.inherited-class, meta.function-result.swift, storage.modifier.import, support.class, support.type.primitive, support.type.builtin, support.type.swift | #0010ff | — |
| constant, docstring.literal, entity.name.tag.css, entity.name.tag.wildcard, entity.name.tag.namespace.xml, entity.name.tag.xml, keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.logical.python, keyword.operator.instanceof, keyword.operator.type.php, meta.selector, meta.link.inline.markdown, markup.underline.link, meta.function.decorator.python, storage, storage.type, support.constant.color, support.constant.media.css, token.storage, variable.language.this, punctuation.definition.directive, punctuation.definition.block.tag, punctuation.definition.constant, punctuation.definition.keyword, punctuation.definition.metadata.markdown, variable.parameter.function.language.special.self.python | #8a006e | — |
| string, markup.inserted, markup.bold, todo.bold, markup.heading.setext, source.ini, markup.bold, markup.italic, markup.inline.raw.string.markdown, markup.strikethrough, fenced_code.block.language.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.markdown, punctuation.definition.math, punctuation.definition.raw.markdown, punctuation.definition.strikethrough.markdown, punctuation.definition.string | #126900 | — |
| accent.xi, entity.name.function, entity.name.function.operator.member, entity.name.goto-label.php, entity.name.tag.html, entity.name.tag.localname.xml, keyword.control.at-rule.media.css, meta.function-call, meta.function.decorator.python, meta.declaration.annotation.java, punctuation.definition.annotation, punctuation.definition.decorator.python, punctuation.definition.link.title, punctuation.definition.link.description, punctuation.decorator.ts, string.other.link, support.function, storage.type.annotation.java, variable.function | #f55000 | — |
| constant.other.character-class.regexp, docstring.snippet, docstring.variable.placeholder.numpy.python, entity.name.tag, entity.other.attribute-name, entity.name.section, entity.name.section.nmd, markup.heading, meta.property.object, meta.symbol.clojure, meta.definition.type, punctuation.definition.heading, punctuation.definition.list, punctuation.support.type.property-name, support.variable, meta.attribute, support.type.property-name, support.type.property-name.media.css, variable, variable.parameter | #0050ff | — |
| comment, markup.quote, punctuation.definition.quote, punctuation.definition.quote, punctuation.definition.comment, punctuation.definition.tag.xi | #af0000 | italic |
| constant.numeric.other.suffix, docstring.variable.placeholder.numpy.python, entity.other.attribute-name, entity.name.function.decorator.python, keyword.other.unit, markup.italic, markup.underline.link, meta.function.decorator.python, punctuation.definition.decorator.python, support.constant.property-value, variable.language.this, variable.language.super, variable.parameter, variable.parameter.function.language.special.self.python | — | italic |
| constant, docstring.literal, constant.character.escape, entity.other.attribute-name.class.css, keyword, keyword.control, keyword.operator.expression, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.new, keyword.operator.type.php, markup.bold, markup.heading, meta.selector, storage, storage.type, support.constant.color, support.function.builtin.python, support.function.magic.python, token.storage | — | bold |
| constant.numeric, keyword.operator.logical.and.media.css, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | — | normal |
| invalid.illegal, invalid.broken, token.error-token | #ff0000 | underline |
| invalid.deprecated, invalid.unimplemented | #000000 | strikethrough |
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}!`;
}
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}!`;
}