mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			dark-base-
			...
			dark-baseI
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 9767d02776 | 
| @ -65,6 +65,7 @@ | |||||||
|         rounded-l-md |         rounded-l-md | ||||||
|         bg-gray-50 |         bg-gray-50 | ||||||
|         sm:text-sm |         sm:text-sm | ||||||
|  |         dark:bg-gray-800 dark:border-gray-600 dark:text-gray-300 | ||||||
|       " |       " | ||||||
|     > |     > | ||||||
|       {{ addon }} |       {{ addon }} | ||||||
| @ -82,7 +83,7 @@ | |||||||
|         pointer-events-none |         pointer-events-none | ||||||
|       " |       " | ||||||
|     > |     > | ||||||
|       <span class="text-gray-500 sm:text-sm"> |       <span class="text-gray-500 dark:text-white sm:text-sm "> | ||||||
|         {{ inlineAddon }} |         {{ inlineAddon }} | ||||||
|       </span> |       </span> | ||||||
|     </div> |     </div> | ||||||
| @ -199,7 +200,7 @@ const props = defineProps({ | |||||||
|   defaultInputClass: { |   defaultInputClass: { | ||||||
|     type: String, |     type: String, | ||||||
|     default: |     default: | ||||||
|       'font-base block w-full sm:text-sm border-gray-200 rounded-md text-black', |       'font-base block w-full sm:text-sm border-gray-200 rounded-md text-black  dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:placeholder-gray-500', | ||||||
|   }, |   }, | ||||||
|   iconLeftClass: { |   iconLeftClass: { | ||||||
|     type: String, |     type: String, | ||||||
| @ -250,7 +251,8 @@ const inputAddonClass = computed(() => { | |||||||
|  |  | ||||||
| const inputInvalidClass = computed(() => { | const inputInvalidClass = computed(() => { | ||||||
|   if (props.invalid) { |   if (props.invalid) { | ||||||
|     return 'border-red-500 ring-red-500 focus:ring-red-500 focus:border-red-500' |     return 'border-red-500 dark:border-red-500 ring-red-500 dark:ring-red-500 focus:ring-red-500 dark:focus:ring-red-500  focus:border-red-500  dark:focus:border-red-500  ' | ||||||
|  |  | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   return 'focus:ring-primary-400 focus:border-primary-400' |   return 'focus:ring-primary-400 focus:border-primary-400' | ||||||
| @ -258,7 +260,7 @@ const inputInvalidClass = computed(() => { | |||||||
|  |  | ||||||
| const inputDisabledClass = computed(() => { | const inputDisabledClass = computed(() => { | ||||||
|   if (props.disabled) { |   if (props.disabled) { | ||||||
|     return `border-gray-100 bg-gray-100 !text-gray-400 ring-gray-200 focus:ring-gray-200 focus:border-gray-100` |     return `border-gray-100 bg-gray-100 !text-gray-400 dark:!text-gray-200   ring-gray-200 focus:ring-gray-200 focus:border-gray-100 dark:opacity-25 ` | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   return '' |   return '' | ||||||
|  | |||||||
| @ -19,7 +19,7 @@ | |||||||
|             ]" |             ]" | ||||||
|             aria-hidden="true" |             aria-hidden="true" | ||||||
|           > |           > | ||||||
|             <span class="rounded-full bg-white w-1.5 h-1.5"  :class="{ 'bg-white': checked }"/> |             <span class="rounded-full bg-white w-1.5 h-1.5" /> | ||||||
|           </span> |           </span> | ||||||
|           <div class="flex flex-col ml-3"> |           <div class="flex flex-col ml-3"> | ||||||
|             <RadioGroupLabel |             <RadioGroupLabel | ||||||
| @ -66,11 +66,11 @@ const props = defineProps({ | |||||||
|   }, |   }, | ||||||
|   checkedStateClass: { |   checkedStateClass: { | ||||||
|     type: String, |     type: String, | ||||||
|     default: 'bg-primary-600 ', |     default: 'bg-primary-600', | ||||||
|   }, |   }, | ||||||
|   unCheckedStateClass: { |   unCheckedStateClass: { | ||||||
|     type: String, |     type: String, | ||||||
|     default: 'bg-white dark:bg-transparent', |     default: 'bg-white ', | ||||||
|   }, |   }, | ||||||
|   optionGroupActiveStateClass: { |   optionGroupActiveStateClass: { | ||||||
|     type: String, |     type: String, | ||||||
| @ -78,16 +78,16 @@ const props = defineProps({ | |||||||
|   }, |   }, | ||||||
|   checkedStateLabelClass: { |   checkedStateLabelClass: { | ||||||
|     type: String, |     type: String, | ||||||
|     default: 'text-primary-900 dark:text-primary-400', |     default: 'text-primary-900 ', | ||||||
|   }, |   }, | ||||||
|   unCheckedStateLabelClass: { |   unCheckedStateLabelClass: { | ||||||
|     type: String, |     type: String, | ||||||
|     default: 'text-gray-900 dark:text-white', |     default: 'text-gray-900', | ||||||
|   }, |   }, | ||||||
|   optionGroupClass: { |   optionGroupClass: { | ||||||
|     type: String, |     type: String, | ||||||
|     default: |     default: | ||||||
|       'h-4 w-4 mt-0.5 cursor-pointer rounded-full border flex items-center justify-center dark:border-gray-600', |       'h-4 w-4 mt-0.5 cursor-pointer rounded-full border flex items-center justify-center', | ||||||
|   }, |   }, | ||||||
|   optionGroupLabelClass: { |   optionGroupLabelClass: { | ||||||
|     type: String, |     type: String, | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	