feat: 支持 UNM rust

This commit is contained in:
qier222 2022-05-01 19:53:25 +08:00
parent 4d59401549
commit 4d54060a4f
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
29 changed files with 717 additions and 231 deletions

View file

@ -35,10 +35,15 @@ const AccentColor = () => {
{Object.entries(colors).map(([color, bg]) => (
<div
key={color}
className={classNames(bg, 'mr-2.5 h-5 w-5 rounded-full flex items-center justify-center')}
className={classNames(
bg,
'mr-2.5 flex h-5 w-5 items-center justify-center rounded-full'
)}
onClick={() => changeColor(color)}
>
{color === accentColor && <div className='bg-white h-1.5 w-1.5 rounded-full'></div>}
{color === accentColor && (
<div className='h-1.5 w-1.5 rounded-full bg-white'></div>
)}
</div>
))}
</div>
@ -47,12 +52,12 @@ const AccentColor = () => {
}
const Theme = () => {
return <div className='mt-4'>
<div className='mb-2 dark:text-white'></div>
<div>
return (
<div className='mt-4'>
<div className='mb-2 dark:text-white'></div>
<div></div>
</div>
</div>
)
}
const Appearance = () => {