now only do custom toolbar drawing in dark mode