mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-29 04:31:08 -04:00
added dark-mode in BaseInputGroup and BaseLabel
This commit is contained in:
@ -15,6 +15,7 @@
|
|||||||
text-gray-800
|
text-gray-800
|
||||||
whitespace-nowrap
|
whitespace-nowrap
|
||||||
justify-between
|
justify-between
|
||||||
|
dark:text-gray-300
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
@ -31,7 +32,7 @@
|
|||||||
</label>
|
</label>
|
||||||
<div :class="inputContainerClasses">
|
<div :class="inputContainerClasses">
|
||||||
<slot></slot>
|
<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 }}
|
{{ helpText }}
|
||||||
</span>
|
</span>
|
||||||
<span v-if="error" class="block mt-0.5 text-sm text-red-500">
|
<span v-if="error" class="block mt-0.5 text-sm text-red-500">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<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 />
|
<slot />
|
||||||
</label>
|
</label>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user