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