Chelsea Pride Theme
Publisher: noobsterThemes in package: 2
A high-contrast VS Code theme inspired by Chelsea FC, with dark-mode brilliance and Stamford Bridge vibes.
A high-contrast VS Code theme inspired by Chelsea FC, with dark-mode brilliance and Stamford Bridge vibes.
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 | #A9A9A9 | italic |
| keyword, storage.type | #1E90FF | bold |
| string, constant.other.symbol | #DBAA11 | — |
| entity.name.function, support.function, keyword.other.special-method | #FF4500 | bold |
| variable, support.variable | #87CEFA | — |
| constant.numeric, constant.language, constant | #FFA500 | bold |
| entity.name.type, support.class, storage.type.class | #FFD700 | bold |
| punctuation, keyword.operator | #FFFFFF | — |
| variable.readonly | #FF8C00 | italic |
| variable.parameter | #B0C4DE | — |
| entity.name.tag, meta.tag, markup.deleted.git_gutter | #00A3E0 | bold |
| entity.other.attribute-name, markup.changed.git_gutter | #FFD700 | — |
| string.quoted.double.html, string.quoted.single.html, string.quoted.double.xml, string.quoted.single.xml | #EE242C | — |
| punctuation.definition.tag | #FFFFFF | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #1E90FF | bold |
| support.type.property-name.css | #FFD700 | — |
| constant.other.color.rgb-value.css, constant.numeric.css | #EE242C | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #00A3E0 | — |
| support.type.property-name.json | #FFD700 | — |
| string.quoted.double.json, constant.numeric.json | #EE242C | — |
| markup.heading | #1E90FF | bold |
| markup.italic | #FF8C00 | italic |
| markup.bold | #FFD700 | bold |
| markup.underline.link, markup.image | #00A3E0 | underline |
| entity.name.tag.yaml | #FFD700 | — |
| string.unquoted.yaml, string.quoted.single.yaml, string.quoted.double.yaml | #EE242C | — |
| punctuation.definition.anchor.yaml, variable.other.alias.yaml | #00A3E0 | — |
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}!`;
}