Electric Ice Theme
Publisher: jenny_deathThemes in package: 2
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 |
|---|---|---|
| variable.parameter.function | #CCCCCC | — |
| comment, punctuation.definition.comment | #666666 | — |
| punctuation.definition.variable, punctuation.definition.array | #ffc0c0 | — |
| none | #D7DAE1 | — |
| keyword.operator | #7df4f8 | — |
| keyword | #7df4f8 | — |
| variable | #fff | — |
| entity.name.function, meta.require, support.function.any-method | #fff | — |
| meta.function.definition.rust, entity.name.type.lifetime.rust | #ddd | italic |
| support.class, entity.name.class, entity.name.type.class | #7df4f8 | bold |
| meta.class | #F5F5F5 | — |
| keyword.other.special-method | #B0B0B0 | — |
| storage | #7df4f8 | — |
| support.function | #fff | — |
| string, constant.other.symbol, entity.other.inherited-class | #ffc0c0 | — |
| constant.numeric | #fff | — |
| none | #919191 | — |
| constant | #919191 | — |
| entity.name.tag | #FFFFFF | — |
| entity.other.attribute-name | #fff | — |
| punctuation.brackets.angle.rust | #7DF4F8 | — |
| string.quoted.other.lt-gt.include.cpp, string.quoted.double.include.cpp | #fff | — |
| constant.language.c | #fff | bold |
| entity.other.attribute-name.id, punctuation.definition.entity | #888 | — |
| meta.selector | #B0B0B0 | — |
| none | #919191 | — |
| markup.heading punctuation.definition.heading, entity.name.section | #606060 | |
| keyword.other.unit | #919191 | — |
| markup.bold, punctuation.definition.bold | #999999 | bold |
| markup.italic, punctuation.definition.italic | #B0B0B0 | italic |
| markup.raw.inline | #8A8A8A | — |
| string.other.link, punctuation.definition.string.end.markdown | #FFFFFF | — |
| meta.link | #919191 | — |
| markup.list | #FFFFFF | — |
| markup.quote | #919191 | — |
| meta.separator | #D7DAE1 | — |
| markup.inserted | #8A8A8A | — |
| markup.deleted | #FFFFFF | — |
| markup.changed | #B0B0B0 | — |
| constant.other.color | #808080 | — |
| string.regexp | #808080 | — |
| constant.character.escape | #ffd0d0 | — |
| punctuation.section.embedded, variable.interpolation | #B0B0B0 | — |
| invalid.illegal | #F5F5F5 | — |
| invalid.broken | #000000 | — |
| invalid.deprecated | #F5F5F5 | — |
| invalid.unimplemented | #F5F5F5 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}