@@ -10,40 +10,40 @@ export const modal = tv({
1010 footer : 'flex items-center p-4 md:p-5 space-x-3 rtl:space-x-reverse rounded-b-lg' ,
1111 body : 'p-4 md:p-5 space-y-4 flex-1 overflow-y-auto overscroll-contain' ,
1212 closeBtn : 'absolute top-3 end-2.5' ,
13- h3 :'text-xl font-semibold text-gray-900 dark:text-white p-0'
13+ h3 : 'text-xl font-semibold text-gray-900 dark:text-white p-0'
1414 } ,
1515 variants : {
1616 // position: {
1717 // fixed: { base: 'fixed' },
1818 // absolute: { base: 'absolute' }
1919 // },
2020 position : {
21- 'top-left' : { base : 'justify-start items-start' } ,
22- 'top-center' : { base : 'justify-center items-start' } ,
23- 'top-right' : { base : 'justify-end items-start' } ,
24- 'center-left' : { base : 'justify-start items-center' } ,
25- ' center' : { base : 'justify-center items-center' } ,
26- 'center-right' : { base : 'justify-end items-center' } ,
27- 'bottom-left' : { base : 'justify-start items-end' } ,
28- 'bottom-center' : { base : 'justify-center items-end' } ,
29- 'bottom-right' : { base : 'justify-end items-end' } ,
30- ' default' : { base : 'justify-center items-center' }
21+ 'top-left' : { base : 'justify-start items-start' } ,
22+ 'top-center' : { base : 'justify-center items-start' } ,
23+ 'top-right' : { base : 'justify-end items-start' } ,
24+ 'center-left' : { base : 'justify-start items-center' } ,
25+ center : { base : 'justify-center items-center' } ,
26+ 'center-right' : { base : 'justify-end items-center' } ,
27+ 'bottom-left' : { base : 'justify-start items-end' } ,
28+ 'bottom-center' : { base : 'justify-center items-end' } ,
29+ 'bottom-right' : { base : 'justify-end items-end' } ,
30+ default : { base : 'justify-center items-center' }
3131 } ,
3232 size : {
3333 xs : { div : 'max-w-md' } ,
3434 sm : { div : 'max-w-lg' } ,
3535 md : { div : 'max-w-2xl' } ,
3636 lg : { div : 'max-w-4xl' } ,
37- xl : { div : 'max-w-7xl' } ,
37+ xl : { div : 'max-w-7xl' }
3838 } ,
3939 backdrop : {
4040 true : { backdrop : 'bg-gray-900 bg-opacity-75' }
4141 } ,
4242 rounded : {
43- true : { content : 'rounded' } ,
43+ true : { content : 'rounded' }
4444 } ,
4545 shadow : {
4646 true : { content : 'shadow-md' }
4747 }
48- } ,
49- } )
48+ }
49+ } ) ;
0 commit comments