added support for dark theme from settings