Night Coffee
Publisher: axthauvinThemes in package: 1
A soothing dark theme inspired by the calmness of a night with a cup of coffee.
A soothing dark theme inspired by the calmness of a night with a cup of coffee.
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.comment | #6A737D | — |
| constant, entity.name.constant, variable.other.constant, variable.other.enummember, variable.language | #79B8FF | — |
| entity, entity.name | #B392F0 | — |
| variable.parameter.function | #E1E4E8 | — |
| entity.name.tag | #85E89D | — |
| keyword | #F97583 | — |
| storage, storage.type | #F97583 | — |
| storage.modifier.package, storage.modifier.import, storage.type.java | #E1E4E8 | — |
| string, punctuation.definition.string, string punctuation.section.embedded source | #9ECBFF | — |
| support | #79B8FF | — |
| meta.property-name | #79B8FF | — |
| variable | #FFAB70 | — |
| variable.other | #E1E4E8 | — |
| invalid.broken | #FDAEB7 | italic |
| invalid.deprecated | #FDAEB7 | italic |
| invalid.illegal | #FDAEB7 | italic |
| invalid.unimplemented | #FDAEB7 | italic |
| carriage-return | #24292E | italic underline |
| message.error | #FDAEB7 | — |
| string variable | #79B8FF | — |
| source.regexp, string.regexp | #DBEDFF | — |
| string.regexp.character-class, string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition | #DBEDFF | — |
| string.regexp constant.character.escape | #85E89D | bold |
| support.constant | #79B8FF | — |
| support.variable | #79B8FF | — |
| meta.module-reference | #79B8FF | — |
| punctuation.definition.list.begin.markdown | #FFAB70 | — |
| markup.heading, markup.heading entity.name | #79B8FF | bold |
| markup.quote | #85E89D | — |
| markup.italic | #E1E4E8 | italic |
| markup.bold | #E1E4E8 | bold |
| markup.underline | — | underline |
| markup.strikethrough | — | strikethrough |
| markup.inline.raw | #79B8FF | — |
| markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted | #FDAEB7 | — |
| markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted | #85E89D | — |
| markup.changed, punctuation.definition.changed | #FFAB70 | — |
| markup.ignored, markup.untracked | #2F363D | — |
| meta.diff.range | #B392F0 | bold |
| meta.diff.header | #79B8FF | — |
| meta.separator | #79B8FF | bold |
| meta.output | #79B8FF | — |
| brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote | #D1D5DA | — |
| brackethighlighter.unmatched | #FDAEB7 | — |
| constant.other.reference.link, string.other.link | #DBEDFF | underline |
| ref.matchtext | #FFFFFF | — |
| variable.other.php, punctuation.definition.variable.php | #F47676 | — |
| keyword, keyword.control, keyword.other | #D7BAF9 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #9399B2 | — |
| string, punctuation.definition.string | #A6E3A1 | — |
| entity.name.tag, entity.name.tag.html, entity.name.tag.xml, entity.name.tag.css, entity.name.tag.scss, entity.name.tag.less, entity.name.tag.js, entity.name.tag.jsx, entity.name.tag.ts, entity.name.tag.tsx, entity.name.tag.php, entity.name.tag.html, entity.name.tag.xml, entity.name.tag.css, entity.name.tag.scss, entity.name.tag.less, entity.name.tag.js, entity.name.tag.jsx, entity.name.tag.ts, entity.name.tag.tsx, entity.name.tag.php | #8AADF4 | — |
| entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.xml, entity.other.attribute-name.css, entity.other.attribute-name.scss, entity.other.attribute-name.less, entity.other.attribute-name.js, entity.other.attribute-name.jsx, entity.other.attribute-name.ts, entity.other.attribute-name.tsx, entity.other.attribute-name.php | #EED49F | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less | #A6E3A1 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| keyword.other.DML.sql, keyword.other.DDL.sql, keyword.other.TCL.sql, keyword.other.DCL.sql | #FFAB70 | — |
| keyword.control.sql, keyword.other.sql.unique | #FF5733 | bold |
| source.sql, keyword.other.sql | #FFAB70 | — |
| constant.numeric.sql, constant.language.boolean.sql | #79B8FF | — |
| entity.name.function.sql, support.function.sql | #B392F0 | — |
| keyword.other.sql.UNIQUE, keyword.other.sql.not, keyword.other.sql.exists, keyword.other.sql.default, keyword.other.sql.control | #FFAB70 | bold |
| support.type.sql, support.type.property-name.sql | #FFAB70 | — |
| variable.parameter.sql | #E1E4E8 | — |
| comment.line.double-dash.sql, comment.block.sql | #6A737D | — |
| keyword.control.flow.python, keyword.control.import.python, keyword.control.python | #F97583 | — |
| variable.parameter.function.python, variable.parameter.python | #E1E4E8 | — |
| string.quoted.single.python, string.quoted.double.python, string.quoted.triple.python | #9ECBFF | — |
| comment.line.number-sign.python, comment.block.documentation.python | #6A737D | — |
| keyword.control.java, keyword.other.java | #D7BAF9 | — |
| variable.parameter.java | #E1E4E8 | — |
| string.quoted.double.java, string.quoted.single.java | #9ECBFF | — |
| comment.line.double-slash.java, comment.block.documentation.java | #6A737D | — |
| keyword.control.shell, keyword.other.shell | #D7BAF9 | — |
| comment.line.number-sign.shell | #6A737D | — |
| keyword.control.loop.shell, keyword.control.conditional.shell | #FFAB70 | — |
| variable.other.readwrite.shell, variable.other.special.shell | #79B8FF | — |
| variable.other.readwrite.local.shell | #85E89D | — |
| meta.embedded.expression | #FFAB70 | — |
| keyword.operator.arithmetic, keyword.operator.logical | #FFAB70 | — |
| keyword.control.cs, keyword.other.cs | #D7BAF9 | — |
| variable.parameter.cs | #E1E4E8 | — |
| string.quoted.double.cs, string.quoted.single.cs | #9ECBFF | — |
| comment.line.double-slash.cs, comment.block.documentation.cs | #6A737D | — |
| keyword.control.go, keyword.other.go | #D7BAF9 | — |
| variable.parameter.go | #E1E4E8 | — |
| string.quoted.double.go, string.quoted.single.go | #9ECBFF | — |
| comment.line.double-slash.go, comment.block.documentation.go | #6A737D | — |
| source.erlang keyword.control | #F97583 | — |
| source.erlang variable.other | #E1E4E8 | — |
| source.erlang meta.function entity.name.function | #B392F0 | — |
| source.erlang entity.name. | #B392F0 | — |
| source.erlang keyword.operator | #F97583 | italic |
| source.erlang constant.numeric.integer | #79B8FF | — |
| source.erlang constant.other | #79B8FF | — |
| source.erlang constant.other.symbol | #79B8FF | — |
| source.erlang entity.name.function | #B392F0 | — |
| source.erlang constant.numeric.float | #79B8FF | — |
| variable.parameter.args | #FFAB70 | — |
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}!`;
}