Dark mode: Can't read certain layer names

In Dark mode if I select a layer in the layer panel, and this layer is an instance with visibility turned off, it is impossible to read: