Tokyo Nebula
Publisher: juanarrow-ioThemes in package: 5
A five-variant dark theme family for VS Code and Zed: Andromeda, Aurora, Eclipse, Solstice, Polaris.
A five-variant dark theme family for VS Code and Zed: Andromeda, Aurora, Eclipse, Solstice, Polaris.
Full workbench mockup using this variant's colors and tokenColors.
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| comment | #3a5a6a | — |
| comment.block.documentation | #3a5a6a | — |
| string.quoted | #a78bfa | — |
| string | #a78bfa | — |
| string.regexp | #ffd866 | — |
| constant.numeric | #ffd866 | — |
| constant.language | #a78bfa | — |
| constant.character.escape | #ffd866 | — |
| variable | #7aa2f7 | — |
| variable.parameter | #7aa2f7 | — |
| variable.language | #a78bfa | — |
| variable.other.constant | #7aa2f7 | — |
| keyword | #00d4ff | — |
| keyword.control | #00d4ff | — |
| storage.type | #00d4ff | — |
| storage.modifier | #00d4ff | — |
| entity.name.function | #7ce38b | — |
| meta.function-call | #7ce38b | — |
| support.function | #7ce38b | — |
| entity.name.type | #ffd866 | — |
| entity.name.class | #ffd866 | — |
| support.type | #ffd866 | — |
| entity.other.attribute-name | #ffd866 | — |
| entity.name.tag | #00d4ff | — |
| punctuation | #a9b1d6cc | — |
| markup.heading | #00d4ff | — |
| markup.bold | #ffd866 | bold |
| markup.italic | #a78bfa | italic |
| markup.inline.raw | #7ce38b | — |
| markup.underline.link | #7aa2f7 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
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}!`;
}