How to add a dynamic class to magento 2 page-header based on a configuration value without using js
i want to add a class (black-theme) after the page-header like in the image shown below Note: i have already tried to add class using JavaScript but its causing a slight delay in applying the class. please help