Dark Future
Publisher: Sasha PetrenkoThemes in package: 11
A collection of dark VSCode themes inspired by the Dark Future of Cyberpunk fiction.
A collection of dark VSCode themes inspired by the Dark Future of Cyberpunk fiction.
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 | #5E6D81 | italic |
| keyword, storage, storage.modifier, storage.type | #D7FF3F | — |
| keyword.operator, keyword.control.import, keyword.control.from, keyword.control.as | #FF6F3C | — |
| variable.language, support.variable.magic, support.variable, variable.parameter.function.language.special | #35E0FF | — |
| variable.parameter, meta.parameter, meta.function.parameters variable | #FF9A6A | — |
| variable, meta.definition.variable, meta.definition.variable.name | #DFF5FF | — |
| entity.name.function, support.function, meta.function-call, variable.function | #FF5DB1 | — |
| entity.name.method, meta.method-call, support.function.method | #FF74BE | — |
| entity.name.type, entity.name.class, entity.name.struct, entity.name.enum, support.class, support.type | #35E0FF | — |
| entity.name.namespace, entity.name.module, support.namespace | #95A6FF | — |
| constant, constant.language, constant.character.escape, constant.numeric, constant.character | #35E0FF | — |
| string, meta.embedded.assembly string | #FFB38E | — |
| string.regexp, constant.other.symbol, constant.other.reference.link | #95A6FF | — |
| constant.other.color, entity.other.attribute-name, meta.object-literal.key, support.type.property-name, variable.other.property | #00C7A3 | — |
| meta.decorator, entity.name.function.decorator, punctuation.definition.decorator, storage.type.annotation, meta.annotation | #FF6F3C | — |
| punctuation, meta.brace, meta.delimiter | #7F91A7 | — |
| invalid, invalid.illegal | #091019 | — |
| markup.heading, entity.name.section | #D7FF3F | bold |
| markup.bold | #DFF5FF | bold |
| markup.italic, markup.quote | #95A6FF | italic |
| markup.inline.raw, markup.raw.block, fenced_code.block | #00C7A3 | — |
| markup.list, punctuation.definition.list.begin.markdown | #FF6F3C | — |
| markup.link, string.other.link.title, string.other.link.description | #35E0FF | underline |
| source.python keyword, source.python storage.type | #D7FF3F | — |
| source.python support.type.exception, source.python support.class, source.python entity.name.type.class | #35E0FF | — |
| source.python entity.name.function, source.python meta.function-call.generic, source.python support.function.builtin | #FF5DB1 | — |
| source.python variable.parameter, source.python variable.parameter.function-call | #FF9A6A | — |
| source.python variable.language.special.self, source.python variable.language.special.cls, source.python constant.other.caps | #35E0FF | — |
| source.python meta.function.decorator, source.python punctuation.definition.decorator | #FF6F3C | — |
| source.python string, source.python punctuation.definition.string | #FFB38E | — |
| source.python constant.numeric, source.python constant.language | #35E0FF | — |
| source.julia keyword, source.julia storage.type, source.julia keyword.control | #D7FF3F | — |
| source.julia entity.name.function, source.julia support.function, source.julia meta.function-call | #FF5DB1 | — |
| source.julia entity.name.type, source.julia support.type, source.julia support.class | #35E0FF | — |
| source.julia variable.parameter, source.julia meta.parameters variable | #FF9A6A | — |
| source.julia meta.macro, source.julia entity.name.function.macro, source.julia punctuation.definition.macro | #FF6F3C | — |
| source.julia constant.numeric, source.julia constant.language, source.julia constant.character | #35E0FF | — |
| source.julia string | #FFB38E | — |
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}!`;
}