Nightingale
Publisher: Adebiyi AdedotunThemes in package: 1
For nocturnal folks looking to code away into the scenery of the beautiful night
For nocturnal folks looking to code away into the scenery of the beautiful night
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #6D6D6D | italic |
| constant.language, constant.character, constant.other | #EAC66C | — |
| constant.numeric | #B5CEA8 | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #EAC66C | — |
| entity.name.tag.css | #D7BA7D | — |
| entity.other.attribute-name | #d55044 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #D7BA7D | — |
| invalid | #F44747 | — |
| markup.underline | — | underline |
| markup.bold | #EAC66C | bold |
| markup.heading | #9BB46E | bold |
| markup.italic | — | italic |
| markup.inserted | #B5CEA8 | — |
| markup.deleted | #BF9277 | — |
| markup.changed | #EAC66C | — |
| beginning.punctuation.definition.quote.markdown | #608B4E | — |
| beginning.punctuation.definition.list.markdown | #6796E6 | — |
| markup.inline.raw | #BF9277 | — |
| meta.selector | #D7BA7D | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor | #EAC66C | — |
| meta.preprocessor.string | #BF9277 | — |
| meta.preprocessor.numeric | #B5CEA8 | — |
| meta.structure.dictionary.key.python | #d55044 | — |
| meta.diff.header | #EAC66C | — |
| storage | #EAC66C | — |
| storage.type | #d55044 | — |
| storage.modifier | #EAC66C | — |
| string | #5b8f65 | — |
| string.tag | #ffc680 | — |
| string.value | #ffc680 | — |
| string.regexp | #D16969 | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #EAC66C | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, keyword.other.class.cs | #d55044 | — |
| keyword | #EAC66C | — |
| keyword.control | #a5ffbe | — |
| keyword.operator | #d55044 | — |
| keyword.operator.sigil.rust, keyword.operator.address.go, keyword.operator.misc.rust | #d55044 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python, support.function.builtin.go, support.function.core.rust | #EAC66C | — |
| keyword.other.unit | #B5CEA8 | — |
| punctuation.section.embedded.begin.metatag.php, punctuation.section.embedded.end.metatag.php, punctuation.separator.pointer-access.c | #EAC66C | — |
| punctuation.separator.namespace.access.cpp, variable.parameter | #FA9F50 | italic |
| storage.type.function.js, storage.type.function.python, keyword.function.go, keyword.control.def.ruby | #d55044 | italic |
| support.function.git-rebase | #d55044 | — |
| constant.sha.git-rebase | #B5CEA8 | — |
| storage.modifier.import.java, storage.modifier.package.java | #D4D4D4 | — |
| variable.language, variable.parameter.function.language.special.self.python, keyword.other.this.cs | #d55044 | — |
| entity.name.function, entity.name.type.type-parameter.cs, support.function, support.constant.handlebars, meta.function-call.generic.python | #ffa200 | — |
| meta.return-type, support.class, support.type, entity.name.class, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, keyword.operator.type.annotation.ts, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #d55044 | — |
| entity.name.type | #FFBD14 | — |
| entity.other.inherited-class | #FFBD14 | italic |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json | #9BB46E | — |
| variable, meta.definition.variable.name, support.variable | #D6D6D6 | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function | #d55044 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #BF9277 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| storage, meta.var.expr, meta.class meta.method.declaration meta.var.expr storage.type.js, storage.type.property.js, storage.type.property.ts, storage.type.property.tsx | #c792ea | italic |
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}!`;
}