Coral Bloom
Publisher: Mohammed HasanfattaThemes in package: 2
A warm, expressive dark VS Code theme built around coral, pink, blue, green, orange, and lavender syntax colors.
A warm, expressive dark VS Code theme built around coral, pink, blue, green, orange, and lavender syntax colors.
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, comment.line, comment.line.double-slash, comment.block, comment.block.documentation, comment.block.html, comment.block.css | #6E655E | italic |
| keyword, keyword.control, keyword.control.conditional, keyword.control.loop, keyword.control.flow, keyword.control.trycatch, keyword.control.switch, keyword.control.default | #EE7E71 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #EE7E71 | — |
| storage.type, storage.modifier | #EE7E71 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.ternary, keyword.operator.spread, keyword.operator.rest, keyword.operator.optional, keyword.operator.type.annotation, keyword.operator.relational, keyword.operator.new, keyword.operator.expression.typeof, keyword.operator.expression.instanceof, keyword.operator.expression.void, keyword.operator.expression.delete, keyword.operator.expression.in, keyword.operator.expression.of, keyword.operator.expression.keyof, keyword.operator.expression.is | #EC6687 | — |
| entity.name.function, support.function, meta.definition.method entity.name.function | #EC6687 | — |
| meta.function-call entity.name.function, entity.name.function.call, support.function.builtin, support.function.console, support.function.dom, support.function.math | #EC6687 | — |
| meta.method-call entity.name.function, meta.function-call.method entity.name.function | #EC6687 | — |
| variable, variable.other.readwrite, variable.other.readwrite.alias | #74A0F8 | — |
| variable.parameter, meta.parameters variable, meta.parameter variable | #74A0F8 | — |
| variable.other.object | #74A0F8 | — |
| variable.other.property, variable.object.property, meta.object-literal.key, variable.other.enummember | #74A0F8 | — |
| variable.other.constant | #74A0F8 | — |
| entity.name.type.class, entity.name.class, entity.name.type.interface, support.class, entity.other.inherited-class | #9B91F8 | — |
| entity.name.type, entity.name.type.enum, entity.name.type.alias, entity.name.type.module, support.type, support.type.primitive | #9B91F8 | — |
| meta.decorator, meta.decorator entity.name.function, meta.decorator variable.other.readwrite, punctuation.decorator | #9B91F8 | — |
| string, string.quoted, string.quoted.single, string.quoted.double | #81D192 | — |
| string.template, string.template.js, string.template.ts | #81D192 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, meta.template.expression | #74A0F8 | — |
| constant.numeric, constant.numeric.decimal, constant.numeric.integer, constant.numeric.hex, constant.numeric.binary, constant.numeric.octal, constant.numeric.float | #F3B36B | — |
| constant.language.boolean, constant.language.boolean.true, constant.language.boolean.false | #F3B36B | — |
| constant.language.null, constant.language.undefined | #F3B36B | — |
| constant.language.json | #F3B36B | — |
| string.regexp | #81D192 | — |
| constant.character.escape | #F3B36B | — |
| punctuation, punctuation.definition, punctuation.accessor, punctuation.separator, punctuation.terminator, meta.brace.round, meta.brace.square, meta.brace.curly, punctuation.separator.comma, punctuation.terminator.statement | #99918B | — |
| entity.name.tag, entity.name.tag.html | #EE7E71 | — |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end, punctuation.definition.tag.html | #99918B | — |
| entity.other.attribute-name, entity.other.attribute-name.html | #74A0F8 | — |
| constant.character.entity, constant.character.entity.html, punctuation.definition.entity.html | #F3B36B | — |
| meta.tag.metadata.doctype, meta.tag.metadata.doctype entity.name.tag, meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.other.attribute-name | #9B91F8 | — |
| entity.name.tag.css, entity.name.tag.scss | #EE7E71 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.scss | #EC6687 | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.id.scss | #74A0F8 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.scss, entity.other.attribute-name.pseudo-element.scss | #9B91F8 | — |
| support.type.property-name.css, support.type.property-name.scss, meta.property-name.css, meta.property-name.scss, support.type.property-name.media.css | #74A0F8 | — |
| support.constant.property-value.css, support.constant.property-value.scss, meta.property-value.css, support.constant.color.css, support.constant.font-name.css | #81D192 | — |
| support.function.css, support.function.scss, support.function.calc.css, support.function.url.css, support.function.misc.css, support.function.gradient.css, support.function.transform.css, support.function.shape.css | #F3B36B | — |
| constant.numeric.css, constant.numeric.scss | #F3B36B | — |
| keyword.other.unit.css, keyword.other.unit.scss, keyword.other.unit.percentage.css | #F3B36B | — |
| variable.css, variable.scss, variable.argument.css | #9B91F8 | — |
| keyword.other.important.css, keyword.other.important.scss | #EE7E71 | — |
| entity.name.tag.reference.scss | #EE7E71 | — |
| keyword.control.at-rule.css, keyword.control.at-rule.scss, keyword.control.at-rule.media.css, keyword.control.at-rule.keyframes.css, keyword.control.at-rule.import.css, keyword.control.at-rule.include.scss, keyword.control.at-rule.mixin.scss, keyword.control.at-rule.extend.scss, keyword.control.at-rule.use.scss | #EE7E71 | — |
| support.type.property-name.json, support.type.property-name.json.comments | #74A0F8 | — |
| heading.1.markdown entity.name, heading.2.markdown entity.name, heading.3.markdown entity.name, heading.4.markdown entity.name, heading.5.markdown entity.name, heading.6.markdown entity.name, markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #EE7E71 | bold |
| markup.bold, markup.bold.markdown | #EC6687 | bold |
| markup.italic, markup.italic.markdown | #9B91F8 | italic |
| markup.underline.link, markup.underline.link.markdown, markup.underline.link.image.markdown | #74A0F8 | — |
| string.other.link.title.markdown, string.other.link.description.markdown | #81D192 | — |
| markup.inline.raw, markup.inline.raw.string.markdown, markup.fenced_code.block.markdown, markup.raw.block.markdown | #F3B36B | — |
| markup.quote, markup.quote.markdown | #9B91F8 | italic |
| punctuation.definition.list.begin.markdown, markup.list, beginning.punctuation.definition.list.markdown | #EC6687 | — |
| meta.separator.markdown | #6E655E | — |
| entity.name.tag.js, entity.name.tag.tsx, support.class.component.js, support.class.component.tsx | #9B91F8 | — |
| entity.name.tag.html.js, entity.name.tag.html.tsx | #EE7E71 | — |
| variable.language.this, variable.language.super | #EE7E71 | italic |
| markup.inserted | #81D192 | — |
| markup.deleted | #C45670 | — |
| markup.changed | #F3B36B | — |
| invalid, invalid.illegal | #EE7E71 | underline |
| invalid.deprecated | #9B91F8 | strikethrough |
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}!`;
}