@@ -160,7 +160,17 @@ const carouselId = `carousel-${type}-${variant}-${currentSlug ?? 'all'}`
160160 { /* Navigation Buttons */ }
161161 <button
162162 type = " button"
163- class = " embla__button embla__button--prev absolute left-0 top-1/2 -translate-y-1/2 -translate-x-4 w-12 h-12 rounded-full bg-content-inverse border-2 border-trim shadow-lg hover:bg-gray-200 hover:border-gray-200 transition-all duration-300 flex items-center justify-center z-(--z-raised) disabled:opacity-30 disabled:cursor-not-allowed focus-visible:outline-none after:pointer-events-none after:absolute after:-inset-0.5 after:rounded-none after:content-[''] focus-visible:after:border-2 focus-visible:after:border-spotlight"
163+ class :list = { [
164+ " embla__button embla__button--prev" ,
165+ " absolute w-12 h-12 left-0 top-1/2 -translate-y-1/2 -translate-x-4" ,
166+ " bg-content-inverse" ,
167+ " rounded-full border-2 border-trim shadow-lg" ,
168+ " hover:bg-content-inverse-active hover:border-gray-200" ,
169+ " transition-all duration-300 flex items-center justify-center z-(--z-raised)" ,
170+ " disabled:opacity-30 disabled:cursor-not-allowed" ,
171+ " focus-visible:outline-none focus-visible:after:border-2 focus-visible:after:border-spotlight" ,
172+ " after:pointer-events-none after:absolute after:-inset-0.5 after:rounded-none after:content-['']"
173+ ]}
164174 aria-label = " Previous slide"
165175 data-carousel-prev
166176 >
@@ -183,7 +193,17 @@ const carouselId = `carousel-${type}-${variant}-${currentSlug ?? 'all'}`
183193
184194 <button
185195 type = " button"
186- class = " embla__button embla__button--next absolute right-0 top-1/2 -translate-y-1/2 translate-x-4 w-12 h-12 rounded-full bg-content-inverse border-2 border-trim shadow-lg hover:bg-gray-200 hover:border-gray-200 transition-all duration-300 flex items-center justify-center z-(--z-raised) disabled:opacity-30 disabled:cursor-not-allowed focus-visible:outline-none after:pointer-events-none after:absolute after:-inset-0.5 after:rounded-none after:content-[''] focus-visible:after:border-2 focus-visible:after:border-spotlight"
196+ class :list = { [
197+ " embla__button embla__button--next" ,
198+ " absolute w-12 h-12 right-0 top-1/2 -translate-y-1/2 translate-x-4" ,
199+ " bg-content-inverse" ,
200+ " rounded-full border-2 border-trim shadow-lg" ,
201+ " hover:bg-content-inverse-active hover:border-gray-200" ,
202+ " transition-all duration-300 flex items-center justify-center z-(--z-raised)" ,
203+ " disabled:opacity-30 disabled:cursor-not-allowed" ,
204+ " focus-visible:outline-none focus-visible:after:border-2 focus-visible:after:border-spotlight" ,
205+ " after:pointer-events-none after:absolute after:-inset-0.5 after:rounded-none after:content-['']"
206+ ]}
187207 aria-label = " Next slide"
188208 data-carousel-next
189209 >
0 commit comments