Explorar o código

refac: styling

Timothy Jaeryang Baek hai 3 meses
pai
achega
5844779384

+ 1 - 1
src/lib/components/chat/MessageInput.svelte

@@ -509,7 +509,7 @@
 							}}
 							}}
 						>
 						>
 							<div
 							<div
-								class="flex-1 flex flex-col relative w-full shadow-lg rounded-3xl border border-gray-100 dark:border-gray-850 hover:border-gray-200 focus-within:border-gray-200 hover:dark:border-gray-800 focus-within:dark:border-gray-800 transition px-1 bg-white/90 dark:bg-gray-400/5 dark:text-gray-100"
+								class="flex-1 flex flex-col relative w-full shadow-lg rounded-3xl border border-gray-50 dark:border-gray-850 hover:border-gray-100 focus-within:border-gray-100 hover:dark:border-gray-800 focus-within:dark:border-gray-800 transition px-1 bg-white/90 dark:bg-gray-400/5 dark:text-gray-100"
 								dir={$settings?.chatDirection ?? 'auto'}
 								dir={$settings?.chatDirection ?? 'auto'}
 							>
 							>
 								{#if files.length > 0}
 								{#if files.length > 0}

+ 1 - 1
src/lib/components/common/FileItem.svelte

@@ -127,7 +127,7 @@
 	{#if dismissible}
 	{#if dismissible}
 		<div class=" absolute -top-1 -right-1">
 		<div class=" absolute -top-1 -right-1">
 			<button
 			<button
-				class=" bg-white text-black border border-white rounded-full group-hover:visible invisible transition"
+				class=" bg-white text-black border border-gray-50 rounded-full group-hover:visible invisible transition"
 				type="button"
 				type="button"
 				on:click|stopPropagation={() => {
 				on:click|stopPropagation={() => {
 					dispatch('dismiss');
 					dispatch('dismiss');