This repository was archived by the owner on Apr 21, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ class="color-picker flex flex-wrap mt-1 shadow-sm"
3535 $attributes -> class ([
3636 ' color-picker-input' ,
3737 ' block transition duration-75 border border-gray-300 focus:border-primary-600 focus:ring-1 focus:ring-inset focus:ring-primary-600 disabled:opacity-70' ,
38+ ' dark:bg-gray-700 dark:text-white' => config (' forms.dark_mode' ),
39+ ' border-gray-300' => ! $errors -> has ($getStatePath ()),
40+ ' dark:border-gray-600' => ! $errors -> has ($getStatePath ()) && config (' forms.dark_mode' ),
41+ ' border-danger-600 ring-danger-600' => $errors -> has ($getStatePath ()),
3842 ' !rvx-rounded-r-lg flex-1 border-l-0' => $getPreview (),
3943 ' rounded-lg w-full' => ! $getPreview (),
4044 ])
Original file line number Diff line number Diff line change 11<div
2- class =" color-picker-preview rvx-h-[42px] w-11 rvx-rounded-l-lg border border-gray-300 !rvx-border-r-0 inline-flex relative overflow-hidden sm:text-sm"
2+ class =" color-picker-preview rvx-h-[42px] w-11 rvx-rounded-l-lg border border-gray-300 dark:border-gray-600 !rvx-border-r-0 inline-flex relative overflow-hidden sm:text-sm"
33>
44 <span
55 class =" absolute inset-0 h-full"
66 :style =" {
7- backgroundColor: color,
7+ backgroundColor: color
88 }"
99 data-preview >
1010 </span >
You can’t perform that action at this time.
0 commit comments