myvideogamelist.com/resources/views/partials/theme-mode/_main.blade.php

17 lines
568 B
PHP
Raw Permalink Normal View History

<?php
$iconClass = isset($params['toggle-btn-icon-class']) ? $params['toggle-btn-icon-class'] : 'fs-2';
?>
<!--begin::Menu toggle-->
<a href="#" class="{{ $btnClass }}"
data-kt-menu-trigger="click" data-kt-menu-attach="parent" data-kt-menu-placement="bottom-end" data-kt-menu-flip="bottom">
@if (theme()->getCurrentMode() === 'dark')
<i class="fas fa-moon {{ $iconClass }}"></i>
@else
<i class="fas fa-brightness-low {{ $iconClass }}"></i>
@endif
</a>
<!--begin::Menu toggle-->
{{ theme()->getView('partials/theme-mode/__menu') }}