File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,14 @@ export class ClassnamesGenerator {
160160 } ;
161161
162162 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+ } ;
164171 } ;
165172
166173 private effects = ( ) : Effects => {
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ type TSpacingCategoryItem = 'padding' | 'margin' | 'space';
179179
180180type TSVGCategoryItem = 'fill' | 'stroke' | 'strokeWidth' ;
181181
182- type TTablesCategoryItem = 'borderCollapse' | 'tableLayout' ;
182+ type TTablesCategoryItem = 'borderCollapse' | 'tableLayout' | 'borderSpacing' ;
183183
184184type TTransformsCategoryItem = 'scale' | 'rotate' | 'translate' | 'skew' | 'transformOrigin' ;
185185
You can’t perform that action at this time.
0 commit comments