Coca-Cola Christmas Theme
Publisher: holiday-themesThemes in package: 2
A festive VS Code theme inspired by classic Coca-Cola Christmas aesthetics - deep winter nights, snow-white text, and warm holiday red accents
A festive VS Code theme inspired by classic Coca-Cola Christmas aesthetics - deep winter nights, snow-white text, and warm holiday red accents
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #cc1a21 | bold |
| comment, punctuation.definition.comment | #b0b0b0 | italic |
| comment keyword.codetag.notation, comment.block.documentation keyword | #e6c200 | italic |
| string | #005500 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #1e7e1e | — |
| constant, variable.other.constant | #e6c200 | — |
| constant.numeric | #f1c40f | — |
| keyword, storage.type, storage.modifier | #cc1a21 | bold |
| entity.name.function, meta.function-call | #d4e8f7 | — |
| variable.parameter | #d0d0d0 | italic |
| entity.name.type.class, entity.name.class | #e6c200 | bold |
| entity.name.type, storage.type | #d4e8f7 | italic |
| variable | #f2f2f2 | — |
| variable.language | #cc1a21 | italic |
| entity.name.tag | #cc1a21 | — |
| entity.other.attribute-name | #e6c200 | italic |
| meta.selector | #cc1a21 | — |
| support.type.property-name | #d4e8f7 | — |
| keyword.operator | #cc1a21 | — |
| punctuation | #d0d0d0 | — |
| string.regexp | #005500 | — |
| markup.heading | #cc1a21 | bold |
| markup.bold | #f2f2f2 | bold |
| markup.italic | #d0d0d0 | italic |
| markup.underline.link | #d4e8f7 | — |
| markup.inline.raw | #005500 | — |
| invalid | #cc1a21 | underline |
| invalid.deprecated | #b0b0b0 | strikethrough |
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}!`;
}