change primary color + logo

This commit is contained in:
hamid zarghami
2025-09-28 10:41:26 +03:30
parent 1086135ecb
commit ca8c3d876e
23 changed files with 65 additions and 51 deletions
+4 -4
View File
@@ -251,7 +251,7 @@ const AddressModal: React.FC<AddressModalProps> = ({
{/* Selected Location Display */}
{selectedLocation && (
<div className="mt-4 p-4 bg-gradient-to-r from-green-50 to-blue-50 rounded-lg border border-green-200">
<div className="mt-4 p-4 bg-gradient-to-r from-green-50 to-primary/10 rounded-lg border border-green-200">
<div className="flex items-start gap-3">
<div className="flex-shrink-0 mt-0.5">
<TickCircle size={20} className="text-green-600" />
@@ -287,7 +287,7 @@ const AddressModal: React.FC<AddressModalProps> = ({
</Button>
<Button
onClick={handleNextStep}
className="w-full sm:w-auto bg-blue-600 hover:bg-blue-700 order-1 sm:order-2 disabled:opacity-50 disabled:cursor-not-allowed"
className="w-full sm:w-auto bg-primary hover:bg-primary/90 order-1 sm:order-2 disabled:opacity-50 disabled:cursor-not-allowed"
disabled={!selectedLocation}
>
مرحله بعد
@@ -313,7 +313,7 @@ const AddressModal: React.FC<AddressModalProps> = ({
</label>
<textarea
{...register('address', { required: 'آدرس کامل الزامی است' })}
className="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent resize-none"
className="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent resize-none"
rows={4}
placeholder="آدرس کامل خود را وارد کنید"
/>
@@ -400,7 +400,7 @@ const AddressModal: React.FC<AddressModalProps> = ({
</Button>
<Button
type="submit"
className="w-full sm:w-auto bg-blue-600 hover:bg-blue-700 order-1 sm:order-3 disabled:opacity-50 disabled:cursor-not-allowed"
className="w-full sm:w-auto bg-primary hover:bg-primary/90 order-1 sm:order-3 disabled:opacity-50 disabled:cursor-not-allowed"
disabled={isSubmitting || updateAddressMutation.isPending}
>
<TickCircle color='white' size={16} className="ml-1" />
@@ -99,9 +99,9 @@ const CancelOrderModal: React.FC<CancelOrderModalProps> = ({
)}
</div>
<div className='flex gap-2 text-xs text-[#7F7F7F] mt-4 p-3 bg-blue-50 rounded-lg'>
<div className="size-5 bg-blue-100 rounded-full flex items-center justify-center">
<span className="text-blue-600 text-xs">!</span>
<div className='flex gap-2 text-xs text-[#7F7F7F] mt-4 p-3 bg-primary/10 rounded-lg'>
<div className="size-5 bg-primary/20 rounded-full flex items-center justify-center">
<span className="text-primary text-xs">!</span>
</div>
<span>
توجه داشته باشید که بعد از ثبت لغو سفارش طبق
@@ -64,7 +64,7 @@ const OrderProductItem: React.FC<OrderProductItemProps> = ({ item, shipperName,
</div>
<div className='flex gap-3 items-center'>
<Truck size={20} className="text-blue-500" />
<Truck size={20} className="text-primary" />
<div>
{shipperName}
</div>
+1 -1
View File
@@ -163,7 +163,7 @@ const ProfilePage = () => {
<Button
type="submit"
disabled={isSubmitting || updateProfileMutation.isPending}
className="px-6 sm:px-8 bg-blue-600 hover:bg-blue-700 text-sm sm:text-base"
className="px-6 sm:px-8 bg-primary hover:bg-primary/90 text-sm sm:text-base"
>
{isSubmitting || updateProfileMutation.isPending ? 'در حال ذخیره...' : 'ذخیره تغییرات'}
</Button>