Warm Night
Publisher: Shelby LandenThemes in package: 1
A warm dark theme for VS Code
A warm dark theme for VS 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 | #947A83FF | italic |
| variable, variable.parameter, string constant.other.placeholder, string meta.interpolation, meta.block variable.other, meta.function.call.rust, meta.method-call.java, meta.object.member, support.other.variable, support.variable, string.other.link, string.other.link.title.markdown, entity.other.attribute-name, meta.tag, 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, source.json meta.structure.dictionary.json support.type.property-name.json | #E0AA8FFF | — |
| constant.language, support.constant, constant.character, constant.escape, constant.keyword, constant.other.caps, constant.other.php, constant.other.class, constant.other.option, variable.other.constant, source.sass keyword.control, constant.other.reference.link.markdown | #E8C391FF | — |
| source.css support.constant, support.constant.property-value, constant.other.color, meta.property-value.css | #ACA4B7FF | — |
| invalid, invalid.illegal | #EB4747FF | — |
| entity.name.tag, keyword, keyword.operator.new, meta.tag.sgml, markup.deleted.git_gutter, storage.type, storage.modifier, variable.language | #F07D60FF | — |
| meta.brace, meta.object.member meta.brace, punctuation, punctuation.separator.inheritance.php, punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation variable, punctuation variable.parameter, keyword.other.template, keyword.other.substitution | #9F6F63FF | — |
| keyword.operator, punctuation.separator.statement, storage.modifier.reference, meta.separator, punctuation.definition.interpolation, punctuation.definition.template-expression, punctuation.section.embedded | #4C928BFF | — |
| entity.name.function, entity.name.method.js, entity.name.module.js, keyword.other.special-method, meta.class-method.js entity.name.function.js, meta.function-call, support.function, variable.function, variable.function.constructor, variable.import.parameter.js, variable.other.class.js, markup.underline.link | #F9AD5DFF | — |
| constant.numeric, keyword.other.unit | #98B080FF | — |
| string, constant.other.symbol, constant.other.key, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #DF8D53FF | — |
| markup.inline.raw.string.markdown, string.regexp, text.html.markdown markup.inline.raw.markdown | #E7AA7EFF | — |
| entity.name, entity.other.attribute-name.class, entity.other.inherited-class, markup.changed.git_gutter, meta.use, storage.type.annotation, storage.type.java, storage.modifier.import.java, storage.modifier.package.java, support.class, support.other.namespace.use.php, support.other.namespace.php, support.type, support.type.sys-types | #E85C87FF | — |
| *url*, *link*, *uri*, markup.underline | — | underline |
| heading.1.markdown punctuation.definition.heading | #FF9980FF | — |
| heading.2.markdown punctuation.definition.heading | #EA876FFF | — |
| heading.3.markdown punctuation.definition.heading | #C76C57FF | — |
| heading.4.markdown punctuation.definition.heading | #BA604AFF | — |
| heading.5.markdown punctuation.definition.heading | #A85B48FF | — |
| heading.6.markdown punctuation.definition.heading | #945747FF | — |
| heading.1.markdown entity.name | — | bold |
| heading.2.markdown entity.name | #DE658BF2 | bold |
| heading.4.markdown entity.name | #E36189F2 | — |
| heading.5.markdown entity.name | #DA6A8CE6 | — |
| heading.6.markdown entity.name | #D07390D9 | — |
| markup.italic, markup.quote | — | italic |
| markup.bold, markup.bold string | — | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | — | italic bold |
| string.other.link.description.title.markdown | #CEC1A6FF | — |
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}!`;
}