<?php
if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly

if( rivax_dark_mode_enabled() && !rivax_get_option('always-dark-mode') ) {
    ?>
    <div class="dark-mode-switcher">
        <span class="switcher-wrap">
            <span class="light-icon">
                <i class="ri-sun"></i>
            </span>
            <span class="dark-icon">
                <i class="ri-moon"></i>
            </span>
        </span>
    </div>
    <?php
}