I have mine set up to inherit from a face called "font-lock-type-face", which is set by my theme. Perhaps that should be the default. It looks like haskell-mode does exactly this (in haskell-font-lock.el):
(defface haskell-constructor-face '((t :inherit font-lock-type-face)) "Face used to highlight Haskell constructors." :group 'haskell) On Wed, Aug 24, 2016 at 1:00 PM, Adam Chlipala <[email protected]> wrote: > It's been pointed out <https://github.com/urweb/urweb/issues/46> that > urweb-mode (for Emacs) hardcodes a color choice for one kind of text > (capitalized variables, e.g. for datatype constructor names). > > Are there any Emacs experts out there with recommendations for how the > custom faces in general should be set up? > > _______________________________________________ > Ur mailing list > [email protected] > http://www.impredicative.com/cgi-bin/mailman/listinfo/ur > >
_______________________________________________ Ur mailing list [email protected] http://www.impredicative.com/cgi-bin/mailman/listinfo/ur
