Game of Thrones - The Seven Kingdoms
Publisher: AbhirouxThemes in package: 12
A complete Game of Thrones VS Code experience: 12 house-themed color themes, GoT file & folder icons, themed code snippets, bracket colorization, and auto icon switching.
A complete Game of Thrones VS Code experience: 12 house-themed color themes, GoT file & folder icons, themed code snippets, bracket colorization, and auto icon switching.
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 |
|---|---|---|
| source, text | #B0C4D8 | — |
| comment, punctuation.definition.comment | #2A4A5A | italic |
| keyword, keyword.control, storage.type, storage.modifier | #90C0D0 | bold |
| keyword.operator | #5A7A8A | — |
| string, string.quoted | #5AAABA | — |
| constant.character.escape | #3A9A6A | — |
| constant.numeric | #BABA40 | — |
| constant, constant.language | #D0D8E0 | bold |
| constant.language.boolean, constant.language.null | #7AAFCF | italic |
| entity.name.function, support.function | #7AAFCF | — |
| variable.parameter | #6A8A9A | italic |
| entity.name.class, support.class | #90C0D0 | bold |
| entity.name.type, support.type | #5A9AB0 | — |
| variable, variable.other | #6A9A7A | — |
| variable.other.property | #6A8A9A | — |
| support.type.property-name | #7AAFCF | — |
| variable.language.this | #90C0D0 | italic |
| keyword.control.import, keyword.control.export | #90C0D0 | bold |
| punctuation.separator, punctuation.terminator | #3A5A6A | — |
| entity.name.tag | #7AAFCF | — |
| entity.other.attribute-name | #5AAABA | italic |
| support.type.property-name.json | #7AAFCF | — |
| markup.heading | #7AAFCF | bold |
| invalid | #FF0000 | bold underline |
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}!`;
}