Skip to content

Commit

Permalink
added dark-mode in BaseInputGroup and BaseLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
varshapun committed Mar 22, 2023
1 parent 15f3f56 commit 87495e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion resources/scripts/components/base/BaseInputGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
text-gray-800
whitespace-nowrap
justify-between
dark:text-gray-300
"
>
<div>
Expand All @@ -31,7 +32,7 @@
</label>
<div :class="inputContainerClasses">
<slot></slot>
<span v-if="helpText" class="text-gray-500 text-xs mt-1 font-light">
<span v-if="helpText" class="text-gray-500 text-xs mt-1 font-light dark:text-gray-400">
{{ helpText }}
</span>
<span v-if="error" class="block mt-0.5 text-sm text-red-500">
Expand Down
2 changes: 1 addition & 1 deletion resources/scripts/components/base/BaseLabel.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<label class="text-sm not-italic font-medium leading-5 text-primary-800">
<label class="text-sm not-italic font-medium leading-5 text-primary-800 dark:text-gray-300">
<slot />
</label>
</template>

0 comments on commit 87495e8

Please sign in to comment.