Space Wars - Theme
Publisher: DutchorangeThemes in package: 5
A VSCode theme extension that immerses you in the epic universe of Space Wars.
A VSCode theme extension that immerses you in the epic universe of Space Wars.
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 |
|---|---|---|
| keyword | #FFFFFF | bold |
| constant.numeric | #A8D1FF | — |
| entity.name.class, entity.name.type, entity.name.enum | #E3A8FF | italic |
| entity.name.function | #FFF8A8 | — |
| variable, variable.parameter, variable.other | #B6C3B6 | — |
| keyword.operator, storage.modifier | #FFFFFF | bold |
| markup | #C7C7C7 | — |
| entity.name.function.magic | #FFF8A8 | — |
| storage.type.annotation, storage.type | #C7C7C7 | — |
| string.quoted.docstring | #A0A0A0 | italic |
| support.type | #C7C7C7 | — |
| comment, comment.block.documentation | #808080 | italic |
| string | #7F9E9D | — |
| storage.type.function.arrow | #00CED1 | bold |
| support.class | #FFBF00 | bold |
| entity.other.attribute-name | #FF6B6B | bold |
| meta.import | #FFBF00 | bold |
| keyword.control | #FFAA44 | bold |
| storage.type.primitive | #FFAA44 | — |
| entity.name.namespace | #FFBF00 | — |
| meta.object-literal.key, variable.other.property | #FF9F9F | — |
| constant.language, constant.character | #FFA8A8 | — |
| entity.name.tag | #FFD700 | — |
| meta.annotation | #FFD700 | italic |
| punctuation | #A64FA8 | — |
| entity.name.section.markdown | #FFDAA5 | — |
| markup.bold.markdown, markup.bold | #FF9F9F | bold |
| markup.italic.markdown, markup.italic | #FFC085 | italic |
| keyword.other.DML | #A64FA8 | bold |
| keyword.function | #FF9F9F | bold |
| storage.modifier | #FFDAA5 | bold |
| keyword.package | #A8E3FF | bold |
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}!`;
}