Neon Night
Publisher: chaseadamsioThemes in package: 4
Dark VS Code Theme
Dark VS Code Theme
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, punctuation.definition.comment | #DD92F677 | italic |
| string.quoted punctuation, string.quoted | #7EFDD0 | — |
| entity.name.function | #C7C8FF | italic |
| variable, string constant.other.placeholder | #69B4F9 | — |
| constant.language.boolean | #C7C8FF | normal |
| invalid, invalid.illegal | #FF8E8E | — |
| keyword | #DD92F6 | — |
| storage.type, storage.modifier | #DD92F6 | italic |
| keyword.operator.accessor | #C7C8FF | — |
| support.constant, keyword.other.special-method, keyword.other.new, keyword.other.debugger, keyword.control | #DD92F6 | italic |
| string.regexp | #7EFDD0 | — |
| constant.character.escape | #DD92F6 | — |
| *url*, *link*, *uri* | — | underline |
| variable.language | #C7C8FF | normal |
| entity.other.attribute-name | #DD92F6 | italic |
| markup.inserted | #DD92F6 | — |
| markup.deleted | #FF8E8E | — |
| markup.changed | #69B4F9 | — |
| markup.heading.heading-0.asciidoc, markup.heading.heading-1.asciidoc, markup.heading.heading-2.asciidoc, markup.heading.heading-3.asciidoc, markup.heading.heading-4.asciidoc, markup.heading.heading-5.asciidoc, markup.heading.heading-6.asciidoc | #DD92F6 | — |
| text.asciidoc markup.code markup.heading, text.asciidoc markup.code markup.heading entity.name.function | #69B4F9 | — |
| markup.bold.asciidoc | — | bold |
| markup.italic.asciidoc | — | italic |
| markup.raw.monospace.asciidoc | #69B4F9 | bold |
| source.clojure constant.keyword | #69B4F9 | — |
| source.clojure storage.control | #DD92F6 | — |
| source.clojure meta.symbol | #0adeff | italic |
| source.css keyword.control, source.sass keyword.control, source.scss keyword.control, source.less keyword.control, source.stylus keyword.control, source.postcss keyword.control | #DD92F6 | italic |
| source.css entity.name.tag, source.sass entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag, source.postcss entity.name.tag | #DD92F6 | — |
| source.css support.constant.property-value, source.sass support.constant.property-value, source.less support.constant.property-value, source.stylus support.constant.property-value, source.postcss support.constant.property-value | #7EFDD0 | — |
| 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 | #DD92F6 | — |
| source.css entity.other.attribute-name.class, source.sass entity.other.attribute-name.class, source.scss entity.other.attribute-name.class, source.less entity.other.attribute-name.class, source.stylus entity.other.attribute-name.class, source.postcss entity.other.attribute-name.class | #0adeff | normal |
| source.css support.function, source.sass support.function, source.scss support.function, source.less support.function, source.stylus support.function, source.postcss support.function | #69B4F9 | normal |
| source.dockerfile keyword.other.special-method | #DD92F6 | normal |
| source.go entity.name.import | #7EFDD0 | — |
| source.go support.function | #69B4F9 | — |
| text.html entity.name.tag | #DD92F6 | — |
| text.html entity.other.attribute-name | #69B4F9 | — |
| text.html meta.tag.metadata.doctype | — | normal |
| source.js keyword.control.module | #DD92F6 | — |
| source.js keyword.operator.accessor | #DD92F6 | — |
| source.js string.unquoted | #C7C8FF | italic |
| source.js constant.other.object.key.js string.quoted, source.js constant.other.object.key.js string.quoted punctuation | #DD92F6 | — |
| source.js support.type | #DD92F6 | normal |
| source.js support.type.class.flowtype | #C7C8FF | normal |
| source.js entity.name.module.js, source.js variable.import.parameter.js, source.js variable.other.class.js | #C7C8FF | normal |
| source.js variable.language | #C7C8FF | normal |
| source.js meta.tag.jsx | #DD92F6 | — |
| source.js punctuation.definition.tag.jsx | #C7C8FF | — |
| source.js entity.other.attribute-name.jsx | #69B4F9 | italic |
| source.json support.type.property-name, source.json punctuation.support.type.property-name | #DD92F6 | — |
| source.json constant.language | #C7C8FF | normal |
| source.json string.quoted.double, source.json string.quoted.double punctuation | #0adeff | — |
| source.makefile variable.language | #DD92F6 | — |
| source.makefile support.function.target.PHONY | #69B4F9 | — |
| source.makefile entity.name.function.target.makefile | #DD92F6 | — |
| source.makefile string.interpolated variable.language | #7EFDD0 | — |
| source.makefile punctuation.definition | #7EFDD0 | — |
| source.makefile meta.scope.function-call | #0adeff | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #C7C8FF | — |
| text.html.markdown markup.inline.raw, text.html.markdown markup.inline.raw punctuation.definition.raw.markdown | #69B4F9 | normal |
| text.html.markdown markup.heading | #DD92F6 | — |
| text.html.markdown markup.italic | #0adeff | italic |
| text.html.markdown markup.bold, text.html.markdown markup.bold string | #0adeff | bold |
| text.html.markdown markup.underline | #C7C8FF | underline |
| text.html.markdown markup.quote punctuation.definition.blockquote.markdown | #DD92F6 | — |
| text.html.markdown markup.quote | #69B4F9 | italic |
| text.html.markdown string.other.link.title.markdown | #69B4F9 | — |
| text.html.markdown string.other.link.description.title | #C7C8FF | — |
| text.html.markdown markup.underline.link | #7EFDD0 | — |
| text.html.markdown markup.raw.block | #C7C8FF | — |
| text.html.markdown markup.raw.block.fenced | #C7C8FF | — |
| text.html.markdown markup.fenced_code.block punctuation.definition | #69B4F9 | — |
| text.html markdown meta.separator | #C7C8FF | normal |
| source.yaml entity.name.tag | #DD92F6 | — |
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}!`;
}