This commit is contained in:
tangly1024
2022-12-25 16:18:36 +08:00
parent 461b0f6057
commit 0edc6405af
6 changed files with 16 additions and 17 deletions

View File

@@ -13,8 +13,8 @@ export function ThemeSwitch() {
<div id="draggableBox" style={{ left: '10px', top: '90vh' }} className="fixed text-white bg-black z-50 rounded-lg shadow-card">
<div className="p-2 flex items-center">
<i className="fas fa-palette mr-1 cursor-move" />
<div className='uppercase font-sans whitespace-nowrap cursor-pointer ' onClick={switchTheme}> {theme}
<i className='fas fa-arrows cursor-move pl-2' title='click to change theme' alt='click to change theme' /></div>
<div className='uppercase font-sans whitespace-nowrap cursor-pointer ' onClick={switchTheme}> {theme}</div>
<i className='fas fa-arrows cursor-move pl-2' title='click to change theme' alt='click to change theme' />
</div>
</div>
</Draggable>