Pale Fire Dark
Publisher: dhruvdhThemes in package: 1
Dark version of matklad's emacs-inspired zenburn variation called pale-fire
Dark version of matklad's emacs-inspired zenburn variation called pale-fire
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 |
|---|---|---|
| entity.name.field, entity.name.variable.field, punctuation.support.type.property-name, support.type.property-name, support.type.vendored.property-name, variable.other.member, variable.other.object.property, variable.other.property | #AFD8AF | — |
| entity.name.function, meta.function-call.generic.python, support.function | #93E0E3 | — |
| entity.name.module, entity.name.namespace, entity.name.type.namespace, storage.modifier.import, storage.modifier.package | #BFEBBF | |
| entity.name.macro, entity.name.other.preprocessor.macro | #94BFF3 | — |
| constant.character.escape | #94BFF3 | — |
| variable | #DCDCCC | — |
| entity.name.variable.parameter, variable.parameter | #DFAF8F | — |
| constant, entity.name.constant, variable.other.enummember, support.constant | #BDE0F3 | — |
| meta.mutable | — | underline |
| entity.name.type, storage.type, support.class, support.type | #7CB8BB | |
| keyword.type, storage.type.boolean.go, storage.type.built-in, storage.type.byte.go, storage.type.error.go, storage.type.numeric.go, storage.type.primitive, storage.type.rune.go, storage.type.string.go, storage.type.uintptr.go, support.type | #8CD0D3 | |
| entity.name.type.parameter | #DFAF8F | — |
| storage.modifier.lifetime.rust, entity.name.lifetime.rust, entity.name.type.lifetime, punctuation.definition.lifetime | #DFAF8F | italic |
| constant.numeric, keyword.other.unit | #BFEBBF | |
| comment, punctuation.definition.comment | #7F9F7F | — |
| constant.character, punctuation.definition.char, punctuation.definition.string, string | #CC9393 | — |
| entity.name.function.decorator, meta.attribute, punctuation.brackets.attribute, punctuation.definition.annotation, punctuation.definition.attribute, punctuation.definition.decorator, storage.modifier.attribute, storage.type.annotation | #94BFF3 | |
| constant.language.null, entity.name.tag, keyword.operator.expression, keyword.operator.logical, keyword.operator.new, keyword.operator.wordlike, keyword.type.go, keyword, markup.heading.marker, punctuation.definition.heading, storage.modifier, storage.type.class, storage.type.enum, storage.type.function.python, storage.type.function.ts, storage.type.function, storage.type.js, storage.type.rust, storage.type.struct, storage.type.ts, variable.language.this | #F0DFAF | bold |
| entity.other.attribute-name.class, entity.other.attribute-name.id | #7CB8BB | — |
| keyword.other.unsafe | #BC8383 | — |
| keyword.operator.logical.rust, keyword.operator, punctuation | #DCDCCC | |
| markup.italic | — | italic |
| markup.bold | — | bold |
| markup.heading | — | 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}!`;
}