diff --git a/src/app.css b/src/app.css index c89d1f4..b49b970 100644 --- a/src/app.css +++ b/src/app.css @@ -31,6 +31,10 @@ body { } .btn { - @apply font-display flex items-center justify-center overflow-hidden relative cursor-pointer px-4 border-2 border-solid bg-background border-foreground-muted-alt rounded-xl p-2 focus:!outline-none hover:scale-105 transition-transform duration-200 active:scale-95; + @apply font-display flex items-center justify-center overflow-hidden relative cursor-pointer px-4 border-2 border-solid bg-background border-foreground-muted-alt rounded-xl p-2 focus:!outline-none hover:scale-105 transition-all duration-200 active:scale-95; + } + + .btn-highlight { + @apply bg-accent-background text-accent-foreground border-accent-background; } } diff --git a/src/lib/converters/vips.ts b/src/lib/converters/vips.ts index ebe11f5..c73cef5 100644 --- a/src/lib/converters/vips.ts +++ b/src/lib/converters/vips.ts @@ -7,7 +7,7 @@ import type { VipsWorkerMessage, OmitBetterStrict } from "$lib/types"; export class VipsConverter extends Converter { private worker: Worker = browser ? new VipsWorker() : null!; private id = 0; - public name = "Vips"; + public name = "libvips"; public supportedFormats = [ ".jpg", ".jpeg", diff --git a/src/routes/convert/+page.svelte b/src/routes/convert/+page.svelte index c1842e5..a6ad782 100644 --- a/src/routes/convert/+page.svelte +++ b/src/routes/convert/+page.svelte @@ -159,24 +159,12 @@ }} >
-

Options

-
-
-

Converter

- converter.name, - )} - bind:selected={converterName} - /> -
-
-

Quick Actions

+

Options

-
-

Set all formats

+
+

Set all target formats

{ @@ -191,19 +179,42 @@ }} />
-
- - +
+ +

Advanced

+
+
+

Converter backend

+ converter.name, + )} + bind:selected={converterName} + />
+ +
+ + +
{#each reversed as file, i (file.id)}
{file.file.name}