样式微调深色模式适配

This commit is contained in:
tangly1024
2022-05-12 12:24:05 +08:00
parent cf5b0015a6
commit aa9fcb591c
7 changed files with 15 additions and 13 deletions

View File

@@ -13,7 +13,7 @@ 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 >{theme} <i className='fas fa-sync text-xs cursor-pointer' onClick={switchTheme} /></div>
<div className='uppercase font-sans' >{theme} <i className='fas fa-sync cursor-pointer border-l pl-2' title='click to change theme' alt='click to change theme' onClick={switchTheme} /></div>
</div>
</div>
</Draggable>