Dark Cherry Ice-Cream Theme
Publisher: James GullandThemes in package: 2
🍒 Clean, simple, and elegant dark cherry ice-cream theme, heavily inspired by T3 Chat.
🍒 Clean, simple, and elegant dark cherry ice-cream theme, heavily inspired by T3 Chat.
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 | #6E5A78 | italic |
| meta.parameters comment.block | #d7d0db | italic |
| variable.other.constant.object, variable.other.readwrite.alias, meta.import variable.other.readwrite | #98d1ef | — |
| variable.other, support.type.object | #f3e4fb | — |
| variable.other.object.property, variable.other.property, support.variable.property, support.type.primitive | #f3e4fb | — |
| .method, string.unquoted, meta.object.member | #98d1ef | — |
| variable - meta.import, variable.other.readwrite.alias, constant.other.placeholder, meta.object-literal.key-meta.object.member | #f3e4fb | — |
| keyword.control.flow | #bf9fe5c0 | italic |
| keyword.operator.new, keyword.control.new, keyword.control.default | #bf9fe5 | — |
| variable.language.this, storage.modifier.async, storage.modifier, variable.language.super | #bf9fe5 | — |
| support.class.error, keyword.control.trycatch, keyword.operator.expression.delete, keyword.operator.expression.void, keyword.operator.void, keyword.operator.delete, constant.language.null, constant.language.boolean.false, constant.language.undefined | #d97e83 | — |
| variable.parameter, variable.object.property, variable.other.readwrite.js, meta.definition.variable variable.other.constant, meta.definition.variable variable.other.readwrite | #f3e4fb | — |
| constant.other.color | #ffffff | — |
| invalid, invalid.illegal | #d97e83 | — |
| invalid.deprecated | #d97e83 | — |
| keyword.control, keyword | #d7d0db | — |
| keyword.operator, storage.type | #d7d0db | — |
| keyword.control.module, keyword.control.import, keyword.control.export | #bf9fe5 | — |
| Keyword, Storage | — | italic |
| keyword-meta.export | #98d1ef | — |
| meta.brace, punctuation, keyword.operator.existential | #d7d0db | — |
| constant.other.color, meta.tag, punctuation.separator.inheritance.php, keyword.other.template, keyword.other.substitution, meta.objectliteral | #f3e4fb | — |
| support.class.component | #98d1ef | — |
| entity.name.tag, support.type.primitive, entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #98d1ef | — |
| variable.function, source meta.function-call , source meta.function-call entity.name.function, source meta.method-call entity.name.function, meta.class meta.group.braces.curly meta.function-call variable.function, meta.class meta.field.declaration meta.function-call entity.name.function, variable.function.constructor, meta.block meta.var.expr meta.function-call entity.name.function, support.function.console, meta.function-call support.function, meta.property.class variable.other.class, punctuation.definition.entity.css | #e5a8aa | — |
| entity.name.function, meta.class entity.name.class, meta.class entity.name.type.class, meta.class meta.function-call variable.function, keyword.other.important, entity.other.attribute-name.id.css, entity.other.attribute-name.class.css | #bf9fe5 | — |
| source.cpp meta.block variable.other | #98d1ef | — |
| support.other.variable, string.other.link | #bf9fe5 | — |
| constant.numeric, support.constant, constant.character, constant.escape, keyword.other.unit, keyword.other, string, constant.language, constant.other.symbol, constant.other.key, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, text.html.derivative | #9bc59d | — |
| entity.other.inherited-class | #98d1ef | — |
| meta.type.declaration | #98d1ef | — |
| entity.name.type.alias | #d7d0db | — |
| keyword.control.as, entity.name.type | #98d1ef | italic |
| entity.name, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #d7d0db | — |
| support.class, support.constant, variable.other.constant.object | #98d1ef | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #f3e4fb | — |
| variable.language | #98d1ef | italic |
| entity.name.method.js | #d7d0db | italic |
| meta.class-method.js .js, variable.function.constructor | #d7d0db | — |
| entity.other.attribute-name | #d7d0db | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #74b5aa | italic |
| source.sass keyword.control | #42675A | — |
| markup.inserted | #98d1ef | — |
| markup.deleted | #506477 | — |
| markup.changed | #d7d0db | — |
| string.regexp | #74b5aa | — |
| constant.character.escape | #74b5aa | — |
| *url*, *link*, *uri* | #98d1ef | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #42675A | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #74b5aa | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #f3e4fb | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #98d1ef | — |
| 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 | #d7d0db | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.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 | #7390AA | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 | #f3e4fb | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 | #98d1ef | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 | #d7d0db | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 | #7390AA | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.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 | #f3e4fb | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #f3e4fb | — |
| text.html.markdown markup.inline.raw.markdown | #98d1ef | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #d7d0db | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #f3e4fb | — |
| markup.italic | #7390AA | italic |
| markup.bold, markup.bold string | #7390AA | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #7390AA | bold |
| markup.underline | #7390AA | underline |
| markup.strike | — | italic |
| markup.quote punctuation.definition.blockquote.markdown | #bf9fe5 | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #98d1ef | — |
| string.other.link.description.title.markdown | #98d1ef | — |
| constant.other.reference.link.markdown | #98d1ef | — |
| markup.raw.block | #98d1ef | — |
| markup.raw.block.fenced.markdown | #50647750 | — |
| punctuation.definition.fenced.markdown | #50647750 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #d7d0db | — |
| variable.language.fenced.markdown | #d7d0db | — |
| meta.separator | #7390AA | bold |
| markup.table | #98d1ef | — |
| token.info-token | #89ddff | — |
| token.warn-token | #fef795 | — |
| token.error-token | #d97e83 | — |
| token.debug-token | #f3e4fb | — |
| entity.name.section.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #f3e4fb | bold |
| meta.paragraph.markdown | #f3e4fbd0 | — |
| punctuation.definition.from-file.diff, meta.diff.header.from-file | #506477 | — |
| punctuation.section.embedded | #d7d0db | — |
| markup.inline.raw.string.markdown | #7390AA | — |
| meta.separator.markdown | #d7d0db | — |
| markup.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
| beginning.punctuation.definition.list.markdown, punctuation.definition.list.begin.markdown, markup.list.unnumbered.markdown | #98d1ef | — |
| string.other.link.description.title.markdown punctuation.definition.string.markdown, meta.link.inline.markdown string.other.link.description.title.markdown, string.other.link.description.title.markdown punctuation.definition.string.begin.markdown, string.other.link.description.title.markdown punctuation.definition.string.end.markdown, meta.image.inline.markdown string.other.link.description.title.markdown | #98d1ef | |
| meta.link.inline.markdown string.other.link.title.markdown, meta.link.reference.markdown string.other.link.title.markdown, meta.link.reference.def.markdown markup.underline.link.markdown | #98d1ef | underline |
| markup.underline.link.markdown, string.other.link.description.title.markdown | #bf9fe5 | — |
| fenced_code.block.language, markup.inline.raw.markdown | #98d1ef | — |
| punctuation.definition.markdown, punctuation.definition.raw.markdown, punctuation.definition.heading.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #98d1ef | — |
| source.ignore, log.error, log.exception | #d97e83 | — |
| log.verbose | #d7d0db | — |
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}!`;
}