feat: Dashboard light and dark mode
This commit is contained in:
@@ -121,9 +121,15 @@ function Header() {
|
||||
title={isDark ? "Light Mode" : "Dark Mode"}
|
||||
>
|
||||
{isDark ? (
|
||||
<Icon icon="mdi:weather-night" className="text-xl text-yellow-300" />
|
||||
<Icon
|
||||
icon="mdi:weather-night"
|
||||
className="text-xl text-yellow-300"
|
||||
/>
|
||||
) : (
|
||||
<Icon icon="mdi:white-balance-sunny" className="text-xl text-yellow-500" />
|
||||
<Icon
|
||||
icon="mdi:white-balance-sunny"
|
||||
className="text-xl text-yellow-500"
|
||||
/>
|
||||
)}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user