I am writing a minor mode to complement
and I am trying to color subwords in camelCased identifiers with slightly different shades of the same color.
Perhaps this can be done by "recoloring" identifiers, that is, running a hook which redefines the font-locking after the major mode does its work.
But I have no idea how this can be achieved.
Any ideas or references are very welcome!
Edit: @phil's suggestion is working for me, so in the interest of saving time, I am leaving the minor-mode project on hold for now.