mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-29 12:41:10 -04:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			dark-base-
			...
			dark-selec
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 5116ba3ee1 | 
| @ -12,7 +12,7 @@ | |||||||
|   > |   > | ||||||
|     <ListboxLabel |     <ListboxLabel | ||||||
|       v-if="label" |       v-if="label" | ||||||
|       class="block text-sm not-italic font-medium text-gray-800 mb-0.5" |       class="block text-sm not-italic font-medium text-gray-800 mb-0.5 dark:text-white" | ||||||
|     > |     > | ||||||
|       {{ label }} |       {{ label }} | ||||||
|     </ListboxLabel> |     </ListboxLabel> | ||||||
| @ -28,6 +28,7 @@ | |||||||
|           pr-10 |           pr-10 | ||||||
|           text-left |           text-left | ||||||
|           bg-white |           bg-white | ||||||
|  |           dark:bg-gray-700 | ||||||
|           border border-gray-200 |           border border-gray-200 | ||||||
|           rounded-md |           rounded-md | ||||||
|           shadow-sm |           shadow-sm | ||||||
| @ -89,6 +90,7 @@ | |||||||
|             ring-1 ring-black ring-opacity-5 |             ring-1 ring-black ring-opacity-5 | ||||||
|             focus:outline-none |             focus:outline-none | ||||||
|             sm:text-sm |             sm:text-sm | ||||||
|  |             dark:bg-gray-700 | ||||||
|           " |           " | ||||||
|         > |         > | ||||||
|           <ListboxOption |           <ListboxOption | ||||||
| @ -100,7 +102,7 @@ | |||||||
|           > |           > | ||||||
|             <li |             <li | ||||||
|               :class="[ |               :class="[ | ||||||
|                 active ? 'text-white bg-primary-600' : 'text-gray-900', |                 active ? 'text-white bg-primary-600' : 'text-gray-900 dark:text-white', | ||||||
|                 'cursor-default select-none relative py-2 pl-3 pr-9', |                 'cursor-default select-none relative py-2 pl-3 pr-9', | ||||||
|               ]" |               ]" | ||||||
|             > |             > | ||||||
|  | |||||||
| @ -7,7 +7,7 @@ | |||||||
|  |  | ||||||
|       <Switch |       <Switch | ||||||
|         v-model="enabled" |         v-model="enabled" | ||||||
|         :class="enabled ? 'bg-primary-500' : 'bg-gray-300 dark:bg-gray-900'" |         :class="enabled ? 'bg-primary-500' : 'bg-gray-300'" | ||||||
|         class=" |         class=" | ||||||
|           relative |           relative | ||||||
|           inline-flex |           inline-flex | ||||||
| @ -21,11 +21,7 @@ | |||||||
|         v-bind="$attrs" |         v-bind="$attrs" | ||||||
|       > |       > | ||||||
|         <span |         <span | ||||||
|           :class=" |           :class="enabled ? 'translate-x-6' : 'translate-x-1'" | ||||||
|             enabled |  | ||||||
|               ? 'translate-x-6 dark:bg-white' |  | ||||||
|               : 'translate-x-1 dark:bg-gray-500' |  | ||||||
|           " |  | ||||||
|           class=" |           class=" | ||||||
|             inline-block |             inline-block | ||||||
|             w-4 |             w-4 | ||||||
|  | |||||||
| @ -5,12 +5,12 @@ | |||||||
|     <div class="flex flex-col"> |     <div class="flex flex-col"> | ||||||
|       <SwitchLabel |       <SwitchLabel | ||||||
|         as="p" |         as="p" | ||||||
|         class="p-0 mb-1 text-sm leading-snug text-black font-medium dark:text-white" |         class="p-0 mb-1 text-sm leading-snug text-black font-medium" | ||||||
|         passive |         passive | ||||||
|       > |       > | ||||||
|         {{ title }} |         {{ title }} | ||||||
|       </SwitchLabel> |       </SwitchLabel> | ||||||
|       <SwitchDescription class="text-sm text-gray-500 dark:text-gray-400"> |       <SwitchDescription class="text-sm text-gray-500"> | ||||||
|         {{ description }} |         {{ description }} | ||||||
|       </SwitchDescription> |       </SwitchDescription> | ||||||
|     </div> |     </div> | ||||||
| @ -18,7 +18,7 @@ | |||||||
|       :disabled="disabled" |       :disabled="disabled" | ||||||
|       :model-value="modelValue" |       :model-value="modelValue" | ||||||
|       :class="[ |       :class="[ | ||||||
|         modelValue ? 'bg-primary-500' : 'bg-gray-200 dark:bg-gray-900', |         modelValue ? 'bg-primary-500' : 'bg-gray-200', | ||||||
|         'ml-4 relative inline-flex shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500', |         'ml-4 relative inline-flex shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500', | ||||||
|       ]" |       ]" | ||||||
|       @update:modelValue="onUpdate" |       @update:modelValue="onUpdate" | ||||||
| @ -26,7 +26,7 @@ | |||||||
|       <span |       <span | ||||||
|         aria-hidden="true" |         aria-hidden="true" | ||||||
|         :class="[ |         :class="[ | ||||||
|           modelValue ? 'translate-x-5 dark:bg-white' : 'translate-x-0 dark:bg-gray-500', |           modelValue ? 'translate-x-5' : 'translate-x-0', | ||||||
|           'inline-block h-5 w-5 rounded-full bg-white shadow ring-0 transition ease-in-out duration-200', |           'inline-block h-5 w-5 rounded-full bg-white shadow ring-0 transition ease-in-out duration-200', | ||||||
|         ]" |         ]" | ||||||
|       /> |       /> | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	