remove class overrides

This commit is contained in:
2024-01-25 10:23:03 +01:00
parent 0567d57cb5
commit 3d2ebdb640
5 changed files with 23 additions and 77 deletions

View File

@@ -16,7 +16,9 @@
const launch = () => {
launching.set(true);
const patching = $patch;
window.dispatchEvent(new CustomEvent("launch", { detail: { patch: patching } }));;
window.dispatchEvent(
new CustomEvent("launch", { detail: { patch: patching } })
);
};
</script>
@@ -29,7 +31,7 @@
<Button
color="light"
size="xl"
class="dark:active:!bg-gray-900 {$launching
class="{$launching
? ''
: 'active:scale-95 '}transition-transform duration-75"
disabled={$launching}

View File

@@ -59,7 +59,7 @@
{
loading: "Logging in...",
success: "Successfully logged in!",
error: "Failed to login.",
error: "Invalid Username or Password!",
},
{
position: "bottom-center",
@@ -198,7 +198,7 @@
>
<div class="flex flex-col justify-center items-center gap-2 mt-1">
<Button
class="dark:active:!bg-gray-900 active:scale-95 transition-transform duration-75"
class="active:scale-95 transition-transform duration-75"
color="light"
disabled={loading}
on:click={processLogin}

View File

@@ -63,21 +63,13 @@
value={folderPath}
readonly
/>
<Button
color="light"
class="dark:active:!bg-gray-900"
on:click={detectFolderPath}
>
<Button color="light" on:click={detectFolderPath}>
<FileSearchSolid
size="sm"
class="dark:text-gray-300 text-gray-500 outline-none border-none select-none pointer-events-none"
/>
</Button>
<Button
color="light"
class="dark:active:!bg-gray-900 active:!rounded-lg"
on:click={setFolderPath}
>
<Button color="light" class="active:!rounded-lg" on:click={setFolderPath}>
<FolderSolid
size="sm"
class="dark:text-gray-300 text-gray-500 outline-none border-none select-none pointer-events-none"