Files
ComfyUI_frontend/apps
Glary-Bot 893fb7429f fix(affiliates-terms): merge mobile TOC link colors via cn()
The mobile TOC anchor was setting text-primary-comfy-canvas in its
static class while the conditional :class added text-primary-comfy-
yellow or text-primary-warm-gray. Three text-* utilities targeting the
same property let CSS source order decide the winner instead of the
active-section state. Switch to cn() from @comfyorg/tailwind-utils so
tailwind-merge resolves the color conflict deterministically, matching
the codebase convention from AGENTS.md and ContentSection.vue.

The desktop TOC was already fine because its only static color rule
was hover:text-primary-comfy-canvas, which doesn't conflict with the
base text colors.
2026-05-05 21:00:38 +00:00
..