From da86698bf83735917aaa789cfab3a21954ee5ec5 Mon Sep 17 00:00:00 2001 From: stevenjj33 Date: Sun, 18 Oct 2026 14:02:21 +0800 Subject: [PATCH 1/2] Make the user's own bubble follow the theme instead of inverting it --user is defined as the inverse of the surface (#0a0a0a on light, #f2f2f2 on dark), so the outgoing bubble inverts in both themes while every Bot bubble stays on --bubble and reads as normal chat. On the light surface the outgoing bubble looks like a system message rather than something the user wrote. Tint it with the accent instead. --accent is already resolved per theme by inkOf(), so this keeps the outgoing side identifiable without leaving the palette. Scoped to .msg.user .bubble on purpose: --user is also used by .btn.primary, .send.stop and the toast, and redefining the variable would change those three surfaces as well. WCAG 2.1 contrast for the outgoing bubble stays well above the 4.5:1 AA threshold: 15.56:1 light, 12.35:1 dark with the default ocean accent, and 11.18:1 in the worst case across all twelve palettes (yellow on dark). --- plugins/minimax-ai/minimax-bot/miniapp/client/app.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/minimax-ai/minimax-bot/miniapp/client/app.css b/plugins/minimax-ai/minimax-bot/miniapp/client/app.css index 36ab4fb2..af7db792 100644 --- a/plugins/minimax-ai/minimax-bot/miniapp/client/app.css +++ b/plugins/minimax-ai/minimax-bot/miniapp/client/app.css @@ -774,9 +774,13 @@ button { word-break: break-word; } +/* The user's own bubble stays inside the theme's palette instead of inverting it: + a near-black bubble on the light surface and a near-white one on the dark surface read as + a system message rather than as outgoing chat. A 12% accent tint keeps the outgoing side + identifiable while following --accent, which inkOf() already resolves per theme. */ .msg.user .bubble { - background: var(--user); - color: var(--user-ink); + background: color-mix(in srgb, var(--accent) 12%, var(--surface)); + color: var(--ink); white-space: pre-wrap; max-width: 100%; } From 5af6983f540dddf9b7449b6811f2aef2338d6cb4 Mon Sep 17 00:00:00 2001 From: stevenjj33 Date: Mon, 19 Oct 2026 11:47:58 +0800 Subject: [PATCH 2/2] Bump minimax-bot to 0.7.3 for the outgoing bubble change CONTRIBUTING.md:17 asks for a version bump when updating an existing app. Both manifests move 0.7.2 -> 0.7.3 together, since validate does not check that they match. --- plugins/minimax-ai/minimax-bot/.minimax-plugin/plugin.json | 2 +- plugins/minimax-ai/minimax-bot/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/minimax-ai/minimax-bot/.minimax-plugin/plugin.json b/plugins/minimax-ai/minimax-bot/.minimax-plugin/plugin.json index 4b47bae1..030c8d9e 100644 --- a/plugins/minimax-ai/minimax-bot/.minimax-plugin/plugin.json +++ b/plugins/minimax-ai/minimax-bot/.minimax-plugin/plugin.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "name": "minimax-bot", "displayName": "MiniMax Bot", - "version": "0.7.2", + "version": "0.7.3", "description": "Turn MiniMax Code into an always-on team of Bots. A Chief Bot helps you build the team; in group chats the admin answers and @mentions hand work to other members. Every Bot has its own octopus avatar and memory, with scheduled tasks and usage stats.", "author": "MiniMax Code", "icon": "icon.png", diff --git a/plugins/minimax-ai/minimax-bot/package.json b/plugins/minimax-ai/minimax-bot/package.json index 5d8022aa..76cdb6ac 100644 --- a/plugins/minimax-ai/minimax-bot/package.json +++ b/plugins/minimax-ai/minimax-bot/package.json @@ -1,6 +1,6 @@ { "name": "minimax-bot", - "version": "0.7.2", + "version": "0.7.3", "private": true, "type": "module", "mcode": {