@@ -184,7 +184,7 @@ export const WithTileSlider: Story = {
184184 } ,
185185}
186186
187- export const ProfessionalStyled : Story = {
187+ export const CustomStyles : Story = {
188188 args : {
189189 nextBtnLabel : '→' ,
190190 prevBtnLabel : '←' ,
@@ -194,22 +194,22 @@ export const ProfessionalStyled: Story = {
194194 display : 'block' ,
195195 width : '600px' ,
196196 border : 'none' ,
197- borderRadius : '16px ' ,
197+ borderRadius : '20px ' ,
198198 overflow : 'hidden' ,
199- boxShadow : '0 20px 40px rgba(0,0,0,0.3 )' ,
200- background : 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)' ,
199+ boxShadow : '0 25px 50px rgba(0,0,0,0.15), 0 10px 30px rgba(0,0,0,0.1 )' ,
200+ background : 'linear-gradient(135deg, #6b7280 0%, #9ca3af 100%)' ,
201201 position : 'relative' ,
202202
203- // BoxSlider control styling with correct CSS custom properties
204- '--bs-button-bar-gap' : '20px ' ,
203+ // BoxSlider control styling with supported CSS custom properties
204+ '--bs-button-bar-gap' : '16px ' ,
205205
206- // Control buttons styling with SVG icons
207- '--bs-btn-background-color' : 'rgba(0, 0, 0 , 0.7 )' ,
208- '--bs-btn-hover-background-color' : 'rgba(0, 0, 0 , 0.9 )' ,
206+ // Control buttons styling
207+ '--bs-btn-background-color' : 'rgba(255, 255, 255 , 0.2 )' ,
208+ '--bs-btn-hover-background-color' : 'rgba(255, 255, 255 , 0.3 )' ,
209209 '--bs-btn-border-radius' : '50%' ,
210- '--bs-btn-size' : '52px ' ,
210+ '--bs-btn-size' : '44px ' ,
211211
212- // Custom SVG icons for control buttons
212+ // Custom SVG icons for control buttons with better styling
213213 '--bs-next-icon' : `url("data:image/svg+xml,${ encodeURIComponent ( `
214214 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
215215 <path d="M9 18L15 12L9 6" stroke="white" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
@@ -222,41 +222,45 @@ export const ProfessionalStyled: Story = {
222222 </svg>
223223 ` ) } ")`,
224224
225- '--play-icon' : `url("data:image/svg+xml,${ encodeURIComponent ( `
225+ '--bs- play-icon' : `url("data:image/svg+xml,${ encodeURIComponent ( `
226226 <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none">
227227 <path d="M8 5V19L19 12L8 5Z" fill="white" stroke="white" stroke-width="1" stroke-linejoin="round"/>
228228 </svg>
229229 ` ) } ")`,
230230
231- '--pause-icon' : `url("data:image/svg+xml,${ encodeURIComponent ( `
231+ '--bs- pause-icon' : `url("data:image/svg+xml,${ encodeURIComponent ( `
232232 <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none">
233233 <rect x="6" y="4" width="4" height="16" fill="white"/>
234234 <rect x="14" y="4" width="4" height="16" fill="white"/>
235235 </svg>
236236 ` ) } ")`,
237237
238- // Index button styling - elegant pill design
239- '--bs-index-btn-color' : 'rgba(255, 255, 255, 0.4 )' ,
240- '--bs-index-btn-hover-color' : 'rgba(255, 255, 255, 0.7 )' ,
238+ // Index button styling
239+ '--bs-index-btn-color' : 'rgba(255, 255, 255, 0.3 )' ,
240+ '--bs-index-btn-hover-color' : 'rgba(255, 255, 255, 0.6 )' ,
241241 '--bs-index-btn-active-color' : '#ffffff' ,
242- '--bs-index-btn-size' : '12px ' ,
242+ '--bs-index-btn-size' : '14px ' ,
243243 } ,
244244 } ,
245- render : function ProfessionalStyledRender ( args ) {
245+ render : function CustomStylesRender ( args ) {
246246 return (
247247 < div
248248 style = { {
249- background : '#f8f9fa' ,
250- padding : '40px' ,
251- borderRadius : '12px' ,
249+ background : 'linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%)' ,
250+ padding : '60px' ,
251+ borderRadius : '20px' ,
252+ display : 'flex' ,
253+ justifyContent : 'center' ,
254+ alignItems : 'center' ,
255+ minHeight : '500px' ,
252256 } } >
253257 < SliderControls { ...args } >
254258 < CarouselSlider
255259 speed = { 700 }
256260 timeout = { 4000 }
257261 pauseOnHover
258262 swipe
259- style = { { display : 'block' , width : '100%' , height : '300px ' } } >
263+ style = { { display : 'block' , width : '100%' , height : '350px ' } } >
260264 { slideData . map ( ( slide , index ) => createSlide ( slide , index ) ) }
261265 </ CarouselSlider >
262266 </ SliderControls >
0 commit comments