NIGHT MAN
Publisher: GIRISH KORThemes in package: 1
A DARKEST THEME EXISTS IN VSCODE, PERFECTLY SUITED FOR VARIOUS PROGRAMMING LANGUAGES—DELIVERING AN IMMERSIVE, HIGH-CONTRAST EXPERIENCE FOR EVERY DEVELOPER.
A DARKEST THEME EXISTS IN VSCODE, PERFECTLY SUITED FOR VARIOUS PROGRAMMING LANGUAGES—DELIVERING AN IMMERSIVE, HIGH-CONTRAST EXPERIENCE FOR EVERY DEVELOPER.
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 | #B3B3B3 | italic underline |
| comment.block | #B3B3B3 | italic underline |
| comment.line | #B3B3B3 | italic |
| comment.block.documentation | #CCCCCC | italic bold |
| keyword, keyword.control, keyword.operator, keyword.other, storage, storage.type, entity.name.tag | #D580FF | bold |
| keyword.other.unit | #FFB347 | bold italic |
| variable, variable.name, variable.other, variable.other.readwrite, variable.other.object, variable.other.property, support.variable | #F0D700 | — |
| variable.language | #F0D700 | italic |
| variable.other.constant | #F0D700 | bold |
| variable.parameter | #FF6B6B | bold italic |
| storage.modifier | #6FD1E3 | bold |
| entity.name.function, entity.name.function.method, entity.name.function.constructor, support.function, support.function.builtin | #6B9BED | bold underline |
| entity.name.class, entity.name.struct, entity.name.enum, entity.name.namespace, entity.name.type, support.class, support.type, support.class.builtin | #5FC0D1 | bold |
| entity.name.interface | #5FC0D1 | bold italic |
| entity.other.attribute-name | #6B9BED | italic |
| entity.other.inherited-class | #5FC0D1 | bold italic |
| string, string.quoted, string.quoted.single, string.quoted.double, string.quoted.template, string.unquoted, constant.character | #9CCC65 | italic |
| string.regexp | #FFB347 | italic |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary, constant.character.escape | #FFB347 | bold italic |
| constant.language, constant.other, support.constant | #FF9D00 | bold |
| punctuation, punctuation.definition, punctuation.section, punctuation.separator, punctuation.terminator | #B3B3B3 | — |
| punctuation.definition.string | #9CCC65 | bold italic |
| punctuation.definition.comment | #B3B3B3 | italic |
| punctuation.definition.tag | #D580FF | — |
| meta.tag | #D580FF | — |
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}!`;
}