smarter highlighting for type families