feat: Изменена иконка шеврона для поддержки кастомизации

This commit is contained in:
Ilia Mashkov
2025-11-20 12:11:09 +03:00
parent 1ed871a9fd
commit 55222ba27e
2 changed files with 5 additions and 5 deletions

View File

@@ -1,3 +1,3 @@
<svg width="9" height="14" viewBox="0 0 9 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.66418 0.707108L1.41419 6.95711L7.66418 13.2071" stroke="#42567A" stroke-width="2"/>
<svg width="9" height="14" viewBox="-1 -1 11 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.66418 0.707108L1.41419 6.95711L7.66418 13.2071" stroke="currentColor" stroke-width="2"/>
</svg>

Before

Width:  |  Height:  |  Size: 197 B

After

Width:  |  Height:  |  Size: 205 B

View File

@@ -13,7 +13,7 @@ import 'swiper/css'
import 'swiper/css/navigation'
import 'swiper/css/pagination'
import ChevronIcon from '@/shared/assets/chevron--left.svg'
import ChevronSvg from '@/shared/assets/chevron--left.svg'
import { Button } from '@/shared/ui/Button'
import { Card } from '@/shared/ui/Card'
@@ -123,7 +123,7 @@ export const EventsCarousel = memo(
className='swiper-button-prev-custom'
aria-label='Предыдущий слайд'
>
<ChevronIcon />
<ChevronSvg width={6} height={9} stroke='#3877EE' />
</Button>
</div>
@@ -139,7 +139,7 @@ export const EventsCarousel = memo(
className='swiper-button-next-custom'
aria-label='Следующий слайд'
>
<ChevronIcon />
<ChevronSvg width={6} height={9} stroke='#3877EE' />
</Button>
</div>