Cakemix presentation
Popii 1.0 Cakemix exposes CAKEMIX_COLORS, cakemixEmbed(), and cakemixError() from the package root. Built-in help, UI, errors, voice, and plugin embeds use the same semantic palette instead of embedding private color values.
| Tone | Use |
|---|---|
accent | Brand and primary feature surfaces |
success | Completed mutations and healthy states |
warning | Recoverable attention states |
error | Failed actions and unsafe states |
info | Neutral instructions and details |
neutral | Passive or completed content |
Cards include a Cakemix footer. Safe errors can include a remediation hint and correlation reference without exposing internal details. Components must use labels as well as color or emoji, remain usable on mobile Discord clients, and avoid hover-only meaning.
import { cakemixEmbed, cakemixError } from "popii-framework";
await pop.reply({ embeds: [cakemixEmbed({ tone: "success", description: "Settings saved." })] });await pop.reply({ embeds: [cakemixError("You cannot manage this server.", { hint: "Ask a server administrator.", correlationId: pop.execution.id,})], ephemeral: true });Generated projects include Cakemix branding, runtime startup/readiness logs report resource counts, and documentation uses the Cakemix release mark.