adapt to dcolor changes