`NORMAL_FONT_COLOR:GetRGB()` is how pfUI colours each row of the /who list
(`modules/socialmod.lua:145`) and the master-loot menu (`modules/loot.lua`, five
more). 1.12 ships that global as a loose `{ r, g, b }` table; every client from
Legion on makes it a `ColorMixin` object. grom's session carried 26 `attempt to
call method 'GetRGB' (a nil value)` raises, all of them from opening the Who tab,
and the list drew uncoloured.
The six `*_FONT_COLOR` tables 1.12 declares now answer `ColorMixin`'s methods
through a metatable rather than a `Mixin` copy: these tables are FrameXML's, and
a 1.12 addon is free to walk one with `pairs`, so `__index` leaves
`pairs(NORMAL_FONT_COLOR)` answering exactly the keys it answers on the
reference. `WHITE_FONT_COLOR`, which 1.12 has no global for at all and pfUI's
totem tooltip and minimap label both index, is created here too.
In `manifest.rs` beside the other load-time repairs rather than next to
`ColorMixin` itself, for the same mechanical reason as `/focus`: the tables do
not exist until `Fonts.xml` has run, and the compat layer installs before
FrameXML loads.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SgstFWtn1RxEJ5kVrpgYwn