[GH-ISSUE #7167] Chat widget preset colors override character dialogue colors #3999

Closed
opened 2026-10-21 06:09:26 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Oct 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7167

Originally assigned to: @SpicyMarinara on GitHub.

Describe the issue

With a chat widget style that applies its own colors (for example Mari with Apply preset colors on, in Settings → Appearance → App → Chat widget style), quoted dialogue no longer shows each character's dialogue color. It is painted in the preset's text color instead.

Expected behavior

A character's (or persona's) own dialogue color wins for its quoted dialogue, including italic or bold text inside the quote. Dialogue without a character color keeps following the preset.

Cause

Under Apply preset colors, chat surfaces set an inherited -webkit-text-fill-color, which takes priority over a dialogue span's inline color when text is painted. A custom-text-color rule also repaints text leaves directly.

Additional context

Reported by @SpicyMarinara after v2.5.0. Claude Code is fixing it. Affects Roleplay (classic, visual novel, HTML messages, group speaker tags) and likely Game narration.

Originally created by @SpicyMarinara on GitHub (Oct 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7167 Originally assigned to: @SpicyMarinara on GitHub. ## Describe the issue With a chat widget style that applies its own colors (for example **Mari** with **Apply preset colors** on, in **Settings → Appearance → App → Chat widget style**), quoted dialogue no longer shows each character's dialogue color. It is painted in the preset's text color instead. ## Expected behavior A character's (or persona's) own dialogue color wins for its quoted dialogue, including italic or bold text inside the quote. Dialogue without a character color keeps following the preset. ## Cause Under Apply preset colors, chat surfaces set an inherited `-webkit-text-fill-color`, which takes priority over a dialogue span's inline `color` when text is painted. A custom-text-color rule also repaints text leaves directly. ## Additional context Reported by @SpicyMarinara after v2.5.0. Claude Code is fixing it. Affects Roleplay (classic, visual novel, HTML messages, group speaker tags) and likely Game narration.
bsakaguchi 2026-10-21 06:09:26 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3999
No description provided.