Tyrian Night
Tyrian Night theme family: quiet Night, atmospheric Nocturne, soft Pastel, electric Abyss, Dawn, and historical-reference Night Old, with opt-in Linux Island UI
Tyrian Night theme family: quiet Night, atmospheric Nocturne, soft Pastel, electric Abyss, Dawn, and historical-reference Night Old, with opt-in Linux Island UI
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 | #85769E | italic |
| comment.block.documentation, comment.line.documentation, string.quoted.docstring | #9F90BD | italic |
| keyword, storage.type, storage.modifier, keyword.operator, keyword.control, keyword.other.import, keyword.control.import, entity.name.tag, entity.name.tag.js, entity.name.tag.css, meta.import | #C85FD9 | — |
| meta.type.annotation, meta.annotation, entity.name.type.annotation | #8C83FD | italic |
| entity.name.type, entity.name.class, entity.name.type.class, entity.name.struct, entity.name.enum, entity.name.type.interface, entity.name.interface, support.type, support.class, support.class.component | #8C83FD | — |
| entity.name.function, support.function, meta.function-call, entity.name.method, variable.function | #739FF1 | — |
| variable.parameter, meta.parameter, entity.other.attribute-name, meta.attribute, support.type.property-name.json, constant.character.escape, string.regexp constant.character.escape | #D561AE | — |
| variable.language | #D561AE | italic |
| string, string.quoted, string.template, punctuation.definition.string | #58B763 | — |
| constant.language.null, constant.language.nil, constant.language.none | #84779B | — |
| constant.language | #D384D2 | — |
| constant.numeric, constant.character, constant.other, keyword.other.unit, variable.other.enummember, variable.other.constant, entity.name.constant, support.constant, entity.other.attribute-name.id.css | #D561AE | — |
| variable, variable.other, variable.other.property, meta.object-literal.key, support.variable, support.constant.property-value.css | #DED6E9 | — |
| support.type.property-name.css, entity.other.attribute-name.class.css | #DED6E9 | — |
| punctuation, meta.brace, meta.delimiter, punctuation.separator, punctuation.terminator, punctuation.definition.tag | #9381AF | — |
| string.regexp | #C68C28 | — |
| entity.name.function.decorator, meta.decorator, punctuation.decorator | #8C83FD | — |
| markup.heading, entity.name.section | #C85FD9 | bold |
| markup.bold | #DED6E9 | bold |
| markup.italic | #D579F9 | italic |
| markup.inline.raw | #739FF1 | — |
| markup.underline.link | #C09DED | — |
| markup.quote | #58B763 | italic |
| markup.deleted, diff.deleted | #F0636F | — |
| markup.inserted, diff.inserted | #59A961 | — |
| markup.changed, diff.changed | #5698EC | — |
| markup.strikethrough | #5698EC | strikethrough |
| invalid | #F0636F | — |
| invalid.deprecated | #D561AE | strikethrough |
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 | #63576A | italic |
| comment.block.documentation, comment.line.documentation, string.quoted.docstring | #5A5062 | italic |
| keyword, storage.type, storage.modifier, keyword.operator, keyword.control, keyword.other.import, keyword.control.import, entity.name.tag, entity.name.tag.js, entity.name.tag.css, meta.import | #7A4785 | — |
| meta.type.annotation, meta.annotation, entity.name.type.annotation | #514DA0 | italic |
| entity.name.type, entity.name.class, entity.name.type.class, entity.name.struct, entity.name.enum, entity.name.type.interface, entity.name.interface, support.type, support.class, support.class.component | #514DA0 | — |
| entity.name.function, support.function, meta.function-call, entity.name.method, variable.function | #365C96 | — |
| variable.parameter, meta.parameter, entity.other.attribute-name, meta.attribute, support.type.property-name.json, constant.character.escape, string.regexp constant.character.escape | #835170 | — |
| variable.language | #835170 | italic |
| string, string.quoted, string.template, punctuation.definition.string | #3F7243 | — |
| constant.language.null, constant.language.nil, constant.language.none | #6A5C6F | — |
| constant.language | #72486D | — |
| constant.numeric, constant.character, constant.other, keyword.other.unit, variable.other.enummember, variable.other.constant, entity.name.constant, support.constant, entity.other.attribute-name.id.css | #835170 | — |
| variable, variable.other, variable.other.property, meta.object-literal.key, support.variable, support.constant.property-value.css | #2D2332 | — |
| support.type.property-name.css, entity.other.attribute-name.class.css | #2D2332 | — |
| punctuation, meta.brace, meta.delimiter, punctuation.separator, punctuation.terminator, punctuation.definition.tag | #5E5466 | — |
| string.regexp | #7B5C24 | — |
| entity.name.function.decorator, meta.decorator, punctuation.decorator | #514DA0 | — |
| markup.heading, entity.name.section | #7A4785 | bold |
| markup.bold | #2D2332 | bold |
| markup.italic | #76418C | italic |
| markup.inline.raw | #365C96 | — |
| markup.underline.link | #664E7C | — |
| markup.quote | #3F7243 | italic |
| markup.deleted, diff.deleted | #A0323C | — |
| markup.inserted, diff.inserted | #2F6933 | — |
| markup.changed, diff.changed | #275D95 | — |
| markup.strikethrough | #275D95 | strikethrough |
| invalid | #A0323C | — |
| invalid.deprecated | #835170 | strikethrough |
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 | #827D8B | italic |
| comment.block.documentation, comment.line.documentation, string.quoted.docstring | #878293 | italic |
| keyword, storage.type, storage.modifier, keyword.operator, keyword.control, keyword.other.import, keyword.control.import, entity.name.tag, entity.name.tag.js, entity.name.tag.css, meta.import | #986C9F | — |
| meta.type.annotation, meta.annotation, entity.name.type.annotation | #7F7DC5 | italic |
| entity.name.type, entity.name.class, entity.name.type.class, entity.name.struct, entity.name.enum, entity.name.type.interface, entity.name.interface, support.type, support.class, support.class.component | #7F7DC5 | — |
| entity.name.function, support.function, meta.function-call, entity.name.method, variable.function | #718CBD | — |
| variable.parameter, meta.parameter, entity.other.attribute-name, meta.attribute, support.type.property-name.json, constant.character.escape, string.regexp constant.character.escape | #A46A8F | — |
| variable.language | #A46A8F | italic |
| string, string.quoted, string.template, punctuation.definition.string | #5F8662 | — |
| constant.language.null, constant.language.nil, constant.language.none | #827D8B | — |
| constant.language | #997C98 | — |
| constant.numeric, constant.character, constant.other, keyword.other.unit, variable.other.enummember, variable.other.constant, entity.name.constant, support.constant, entity.other.attribute-name.id.css | #A46A8F | — |
| variable, variable.other, variable.other.property, meta.object-literal.key, support.variable, support.constant.property-value.css | #B8B3BE | — |
| support.type.property-name.css, entity.other.attribute-name.class.css | #B8B3BE | — |
| punctuation, meta.brace, meta.delimiter, punctuation.separator, punctuation.terminator, punctuation.definition.tag | #827D8B | — |
| string.regexp | #997643 | — |
| entity.name.function.decorator, meta.decorator, punctuation.decorator | #7F7DC5 | — |
| markup.heading, entity.name.section | #986C9F | bold |
| markup.bold | #B8B3BE | bold |
| markup.italic | #9F82AB | italic |
| markup.inline.raw | #718CBD | — |
| markup.underline.link | #9387A4 | — |
| markup.quote | #5F8662 | italic |
| markup.deleted, diff.deleted | #C2686C | — |
| markup.inserted, diff.inserted | #5F8C62 | — |
| markup.changed, diff.changed | #6386B4 | — |
| markup.strikethrough | #6386B4 | strikethrough |
| invalid | #C2686C | — |
| invalid.deprecated | #A46A8F | strikethrough |
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 | #867B9B | italic |
| comment.block.documentation, comment.line.documentation, string.quoted.docstring | #968BAB | italic |
| keyword, storage.type, storage.modifier, keyword.operator, keyword.control, keyword.other.import, keyword.control.import, entity.name.tag, entity.name.tag.js, entity.name.tag.css, meta.import | #98699F | — |
| meta.type.annotation, meta.annotation, entity.name.type.annotation | #7574B2 | italic |
| entity.name.type, entity.name.class, entity.name.type.class, entity.name.struct, entity.name.enum, entity.name.type.interface, entity.name.interface, support.type, support.class, support.class.component | #7574B2 | — |
| entity.name.function, support.function, meta.function-call, entity.name.method, variable.function | #7B93BF | — |
| variable.parameter, meta.parameter, entity.other.attribute-name, meta.attribute, support.type.property-name.json, constant.character.escape, string.regexp constant.character.escape | #AF789A | — |
| variable.language | #AF789A | italic |
| string, string.quoted, string.template, punctuation.definition.string | #5B8B5E | — |
| constant.language.null, constant.language.nil, constant.language.none | #807494 | — |
| constant.language | #AE8EAD | — |
| constant.numeric, constant.character, constant.other, keyword.other.unit, variable.other.enummember, variable.other.constant, entity.name.constant, support.constant, entity.other.attribute-name.id.css | #AF789A | — |
| variable, variable.other, variable.other.property, meta.object-literal.key, support.variable, support.constant.property-value.css | #D2C7DF | — |
| support.type.property-name.css, entity.other.attribute-name.class.css | #D2C7DF | — |
| punctuation, meta.brace, meta.delimiter, punctuation.separator, punctuation.terminator, punctuation.definition.tag | #807494 | — |
| string.regexp | #B18339 | — |
| entity.name.function.decorator, meta.decorator, punctuation.decorator | #7574B2 | — |
| markup.heading, entity.name.section | #98699F | bold |
| markup.bold | #D2C7DF | bold |
| markup.italic | #B27AC9 | italic |
| markup.inline.raw | #7B93BF | — |
| markup.underline.link | #A088C0 | — |
| markup.quote | #5B8B5E | italic |
| markup.deleted, diff.deleted | #C0686C | — |
| markup.inserted, diff.inserted | #538F58 | — |
| markup.changed, diff.changed | #497CBF | — |
| markup.strikethrough | #497CBF | strikethrough |
| invalid | #C0686C | — |
| invalid.deprecated | #AF789A | strikethrough |
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}!`;
}
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}!`;
}