🐛 Fixed wrong color in light mode
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
<div class="rounded p-6 bg-gray-700 flex">
|
<div class="rounded p-6 bg-gray-700 flex">
|
||||||
<input
|
<input
|
||||||
bind:value={answer.answer}
|
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"
|
placeholder="Enter answer here"
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
>
|
>
|
||||||
{#if answer.correct}
|
{#if answer.correct}
|
||||||
<svg
|
<svg
|
||||||
class="w-6 h-6 inline-block"
|
class="w-6 h-6 inline-block text-white"
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
viewBox="0 0 24 24"
|
viewBox="0 0 24 24"
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
</svg>
|
</svg>
|
||||||
{:else}
|
{:else}
|
||||||
<svg
|
<svg
|
||||||
class="w-6 h-6 inline-block"
|
class="w-6 h-6 inline-block text-white"
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
viewBox="0 0 24 24"
|
viewBox="0 0 24 24"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
class:opacity-50={selected_answer !== undefined && !answer.correct}
|
class:opacity-50={selected_answer !== undefined && !answer.correct}
|
||||||
class:text-2xl={selected_answer === i}
|
class:text-2xl={selected_answer === i}
|
||||||
>
|
>
|
||||||
<span class="m-auto">{answer.answer}</span>
|
<span class="m-auto text-white">{answer.answer}</span>
|
||||||
</button>
|
</button>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user