🐛 Fixed wrong color in light mode

This commit is contained in:
Mawoka
2023-06-15 18:46:37 +02:00
parent 2076e7cffb
commit b4c6f7f0ac
2 changed files with 4 additions and 4 deletions
@@ -34,7 +34,7 @@
<div class="rounded p-6 bg-gray-700 flex">
<input
bind:value={answer.answer}
class="w-full my-auto bg-transparent outline-none text-center"
class="w-full my-auto bg-transparent outline-none text-center text-white"
placeholder="Enter answer here"
/>
<button
@@ -45,7 +45,7 @@
>
{#if answer.correct}
<svg
class="w-6 h-6 inline-block"
class="w-6 h-6 inline-block text-white"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
@@ -60,7 +60,7 @@
</svg>
{:else}
<svg
class="w-6 h-6 inline-block"
class="w-6 h-6 inline-block text-white"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
@@ -30,7 +30,7 @@
class:opacity-50={selected_answer !== undefined && !answer.correct}
class:text-2xl={selected_answer === i}
>
<span class="m-auto">{answer.answer}</span>
<span class="m-auto text-white">{answer.answer}</span>
</button>
{/each}
</div>