Style cleanup

This commit is contained in:
Sacha Weatherstone
2023-01-02 19:52:09 +11:00
parent 9c0ff452bf
commit a1d97e0978
6 changed files with 44 additions and 64 deletions
+8 -12
View File
@@ -40,18 +40,14 @@ export const NewDevice = () => {
<TabbedContent
tabs={tabs}
actions={[
() => (
<div
className="my-auto cursor-pointer bg-backgroundPrimary p-2 text-textSecondary hover:brightness-hover active:brightness-press"
onClick={() => setDarkMode(!darkMode)}
>
{darkMode ? (
<SunIcon className="w-6" />
) : (
<MoonIcon className="w-6" />
)}
</div>
)
{
icon: darkMode ? (
<SunIcon className="w-4" />
) : (
<MoonIcon className="w-4" />
),
action: () => setDarkMode(!darkMode)
}
]}
/>
</div>