add support for dark mode preferences