Best way to create dark mode feature for elementor pages and posts by adding widget in footer or header area for best possibilities. It have best in class Night Mode / Dark Mode options with unique switcher options to customise.
Most Advanced Dark/Night Mode for Elementor
Modern 10+ Dark Mode Switchers
Exclude Images from Dark Mode
Mode based on OS