Voyager Dark
Publisher: Voyager TeamThemes in package: 1
A simple dark theme with a focus on python syntax highlighting
A simple dark theme with a focus on python syntax highlighting
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 |
|---|---|---|
| — | #ffffff99 | — |
| comment | #666666 | italic |
| string, constant.other.symbol | #b0d47e | — |
| string.regexp, constant.character, constant.other | #95E6CB | — |
| constant.numeric | #d2a6ff | — |
| constant.language | #cc856c | — |
| variable, variable.parameter.function-call | #B4B4B4 | — |
| variable.member | #71e5f0 | — |
| variable.language | #39BAE6 | italic |
| storage | #C792E9 | — |
| keyword | #C792E9 | — |
| keyword.control.import.python | #f69b76 | — |
| keyword.control.flow.python | #C792E9 | — |
| keyword.operator | #EE5D43 | — |
| punctuation.separator, punctuation.terminator | #BFBDB6B3 | — |
| punctuation.section | #BFBDB6 | — |
| punctuation.accessor | #F29668 | — |
| punctuation.definition.template-expression | #FF8F40 | — |
| punctuation.section.embedded | #FF8F40 | — |
| meta.embedded | #BFBDB6 | — |
| source.java storage.type, source.haskell storage.type, source.c storage.type | #73d0ff | — |
| entity.other.inherited-class | #39BAE6 | — |
| storage.type.function | #c792e9 | — |
| source.java storage.type.primitive | #73D0FF | — |
| variable.parameter, meta.parameter | #B4B4B4 | — |
| support.function.magic.python | #D5C055 | — |
| variable.parameter.function.language.special.self.python | #C41D8C | — |
| variable.function, variable.annotation, meta.function-call.generic, support.function.go | #61AFEF | — |
| support.function, support.macro | #F07178 | — |
| entity.name.import, entity.name.package | #AAD94C | — |
| entity.name.namespace | #6FC1AD | — |
| entity.name.type.class | #31DCE4 | italic |
| entity.name.function | #61AFEF | — |
| entity.name.tag, meta.tag.sgml | #ffcb6b | — |
| support.class.component | #73D0FF | — |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #39BAE680 | — |
| entity.other.attribute-name | #FFB454 | — |
| support.constant | #F29668 | italic |
| support.type, support.class, source.go storage.type | #39BAE6 | — |
| meta.decorator variable.other, meta.decorator punctuation.decorator, storage.type.annotation | #E6B673 | — |
| invalid | #D95757 | — |
| meta.diff, meta.diff.header | #C594C5 | — |
| source.ruby variable.other.readwrite | #FFB454 | — |
| source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag | #73D0FF | — |
| source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type | #b8cfe680 | — |
| support.type.property-name | #39BAE6 | normal |
| constant.numeric.line-number.find-in-files - match | #ACB6BF8C | — |
| constant.numeric.line-number.match | #FF8F40 | — |
| entity.name.filename.find-in-files | #AAD94C | — |
| message.error | #D95757 | — |
| markup.heading, markup.heading entity.name | #AAD94C | bold |
| markup.underline.link, string.other.link | #39BAE6 | — |
| markup.italic | #F07178 | italic |
| markup.bold | #F07178 | bold |
| markup.italic markup.bold, markup.bold markup.italic | — | bold italic |
| markup.raw | — | — |
| markup.raw.inline | — | — |
| meta.separator | #ACB6BF8C | bold |
| markup.quote | #95E6CB | italic |
| markup.list punctuation.definition.list.begin | #FFB454 | — |
| markup.inserted | #7FD962 | — |
| markup.changed | #73B8FF | — |
| markup.deleted | #F26D78 | — |
| markup.strike | #E6B673 | — |
| markup.table | #39BAE6 | — |
| text.html.markdown markup.inline.raw | #F29668 | — |
| text.html.markdown meta.dummy.line-break | #ACB6BF8C | — |
| punctuation.definition.markdown | #ACB6BF8C | — |
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}!`;
}