Skip to content

web search done right

fix captcha checkmark color so it looks nice on different themes

Mikkel Denkerfef81ee86de1
diff --git a/frontend/src/routes/sorry/+page.svelte b/frontend/src/routes/sorry/+page.svelte
index 119b7a30..b526ed53 100644
--- a/frontend/src/routes/sorry/+page.svelte
+++ b/frontend/src/routes/sorry/+page.svelte
@@ -16,7 +16,7 @@
<a href={`sorry/audio${$page.url.search}`} title="Get an audio challenge"
><Speaker class="h-8 w-8" /></a
>
- <Button title="Verify challenge" type="submit">VERIFY</Button>
+ <Button title="Verify challenge" type="submit" kind="accent">VERIFY</Button>
</div>
</Captcha>
diff --git a/frontend/src/routes/sorry/Audio.svelte b/frontend/src/routes/sorry/Audio.svelte
index 7ae81003..1ce546ff 100644
--- a/frontend/src/routes/sorry/Audio.svelte
+++ b/frontend/src/routes/sorry/Audio.svelte
@@ -38,7 +38,7 @@
</audio>
<button
type="button"
- class="h-16 w-full rounded bg-accent text-xl font-semibold"
+ class="h-16 w-full rounded bg-primary text-xl font-semibold text-primary-content"
on:click={click}
bind:this={button}>PLAY</button
>
diff --git a/frontend/src/routes/sorry/Patch.svelte b/frontend/src/routes/sorry/Patch.svelte
index 4e104705..042fb8d4 100644
--- a/frontend/src/routes/sorry/Patch.svelte
+++ b/frontend/src/routes/sorry/Patch.svelte
@@ -16,6 +16,6 @@
class="h-full w-full hover:cursor-pointer hover:bg-white/30 peer-checked:bg-black/75"
/>
<Check
- class="pointer-events-none invisible absolute left-1/2 top-1/2 m-0 h-10 w-10 translate-x-[-50%] translate-y-[-50%] peer-checked:visible"
+ class="pointer-events-none invisible absolute left-1/2 top-1/2 m-0 h-10 w-10 translate-x-[-50%] translate-y-[-50%] text-white peer-checked:visible"
/>
</div>
diff --git a/frontend/src/routes/sorry/audio/+page.svelte b/frontend/src/routes/sorry/audio/+page.svelte
index f469d329..399b7e60 100644
--- a/frontend/src/routes/sorry/audio/+page.svelte
+++ b/frontend/src/routes/sorry/audio/+page.svelte
@@ -24,7 +24,7 @@
><Photo class="h-8 w-8" /></a
>
- <Button title="Verify challenge" type="submit">VERIFY</Button>
+ <Button title="Verify challenge" type="submit" kind="accent">VERIFY</Button>
</div>
</Captcha>