[emacs][wip] fix sml error when switching to dark theme