CLASSROOMIO-T-41: Implement dark/light mode switch

Co-authored-by: Rotimi Best <[email protected]>

Merge-request: CLASSROOMIO-MR-8
Merged-by: Digdippa Team <[email protected]>
This commit is contained in:
Rotimi Best
2023-05-05 20:19:45 +00:00
committed by Space Cloud
co-authored by Rotimi Best
parent 5f14b36ef8
commit 1388a41097
95 changed files with 611 additions and 425 deletions
+6 -3
View File
@@ -52,7 +52,10 @@
<label class="block relative {className}">
{#if label}
<label for="text-field" class="m-0 font-light {labelClassName}">
<label
for="text-field"
class="dark:text-white m-0 font-light {labelClassName}"
>
{label}
{#if isRequired}
@@ -83,9 +86,9 @@
</span>
{/if}
{#if errorMessage}
<p class="text-sm text-red-500">{errorMessage}</p>
<p class="dark:text-white text-sm text-red-500">{errorMessage}</p>
{:else if helperMessage}
<p class="text-sm">
<p class="dark:text-white text-sm">
{helperMessage}
</p>
{/if}