Star Trek: Factions Theme Pack
7 dark VS Code themes inspired by the factions and aesthetics of Star Trek — Federation, Klingon, Cardassian, Romulan, Vulcan, Borg, and LCARS.
7 dark VS Code themes inspired by the factions and aesthetics of Star Trek — Federation, Klingon, Cardassian, Romulan, Vulcan, Borg, and LCARS.
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 | #1a4020 | italic |
| keyword, storage.type, storage.modifier | #00cc44 | bold |
| keyword.control | #00ff44 | bold |
| string, string.quoted | #508858 | — |
| constant.character.escape, string.regexp | #60a868 | — |
| constant.numeric, constant.language, constant.other | #00ee44 | — |
| entity.name.function, meta.function-call entity.name.function | #70d888 | — |
| variable.parameter | #50a860 | italic |
| variable, variable.other | #68b870 | — |
| entity.name.type, entity.name.class, support.class | #20ff60 | bold |
| entity.name.interface, entity.other.inherited-class | #10e050 | italic |
| variable.other.property, support.type.property-name | #58a860 | — |
| keyword.operator | #00b838 | — |
| punctuation | #285828 | — |
| entity.name.tag | #00b840 | — |
| entity.other.attribute-name | #00cc44 | — |
| invalid | #ff2244 | underline bold |
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 | #4a4828 | italic |
| keyword, storage.type, storage.modifier | #c0a038 | bold |
| keyword.control | #d8b848 | bold |
| string, string.quoted | #9a8050 | — |
| constant.character.escape, string.regexp | #b89860 | — |
| constant.numeric, constant.language, constant.other | #d0a838 | — |
| entity.name.function, meta.function-call entity.name.function | #d8c878 | — |
| variable.parameter | #b0a060 | italic |
| variable, variable.other | #c0a878 | — |
| entity.name.type, entity.name.class, support.class | #e0c058 | bold |
| entity.name.interface, entity.other.inherited-class | #c8b048 | italic |
| variable.other.property, support.type.property-name | #a89870 | — |
| keyword.operator | #a09030 | — |
| punctuation | #686040 | — |
| entity.name.tag | #a09038 | — |
| entity.other.attribute-name | #b8a040 | — |
| invalid | #ff4422 | underline |
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 | #2a4868 | italic |
| keyword, storage.type, storage.modifier | #5898e0 | bold |
| keyword.control | #60b0f8 | bold |
| string, string.quoted | #d0a030 | — |
| constant.character.escape, string.regexp | #e8b840 | — |
| constant.numeric, constant.language, constant.other | #f0c040 | — |
| entity.name.function, meta.function-call entity.name.function | #90c8f0 | — |
| variable.parameter | #70a8d8 | italic |
| variable, variable.other | #a0c0e0 | — |
| entity.name.type, entity.name.class, support.class | #e8c040 | bold |
| entity.name.interface, entity.other.inherited-class | #d0b030 | italic |
| variable.other.property, support.type.property-name | #88a8cc | — |
| keyword.operator | #4880c8 | — |
| punctuation | #385870 | — |
| entity.name.tag | #5888cc | — |
| entity.other.attribute-name | #d0a030 | — |
| invalid | #ff3344 | underline |
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 | #603020 | italic |
| keyword, storage.type, storage.modifier | #e04818 | bold |
| keyword.control | #ff5020 | bold |
| string, string.quoted | #b07848 | — |
| constant.character.escape, string.regexp | #d09050 | — |
| constant.numeric, constant.language, constant.other | #e8a020 | — |
| entity.name.function, meta.function-call entity.name.function | #e8c060 | — |
| variable.parameter | #c09848 | italic |
| variable, variable.other | #c8a068 | — |
| entity.name.type, entity.name.class, support.class | #f0b030 | bold |
| entity.name.interface, entity.other.inherited-class | #d8a020 | italic |
| variable.other.property, support.type.property-name | #b89060 | — |
| keyword.operator | #cc4010 | — |
| punctuation | #7a4828 | — |
| entity.name.tag | #c04010 | — |
| entity.other.attribute-name | #d09828 | — |
| invalid | #ff0000 | underline bold |
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}!`;
}