mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
Dark label (#1203)
* add dark mode for label * fix dark issue in customer view page * fix remaining label for dark mode --------- Co-authored-by: yashkanakiya <yashkanakiya281297@gmail.com>
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
<template>
|
||||
<hr class="w-full text-gray-300 dark:bg-gray-600" />
|
||||
<div class="w-full h-px bg-gray-300 dark:bg-gray-600" />
|
||||
</template>
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
text-gray-800
|
||||
whitespace-nowrap
|
||||
justify-between
|
||||
dark:text-gray-300
|
||||
"
|
||||
>
|
||||
<div>
|
||||
@ -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">
|
||||
|
||||
@ -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-gray-500 dark:text-gray-300">
|
||||
<slot />
|
||||
</label>
|
||||
</template>
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
]"
|
||||
aria-hidden="true"
|
||||
>
|
||||
<span class="rounded-full bg-white w-1.5 h-1.5" :class="{ 'bg-white': checked }"/>
|
||||
<span class="rounded-full w-1.5 h-1.5" :class="{ 'bg-white': checked }"/>
|
||||
</span>
|
||||
<div class="flex flex-col ml-3">
|
||||
<RadioGroupLabel
|
||||
|
||||
Reference in New Issue
Block a user