i went down a similar path to you to for dark blizz frames, check out a project on curseforge called '
Blizzard Raid Frames - Debuff Highlight By slothpala' to get you started
using the above project as a base, heres my mod i did for dark frames
Code:
local restoreColor = function() end
local function updateRestoreColor()
restoreColor = function(frame)
blockColorUpdate[frame] = false
frame.healthBar:SetStatusBarColor(0.192, 0.2, 0.219)
end
end
keep in mind hooking "CompactUnitFrame_UpdateHealthColor" is quite expensive CPU wise
you will have to make other changes like converting the background to light color etc