Skip to content

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.

ToneUse
accentBrand and primary feature surfaces
successCompleted mutations and healthy states
warningRecoverable attention states
errorFailed actions and unsafe states
infoNeutral instructions and details
neutralPassive 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.