@@ -109,16 +109,26 @@ export function resolveProps(props) {
109109 'm' , 'mx' , 'my' , 'mt' , 'mb' , 'ml' , 'mr' ,
110110 'p' , 'px' , 'py' , 'pt' , 'pb' , 'pl' , 'pr' ,
111111 'margin' , 'padding' ,
112- // Sizing shortcuts
112+
113+ // Sizing
113114 'w' , 'h' , 'minW' , 'minH' , 'maxW' , 'maxH' ,
115+ 'width' , 'height' , 'minWidth' , 'minHeight' , 'maxWidth' , 'maxHeight' ,
116+
114117 // Display
115118 'display' , 'flex' , 'flexDir' , 'gap' , 'align' , 'justify' ,
119+
120+ // Typography
121+ 'fontSize' , 'fontWeight' , 'textAlign' ,
122+
116123 // Borders & Radius
117124 'radius' , 'borderRadius' , 'borderWidth' , 'borderColor' , 'borderStyle' ,
125+
118126 // Backgrounds & Colors
119127 'bg' , 'color' , 'shadow' ,
128+
120129 // Interactions
121130 'hover' , 'focus' , 'active' ,
131+
122132 // Other
123133 'zIndex' , 'opacity' , 'overflow' , 'position'
124134 ] ) ;
@@ -178,6 +188,36 @@ export function resolveProps(props) {
178188 else if ( key === 'maxH' && value !== undefined ) {
179189 styles [ 'max-height' ] = formatValue ( value ) ;
180190 }
191+ else if ( key === 'width' && value !== undefined ) {
192+ styles [ 'width' ] = formatValue ( value ) ;
193+ }
194+ else if ( key === 'height' && value !== undefined ) {
195+ styles [ 'height' ] = formatValue ( value ) ;
196+ }
197+ else if ( key === 'minWidth' && value !== undefined ) {
198+ styles [ 'min-width' ] = formatValue ( value ) ;
199+ }
200+ else if ( key === 'minHeight' && value !== undefined ) {
201+ styles [ 'min-height' ] = formatValue ( value ) ;
202+ }
203+ else if ( key === 'maxWidth' && value !== undefined ) {
204+ styles [ 'max-width' ] = formatValue ( value ) ;
205+ }
206+ else if ( key === 'maxHeight' && value !== undefined ) {
207+ styles [ 'max-height' ] = formatValue ( value ) ;
208+ }
209+ else if ( key === 'min-width' && value !== undefined ) {
210+ styles [ 'min-width' ] = formatValue ( value ) ;
211+ }
212+ else if ( key === 'min-height' && value !== undefined ) {
213+ styles [ 'min-height' ] = formatValue ( value ) ;
214+ }
215+ else if ( key === 'max-width' && value !== undefined ) {
216+ styles [ 'max-width' ] = formatValue ( value ) ;
217+ }
218+ else if ( key === 'max-height' && value !== undefined ) {
219+ styles [ 'max-height' ] = formatValue ( value ) ;
220+ }
181221 // Handle backgrounds and colors
182222 else if ( key === 'bg' && value !== undefined ) {
183223 styles [ 'background-color' ] = resolveToken ( value ) ;
@@ -189,6 +229,16 @@ export function resolveProps(props) {
189229 else if ( key === 'shadow' && value !== undefined ) {
190230 styles [ 'box-shadow' ] = resolveToken ( value ) ;
191231 }
232+ // Handle typography
233+ else if ( key === 'fontSize' || key === 'font-size' ) {
234+ styles [ 'font-size' ] = formatValue ( value ) ;
235+ }
236+ else if ( key === 'fontWeight' || key === 'font-weight' ) {
237+ styles [ 'font-weight' ] = value ;
238+ }
239+ else if ( key === 'textAlign' || key === 'text-align' ) {
240+ styles [ 'text-align' ] = value ;
241+ }
192242 // Handle display properties
193243 else if ( key === 'display' && value !== undefined ) {
194244 styles [ 'display' ] = value ;
0 commit comments