panel: Add support for dark theme within the panel