File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
ui-list/src/InlineList/InlineListItem Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -711,6 +711,7 @@ export type InlineListItemTheme = {
711711 fontSizeMedium : Typography [ 'fontSizeMedium' ]
712712 fontSizeLarge : Typography [ 'fontSizeLarge' ]
713713 color : Colors [ 'contrasts' ] [ 'grey4570' ]
714+ delimiterColor : Colors [ 'contrasts' ] [ 'grey125125' ]
714715 lineHeight : Typography [ 'lineHeightCondensed' ]
715716 noneSpacing : Spacing [ 'xSmall' ]
716717 pipeSpacing : Spacing [ 'xSmall' ]
Original file line number Diff line number Diff line change @@ -136,7 +136,8 @@ const generateStyle = (
136136 ...delimiterVariants [ delimiter ! ] ,
137137 '[class$=-inlineListItem]:last-of-type > &:last-child::after' : {
138138 content : 'none'
139- }
139+ } ,
140+ color : componentTheme . delimiterColor
140141 }
141142 }
142143}
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ const generateComponentTheme = (theme: Theme): InlineListItemTheme => {
4646 fontSizeMedium : typography ?. fontSizeMedium ,
4747 fontSizeLarge : typography ?. fontSizeLarge ,
4848 color : colors ?. contrasts ?. grey4570 ,
49+ delimiterColor : colors ?. contrasts ?. grey125125 ,
4950 lineHeight : typography ?. lineHeightCondensed ,
5051 noneSpacing : spacing ?. xSmall ,
5152 pipeSpacing : spacing ?. xSmall ,
You can’t perform that action at this time.
0 commit comments