Icecream
Publisher: meganroggeThemes in package: 1
A theme inspired by icecream
A theme inspired by icecream
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 |
|---|---|---|
| invalid | #E60073 | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #36454f | — |
| variable, support.variable.property.dom, support.variable.dom, support.variable.property, punctuation.separator.parameter, string.interpolated.pug variable | #7BAFD4 | — |
| comment, punctuation.definition.comment | #CDC4AA | — |
| string, punctuation.definition.string | #ff99cc | — |
| constant.character.escape | #A470D8 | — |
| keyword, constant.language.import-export-all | #fa8d3e | — |
| entity.name.type, support.type.primitive, support.type.builtin, meta.type.annotation entity.name.type, meta.type.parameters entity.name.type | #ff8c19 | — |
| keyword.control, keyword.operator, storage, support.type, keyword.operator.expression, keyword.operator.new | #A470D8 | — |
| entity.name.function, support.class, support.function, new.expr entity.name.type, entity.other.inherited-class | #00b300 | — |
| punctuation.definition.typeparameters, keyword.operator.type, keyword.operator.optional, punctuation.definition.template-expression, source.tsx punctuation.section.embedded, source.jsx punctuation.section.embedded | #E60073 | — |
| constant | #FFB319 | — |
| constant.numeric, constant.language | #78BD65 | — |
| variable.parameter, parameter.variable, meta.function.parameter variable, source.rust meta.type_params.rust | #E60073 | — |
| punctuation, meta.brace | #36454f | — |
| comment.block.documentation entity.name.type | #E60073 | — |
| variable.language.this, variable.language.special.self | #A470D8 | — |
| meta.tag.metadata.doctype entity.name.tag, meta.tag.metadata.doctype punctuation.definition.tag, meta.tag.metadata.doctype string, meta.tag.metadata.doctype entity.other.attribute-name.html, meta.tag.sgml.doctype | #36454f | — |
| entity.name.tag | #A470D8 | — |
| meta.tag string | #0066 | — |
| meta.attribute punctuation.definition.string | #36454f | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #fa8d3e | — |
| constant.character.entity, punctuation.definition.entity | #78BD65 | — |
| entity.name.section.markdown, markup.heading.setext | #fa8d3e | — |
| punctuation.definition.list | #fa8d3e | — |
| meta.separator.markdown | #fa8d3e | — |
| markup.inline.raw | #A470D8 | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| meta.link punctuation.definition.string, meta.image punctuation.definition.string | #36454f | — |
| link, markup.underline.link, constant.other.reference.link.markdown | #4CBF99 | — |
| markup.quote | #78BD65 | — |
| entity.name.tag.css, entity.name.tag.wildcard | #664400 | — |
| entity.other.attribute-name.class, entity.other.attribute-name punctuation.definition.entity | #fa8d3e | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class, constant.other.color | #A470D8 | — |
| entity.other.attribute-name.id, entity.other.attribute-name.id punctuation.definition.entity | #00994d | — |
| source.css constant.numeric | #664400 | — |
| meta.property-name, support.type.property-name | #78BD65 | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #00994d | — |
| variable.parameter.url | #78BD65 | — |
| punctuation.definition.variable | #36454f | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #fa8d3e | — |
| entity.name.section | #00994d | — |
| support.type.property-name.json | #fa8d3e | — |
| markup.inserted | #78BD65 | — |
| markup.changed | #664400 | — |
| markup.deleted | #E60073 | — |
| meta.diff.header | #664400 | italic |
| meta.diff.range | #A470D8 | — |
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}!`;
}