New England
Publisher: Dusty PomerleauThemes in package: 1
A truly comfortable light theme for Visual Studio Code
A truly comfortable light 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, punctuation.definition.comment, string.quoted.docstring | #8D867B | italic |
| constant.type-constructor.elm, entity.name.class.lua, entity.name.function.asciidoc, keyword.control.at-rule, markup.heading.blocktitle.asciidoc, markup.table.cell.delimiter.asciidoc, meta.attribute.rust, meta.function-call.arguments.python, meta.function-call.c, meta.function-call.cpp, meta.function-call.crystal variable.other.crystal, meta.function-call.erlang variable.other.erlang, meta.function-call.php variable.other.php, meta.function-call.ruby variable.other.ruby, meta.function-call.with-arguments.js variable.other.constant.js, meta.function-call.with-arguments.js variable.other.readwrite.js, meta.method-call.with-arguments.js variable.other.constant.js, meta.method-call.with-arguments.js variable.other.readwrite.js, meta.symbol.clojure, parameter.variable.function.elixir, source.cpp entity.name.scope-resolution, source.haskell constant, source.java storage.type, support.class.dart, support.function.go, support.type.builtin.class.flowtype, support.type.builtin.primitive.flowtype, support.type.class.flowtype, text.html.derivative variable.language, variable.other.readwrite | #664400 | — |
| constant.language, constant.numeric, entity.name.function.macro.erlang, entity.name.tag, markup.changed.git_gutter, markup.deleted.git_gutter, markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, markup.raw.block.fenced.markdown, markup.raw.block, support.class, support.constant.core.rust, support.constant.property-value.css, support.function.general.tex, text.asciidoc markup.raw, text.html.markdown markup.inline.raw.markdown, variable.language.elixir, variable.language.ruby | #660000 | — |
| entity.name.class, entity.name.package.go, entity.name.section, entity.name.type.class, entity.name.type.interface.ts, entity.name.type.module, entity.other.inherited-class, keyword.control.preamble.latex, source.haskell entity.name.namespace, text.asciidoc markup.heading, variable.language | #587182 | — |
| constant, entity.name.function.java, entity.name.function.member.cpp, entity.name.record.field.accessor.elm, entity.name.type.class.module.erlang, JSXNested, keyword.other.unit, meta, storage.modifier.import.java, support.class.crystal, support.constant.ext.php, variable.language.prototype.js, variable.other.block.crystal, variable.other.block.ruby, variable.other.constant, variable.other.crystal, variable.other.erlang, variable.other.lua, variable.other.object.cs, variable.other.object.js, variable.other.object.property.cs, variable.other.object.property.ts, variable.other.php, variable.other.property.cpp, variable.other.property.java, variable.other.property.js, variable.other.property.ts, variable.other.readwrite.js, variable.other.ruby, variable | #3e454e | — |
| invalid.deprecated, invalid.illegal, invalid | #dc322f | — |
| constant.asciidoc, constant.character.asciidoc, entity.other.attribute-name.class.css, kewyword.operator.union.flowtype, keyword.control.newline.tex, keyword, markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, markup.heading.marker.asciidoc, markup.heading.setext, markup.macro.inline.passthrough.asciidoc, markup.other.url.asciidoc, markup.quote punctuation.definition.blockquote.markdown, markup.substitution.attribute-reference.asciidoc, markup.table.delimiter.asciidoc, meta.separator, meta.structure.tuple.erlang, meta.vector.clojure, punctuation.accessor.cs, punctuation.accessor.ts, punctuation.definition.asciidoc, punctuation.definition.constant.elixir, punctuation.definition.constant.ruby, punctuation.definition.list.begin.markdown, punctuation.definition.quote.begin.markdown, punctuation.definition.raw.markdown, punctuation.dot.dart, punctuation.other.colon.go, punctuation.other.period.go, punctuation.separator.asciidoc, punctuation.separator.clause-head-body.erlang, punctuation.separator.colon.python, punctuation.separator.dict.python, punctuation.separator.dictionary.key-value.json, punctuation.separator.dot-access, punctuation.separator.key-value, punctuation.separator.method.crystal, punctuation.separator.method.elixir, punctuation.separator.method.ruby, punctuation.separator.module-function.erlang, punctuation.separator.namespace.access.cpp, punctuation.separator.namespace.ruby, punctuation.separator.other.crystal, punctuation.separator.period.java, punctuation.separator.period.python, punctuation.separator.pointer-access.c, punctuation.separator.pointer-access, punctuation.separator.variable.crystal, punctuation.separator.variable.ruby, punctuation.type.flowtype, source.cpp punctuation.separator.scope-resolution, source.python punctuation.section, source.rust storage.modifier, storage.modifier.import.java punctuation.separator.java, storage, support.asciidoc, support.function.be.latex, support.function.section.latex, support.function.textbf.latex, support.function.textit.latex, support.function.url.latex, text.asciidoc constant.other.symbol, text.asciidoc markup.code, variable.line-break.asciidoc, variable.other.anonymous.elixir punctuation.definition.variable.elixir | #9a4e32 | — |
| constant.language.unit.haskell, markup.heading.block-attribute.asciidoc, meta.preprocessor.haskell, meta.tag, punctuation.definition.fenced.markdown, punctuation.definition, punctuation, text.asciidoc markup.code markup.heading | #585550 | — |
| constant.character.format.placeholder.other.python, constant.numeric.math.tex, constant.other.placeholder.go, entity.other.attribute-name.id.css, markup.list.bullet.asciidoc, meta.declaration.exports.haskell entity.name.function.haskell, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.quasi.element.begin.js, punctuation.quasi.element.end.js, punctuation.section.embedded, storage.type.format.python, string.other.link.description.markdown, string.other.link.title.markdown, string.regexp constant.character, string.regexp constant, string.regexp keyword, string.regexp meta keyword, string.regexp meta punctuation meta.assertion, string.regexp meta punctuation, string.regexp meta.group, string.regexp punctuation, string.regexp, support.class.builtin.js, support.class.latex, support.class.math.latex, support.function.core.rust, variable.interpolation, variable.other.readwrite.global.pre-defined.ruby, variable.other.readwrite.global.ruby | #93255b | — |
| entity.global.clojure, entity.name.function, entity.name.section.latex, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, keyword.control.layout.tex, keyword.control.ref.latex, keyword.type.cs, markup.italic.quotes.asciidoc, meta.function.embedded.latex, meta.function.lua entity.name.function.lua, meta.method.identifier entity.name.function.java, storage.type.core.rust, storage.type.cs, support.function.magic.python, variable.language.dart | #2c5851 | — |
| constant.keyword.clojure, constant.language.symbol, constant.other.reference.label.latex, constant.other.reference.link.markdown, constant.other.symbol, entity.name.tag.css, entity.name.type.namespace.scope-resolution.cpp, entity.name.variable.parameter.cs, markup.heading.asciidoc, markup.heading.block-attribute.asciidoc, markup.list meta.paragraph.markdown, markup.meta.attribute-list.asciidoc, meta.function-call.java, meta.function.parameters variable.other.readwrite, meta.function.parameters.js variable.other.readwrite.js, meta.function.parameters.php variable.other.php, meta.method-call.java, punctuation.section.list.begin.elixir, punctuation.section.list.end.elixir, punctuation.section.regexp.begin.elixir, punctuation.section.regexp.end.elixir, source.crystal variable.other.readwrite, storage.type.elm, storage.type.haskell, support.constant.attribute-name.asciidoc, text.asciidoc markup.macro.block.general string.unquoted, text.asciidoc markup.other.url string.unquoted, variable.language.rust, variable.other, variable.parameter, variable.type.elm | #490049 | — |
| markup.heading, markup.inserted.git_gutter, markup.mark.asciidoc, string, text.asciidoc markup.link, variable.parameter.url.css | #5b5c31 | — |
| constant.other.general.math.tex, entity.name.function.call.cpp, entity.name.function.clojure, entity.name.function.cs, entity.name.function.dart, entity.name.function.lua, entity.name.function.rust, entity.name.record.field.elm, entity.other.attribute-name, entity.other.inherited-class.haskell, markup.admonition.asciidoc, markup.heading.list.asciidoc, markup.heading.list.asciidoc, meta.function-call entity.name.function, meta.function-call.crystal entity.name.function.crystal, meta.function-call.php, meta.method-call entity.name.function, meta.object-literal.key, meta.object.flowtype storage.type.function.js, meta.object.flowtype variable.other.readwrite.js, meta.property-name, source.python meta.function-call, string.other.link.description.title.markdown, support.class.ruby, support.function.builtin.go, support.function.construct.php, support.function.lua, support.function.mutator.js, support.module.elm, support.type.property-name, variable.other.constant.elixir, variable.other.object.access.cpp, variable.other.object.java, variable.other.object.ts, variable.other.object | #43596f | — |
| constant.character.escape, constant.character.numeric.regexp, constant.character, markup.highlight.asciidoc, string constant.other.placeholder | #407875 | — |
| entity.name.method.js | #3e454e | italic |
| markup.admonition entity.name.function.asciidoc, variable.language.self.crystal, variable.language.special.self.python, variable.language.this | #93255b | italic |
| text.html.basic entity.other.attribute-name | #3e454e | italic |
| *url*, *link*, *uri* | — | underline |
| punctuation.definition.italic.markdown, source.js constant.other.object.key.js string.unquoted.label.js | #9a4e32 | italic |
| markup.italic | #43596f | italic |
| markup.bold markup.italic string, markup.bold markup.italic, markup.bold string, markup.bold, markup.italic markup.bold string, markup.italic markup.bold, markup.quote markup.bold string, markup.quote markup.bold | #43596f | bold |
| punctuation.definition.bold.markdown | #9a4e32 | bold |
| markup.underline | #5b5c31 | underline |
| markup.quote meta.paragraph.markdown | #2c5851 | italic |
| markup.inserted | #859900 | — |
| markup.deleted | #dc322f80 | — |
| markup.changed | #43596f | — |
| token.info-token | #268bd2 | — |
| token.warn-token | #d33682 | — |
| token.error-token | #dc322f | — |
| token.debug-token | #407875 | — |
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}!`;
}