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 |
|---|---|---|
| comment | #5c6773 | italic |
| string, constant.other.symbol | #60e8f0 | — |
| string.regexp, constant.character, constant.other | #ffffff | — |
| constant.numeric | #60e8f0 | — |
| constant.numeric.css | #f07178 | — |
| constant.language | #d4bfff | — |
| constant.language.boolean | #d4bfff | — |
| variable | #dadbc0 | — |
| variable.other.constant | #d4bfff | — |
| variable.member | #f28779 | — |
| variable.language | #00f0ff | italic |
| variable.language.this | #00f0ff | italic |
| support.variable | #ffa759 | — |
| storage | #1ea8fc | — |
| storage.type | #1ea8fc | italic |
| storage.modifier.async | #f07178 | italic |
| storage.type.class | #1ea8fc | italic |
| keyword | #1ea8fc | — |
| keyword.control.flow | #1ea8fc | — |
| keyword.control.loop | #1ea8fc | — |
| keyword.control.conditional | #1ea8fc | — |
| keyword.control.trycatch | #1ea8fc | — |
| keyword.operator | #c286ff | — |
| keyword.operator.new | #1ea8fc | — |
| punctuation.separator, punctuation.terminator | #cbccc6b3 | — |
| punctuation.section | #dadbc0 | — |
| punctuation.accessor | #ec0000 | — |
| source.java storage.type, source.haskell storage.type, source.c storage.type | #95e6cb | — |
| entity.other.inherited-class | #FF8F40 | — |
| storage.type.function | #ffa759 | — |
| storage.type.function.arrow | #f07178 | |
| source.java storage.type.primitive | #95e6cb | — |
| variable.parameter, meta.parameter | #d4bfff | italic |
| variable.function, variable.annotation, meta.function-call.generic, support.function.go | #ffffff | — |
| support.function, support.macro | #ffffff | — |
| support.function.console | #ffd580 | — |
| entity.name.import, entity.name.package | #bae67e | — |
| entity.name | #c286ff | — |
| entity.name.function | #ffffff | — |
| entity.name.class | #ff8f40 | — |
| entity.name.tag, meta.tag.sgml | #fc4085 | — |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #b3b1ad | — |
| text.html.derivative | #dadbc0 | — |
| entity.other.attribute-name | #1ea8fc | italic |
| support.constant | #f28779 | italic |
| support.type, support.class, source.go storage.type | #ff0779 | — |
| support.class.promise | #ffa759 | — |
| meta.decorator variable.other, meta.decorator punctuation.decorator, storage.type.annotation | #dadbc0 | — |
| invalid | #ff3333 | — |
| meta.diff, meta.diff.header | #c594c5 | — |
| source.ruby variable.other.readwrite | #ffd580 | — |
| source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag | #95e6cb | — |
| source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type | #5c6773 | — |
| support.type.property-name | #bae67e | |
| entity.other.attribute-name.class.css | #bae67e | |
| entity.other.attribute-name.id.css | #ffcc66 | |
| support.type.property-name.css | #dadbc0 | |
| constant.numeric.line-number.find-in-files - match | #5c6773 | — |
| constant.numeric.line-number.match | #ffa759 | — |
| entity.name.filename.find-in-files | #bae67e | — |
| message.error | #ff3333 | — |
| markup.heading, markup.heading entity.name | #bae67e | bold |
| markup.underline.link, string.other.link | #95e6cb | — |
| markup.italic | #f28779 | italic |
| markup.bold | #f28779 | bold |
| markup.italic markup.bold, markup.bold markup.italic | — | bold italic |
| markup.raw | — | — |
| markup.raw.inline | — | — |
| meta.separator | #5c6773 | bold |
| markup.quote | #95e6cb | italic |
| markup.list punctuation.definition.list.begin | #ffd580 | — |
| markup.inserted | #a6cc70 | — |
| markup.changed | #77a8d9 | — |
| markup.deleted | #f27983 | — |
| markup.strike | #ffe6b3 | — |
| markup.table | #5ccfe6 | — |
| text.html.markdown markup.inline.raw | #f29e74 | — |
| text.html.markdown meta.dummy.line-break | #5c6773 | — |
| punctuation.definition.markdown | #5c6773 | — |
| string.json support.type.property-name.json | #c286ff | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #1ea8fc | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ffffff | — |
| constant.language.json | #8815fc | — |
| constant.numeric.json | #c286ff | — |
| string.unquoted, constant.other.object.key | #1ea8fc | — |
| meta.brace.curly, meta.brace.round, meta.brace.square | #b3b1ad | — |
| punctuation.quasi.element.begin, punctuation.quasi.element.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #ffa759 | — |
| meta.object-literal.key | #ffb454 | — |
| entity.name.type | #ffffff | — |
| entity.name.type.class | #ffffff | — |
| support.type.primitive | #ffffff | — |
| text.gitignore | #ffd76d | italic |
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}!`;
}