夜间模式样式微调

This commit is contained in:
tangly1024
2021-11-05 17:47:27 +08:00
parent 6cbe623e97
commit ee51b8269c
4 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ const DarkModeButton = () => {
saveTheme(newTheme)
changeTheme(newTheme)
}
return <div className='z-10 p-1 duration-200 h-12 text-xl cursor-pointer dark:text-gray-300 '>
return <div className='z-10 duration-200 text-xl cursor-pointer'>
<i id='darkModeButton' className={'fa p-2.5 hover:scale-125 transform duration-200 ' + (userTheme === 'dark' ? 'fa-sun-o' : 'fa-moon-o')}
onClick={handleChangeDarkMode} />
</div>