File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,14 @@ export class ClassnamesGenerator {
160
160
} ;
161
161
162
162
private tables = ( ) : Tables => {
163
- return nonConfigurableClassNames . tables ;
163
+ return {
164
+ ...nonConfigurableClassNames . tables ,
165
+ borderSpacing : [ '' , '-x' , '-y' ] . flatMap ( side => {
166
+ return Object . keys (
167
+ _ . isEmpty ( this . _theme . borderSpacing ) ? this . _theme . spacing : this . _theme . borderSpacing ,
168
+ ) . map ( value => `border-spacing${ side } -${ value } ` ) ;
169
+ } ) ,
170
+ } ;
164
171
} ;
165
172
166
173
private effects = ( ) : Effects => {
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ type TSpacingCategoryItem = 'padding' | 'margin' | 'space';
179
179
180
180
type TSVGCategoryItem = 'fill' | 'stroke' | 'strokeWidth' ;
181
181
182
- type TTablesCategoryItem = 'borderCollapse' | 'tableLayout' ;
182
+ type TTablesCategoryItem = 'borderCollapse' | 'tableLayout' | 'borderSpacing' ;
183
183
184
184
type TTransformsCategoryItem = 'scale' | 'rotate' | 'translate' | 'skew' | 'transformOrigin' ;
185
185
You can’t perform that action at this time.
0 commit comments