mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 23:16:47 +00:00
深色模式按钮
This commit is contained in:
@@ -22,9 +22,9 @@ const DarkModeButton = props => {
|
||||
|
||||
return (
|
||||
<div
|
||||
onClick={toggleDarkMode}
|
||||
className={`${className || ''} flex justify-center dark:text-gray-200 text-gray-800`}>
|
||||
<div
|
||||
onClick={toggleDarkMode}
|
||||
id='darkModeButton'
|
||||
className=' hover:scale-110 cursor-pointer transform duration-200 w-5 h-5'>
|
||||
{' '}
|
||||
|
||||
Reference in New Issue
Block a user