mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			dark-file-
			...
			dark-baseI
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 9767d02776 | 
| @ -21,7 +21,6 @@ | ||||
|       group | ||||
|       min-h-[100px] | ||||
|       bg-gray-50 | ||||
|       dark:bg-gray-700 dark:border-gray-600 | ||||
|     " | ||||
|     :class="avatar ? 'w-32 h-32' : 'w-full'" | ||||
|   > | ||||
| @ -50,7 +49,7 @@ | ||||
|  | ||||
|       <a | ||||
|         href="#" | ||||
|         class="absolute z-30 bg-white rounded-full -bottom-3 -right-3 group dark:bg-gray-900" | ||||
|         class="absolute z-30 bg-white rounded-full -bottom-3 -right-3 group" | ||||
|         @click.prevent.stop="onBrowse" | ||||
|       > | ||||
|         <BaseIcon | ||||
| @ -96,7 +95,7 @@ | ||||
|  | ||||
|     <div | ||||
|       v-else-if="localFiles.length && avatar && !multiple" | ||||
|       class="flex w-full h-full border border-gray-200 rounded dark:border-gray-600" | ||||
|       class="flex w-full h-full border border-gray-200 rounded" | ||||
|     > | ||||
|       <img | ||||
|         v-if="localFiles[0].image" | ||||
| @ -170,11 +169,10 @@ | ||||
|           -right-3 | ||||
|           group | ||||
|           hover:border-gray-300 | ||||
|           dark:border-gray-600 dark:bg-gray-900 dark:hover:border-gray-700 | ||||
|         " | ||||
|         @click.prevent.stop="onAvatarRemove(localFiles[0])" | ||||
|       > | ||||
|         <BaseIcon name="XIcon" class="h-4 text-xl leading-6 text-black dark:text-white" /> | ||||
|         <BaseIcon name="XIcon" class="h-4 text-xl leading-6 text-black" /> | ||||
|       </a> | ||||
|     </div> | ||||
|  | ||||
| @ -197,7 +195,6 @@ | ||||
|           hover:border-gray-500 | ||||
|           relative | ||||
|           max-w-md | ||||
|           dark:border-gray-600 dark:bg-transparent dark:hover:border-gray-700 | ||||
|         " | ||||
|         @click.prevent | ||||
|       > | ||||
| @ -273,7 +270,6 @@ | ||||
|             -right-3 | ||||
|             group | ||||
|             hover:border-gray-300 | ||||
|             dark:border-gray-600 dark:bg-gray-900 dark:hover:border-gray-700 | ||||
|           " | ||||
|           @click.prevent.stop="onFileRemove(index)" | ||||
|         > | ||||
| @ -297,7 +293,6 @@ | ||||
|           hover:border-gray-500 | ||||
|           relative | ||||
|           max-w-md | ||||
|           dark:border-gray-600 dark:bg-gray-800 dark:hover:border-gray-700 | ||||
|         " | ||||
|         @click.prevent | ||||
|       > | ||||
| @ -373,11 +368,10 @@ | ||||
|             -right-3 | ||||
|             group | ||||
|             hover:border-gray-300 | ||||
|             dark:border-gray-600 dark:bg-gray-900 dark:hover:border-gray-700 | ||||
|           " | ||||
|           @click.prevent.stop="onFileRemove(index)" | ||||
|         > | ||||
|           <BaseIcon name="XIcon" class="h-4 text-xl leading-6 text-black dark:text-white" /> | ||||
|           <BaseIcon name="XIcon" class="h-4 text-xl leading-6 text-black" /> | ||||
|         </a> | ||||
|       </a> | ||||
|     </div> | ||||
|  | ||||
| @ -65,6 +65,7 @@ | ||||
|         rounded-l-md | ||||
|         bg-gray-50 | ||||
|         sm:text-sm | ||||
|         dark:bg-gray-800 dark:border-gray-600 dark:text-gray-300 | ||||
|       " | ||||
|     > | ||||
|       {{ addon }} | ||||
| @ -82,7 +83,7 @@ | ||||
|         pointer-events-none | ||||
|       " | ||||
|     > | ||||
|       <span class="text-gray-500 sm:text-sm"> | ||||
|       <span class="text-gray-500 dark:text-white sm:text-sm "> | ||||
|         {{ inlineAddon }} | ||||
|       </span> | ||||
|     </div> | ||||
| @ -199,7 +200,7 @@ const props = defineProps({ | ||||
|   defaultInputClass: { | ||||
|     type: String, | ||||
|     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: { | ||||
|     type: String, | ||||
| @ -250,7 +251,8 @@ const inputAddonClass = computed(() => { | ||||
|  | ||||
| const inputInvalidClass = computed(() => { | ||||
|   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' | ||||
| @ -258,7 +260,7 @@ const inputInvalidClass = computed(() => { | ||||
|  | ||||
| const inputDisabledClass = computed(() => { | ||||
|   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 '' | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	