Late Night
Publisher: Özgür GüneşThemes in package: 1
A dark theme for VS Code.
A 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 |
|---|---|---|
| constant.language.import-export-all, keyword.operator.combinator.css, meta.brace, meta.definition.variable, meta.function-call.arguments, meta.function.parameters keyword.operator.unpacking, meta.object-literal.key, punctuation, source.css keyword.other.unit, variable | #EDEDED | — |
| #D5D5D5 | — | |
| meta.tag.sgml.doctype, comment punctuation.definition, punctuation.definition.tag | #B1B1B1 | — |
| comment, comment storage, comment variable, meta.tag.metadata.doctype, punctuation.definition.comment, string.quoted.docstring, string.quoted.docstring punctuation.definition.string | #888888 | — |
| keyword.key.toml, keyword.other.definition.ini, meta.parameter, meta.tag.attributes.js.jsx, punctuation.separator.key-value, source.css support.type.vendored, support.type.property-name.json, text.html entity.other.attribute-name, variable.parameter | #F9E3AB | — |
| keyword.control, keyword.operator, meta.class.inheritance, meta.directive entity.other.attribute-name, meta.image string, meta.link string, source.css punctuation.terminator, source.css support.type.property-name, constant.character.format.placeholder, support.other.match, text.html string.unquoted | #F5CB63 | — |
| entity.name.function.decorator, entity.name.tag, markup.fenced_code.block, markup.inline.raw, markup.raw.block, markup punctuation, punctuation.definition.decorator, punctuation.separator.key-value.ini, source.css punctuation.definition.constant, storage, string.regexp, source.css constant.other, source.css meta.attribute-selector, source.css punctuation.definition.entity.css, source.css punctuation.definition.keyword, source.css punctuation.definition.variable, source.css variable | #F1B6B6 | — |
| constant, markup.heading.setext, meta.class, meta.definition entity.name.function, meta.definition.method, meta.function, meta.object-literal.key entity.name.function, punctuation.definition.generic, text.html entity.tag.tagbraces, source.css entity.name.tag, source.css entity.other.attribute-name.class, source.css entity.other.attribute-name.pseudo-element, source.css keyword.other.important, source.css meta.selector, source.ini entity.name.section, source.toml entity.other.attribute-name.table | #E57878 | — |
| punctuation.definition.string, meta.image markup, source.css variable.parameter | #B6E9B6 | — |
| string.quoted.double, string.quoted.single | #78D578 | — |
| meta.link | #A6C7F1 | — |
| #5997E5 | — | |
| keyword.control.default, source.css keyword.control.at-rule punctuation.definition.keyword, support.variable | #F1B6E9 | — |
| source.css keyword.control, support.function | #E578D5 | — |
| variable.language.special, variable.language.this | #B6E9F1 | — |
| meta.function-call, source.css support.function, support.class | #78D5E5 | — |
| invalid, markup.bold, source.css keyword.other.important | — | bold |
| comment, invalid, markup.italic, string.quoted.docstring | — | italic |
| invalid | — | underline |
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}!`;
}