change: theme switch sun icon color in dark theme
This commit is contained in:
@@ -31,7 +31,7 @@ function FoodPage({ }: Props) {
|
|||||||
priority
|
priority
|
||||||
/>
|
/>
|
||||||
<div className="absolute top-4 left-0 pe-5.5 ps-7 w-full inline-flex justify-between items-center">
|
<div className="absolute top-4 left-0 pe-5.5 ps-7 w-full inline-flex justify-between items-center">
|
||||||
<div className="bg-white rounded-[34px] py-1.5 px-4 w-min text-xs text-disabled2 font-bold">
|
<div className="bg-container rounded-[34px] py-1.5 px-4 w-min text-xs text-disabled2 dark:text-disabled-text font-bold">
|
||||||
خوراک
|
خوراک
|
||||||
</div>
|
</div>
|
||||||
<button>
|
<button>
|
||||||
|
|||||||
@@ -30,11 +30,13 @@ export default function NightModeSwitch({ checked, onClick }: Props) {
|
|||||||
<Moon
|
<Moon
|
||||||
data-nightmode={checked}
|
data-nightmode={checked}
|
||||||
size={12}
|
size={12}
|
||||||
className='stroke-primary z-0 data-[nightmode=true]:stroke-white' />
|
className='stroke-primary z-0 data-[nightmode=true]:stroke-white'
|
||||||
|
/>
|
||||||
<Sun1
|
<Sun1
|
||||||
data-nightmode={checked}
|
data-nightmode={checked}
|
||||||
size={12}
|
size={12}
|
||||||
className='stroke-[#FFA800] z-0' />
|
className='stroke-[#FFA800] data-[nightmode=true]:fill-[#FFA800] z-0'
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user