red color for abort btn
Browse files
src/lib/components/Playground/Playground.svelte
CHANGED
@@ -361,7 +361,7 @@
|
|
361 |
loading ? abort() : submit();
|
362 |
}}
|
363 |
type="button"
|
364 |
-
class="flex h-[39px] w-24 items-center justify-center gap-2 rounded-lg
|
365 |
>
|
366 |
{#if loading}
|
367 |
<div class="flex flex-none items-center gap-[3px]">
|
|
|
361 |
loading ? abort() : submit();
|
362 |
}}
|
363 |
type="button"
|
364 |
+
class="flex h-[39px] w-24 items-center justify-center gap-2 rounded-lg px-5 py-2.5 text-sm font-medium text-white focus:outline-none focus:ring-4 focus:ring-gray-300 dark:border-gray-700 dark:focus:ring-gray-700 {loading ? 'bg-red-900 hover:bg-red-800 dark:bg-red-600 dark:hover:bg-red-700' : 'bg-black hover:bg-gray-900 dark:bg-blue-600 dark:hover:bg-blue-700'}"
|
365 |
>
|
366 |
{#if loading}
|
367 |
<div class="flex flex-none items-center gap-[3px]">
|