Skip to content

armgit / VERT

Public Imported from GitHub
0

The next-generation file converter. Open source, fully local* and free forever.

fix: dialog size and contrast

JovannMC05990a8c4040
diff --git a/src/lib/components/functional/popups/Dialog.svelte b/src/lib/components/functional/popups/Dialog.svelte
index b9cda8f..045b399 100644
--- a/src/lib/components/functional/popups/Dialog.svelte
+++ b/src/lib/components/functional/popups/Dialog.svelte
@@ -37,7 +37,7 @@
</script>
<div
- class="flex flex-col items-center justify-between w-full max-w-sm p-4 gap-6 bg-panel border-accent-{color}-alt rounded-lg shadow-md"
+ class="flex flex-col items-center justify-between w-full max-w-md p-4 gap-6 bg-panel border-accent-{color}-alt rounded-lg shadow-md"
in:fly={{
duration,
easing: quintOut,
@@ -71,10 +71,10 @@
</div>
{/if}
</div>
- <div class="flex flex-row items-center gap-4 w-full">
+ <div class="flex flex-row items-center justify-between gap-4 w-full">
{#each buttons as { text, action }, i}
<button
- class="hover:scale-105 active:scale-100 duration-200 flex items-center gap-2 p-2 rounded-md {i ===
+ class="w-full justify-center hover:scale-105 active:scale-100 duration-200 flex items-center gap-2 p-2 rounded-md {i ===
1
? `bg-accent-${color} text-black`
: 'bg-button text-black dynadark:text-white'} px-6"
diff --git a/src/lib/components/functional/popups/ServerUploadWarning.svelte b/src/lib/components/functional/popups/ServerUploadWarning.svelte
index 7f2219e..8871b82 100644
--- a/src/lib/components/functional/popups/ServerUploadWarning.svelte
+++ b/src/lib/components/functional/popups/ServerUploadWarning.svelte
@@ -18,12 +18,12 @@
</script>
<div class="flex flex-col gap-4">
- <p class="text-black">
+ <p class="text-black dynadark:text-white">
{m["convert.external_warning.text"]({
filename: additional.filename,
})}
</p>
- <div class="flex items-center gap-2 text-black">
+ <div class="flex items-center gap-2 text-black dynadark:text-white">
<FancyInput
type="checkbox"
checked={dontShowAgain}