File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
ui-radio-input/src/RadioInputGroup
ui-side-nav-bar/src/SideNavBar/SideNavBarItem Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ const generateComponentTheme = (theme: Theme): AvatarTheme => {
4646
4747 // these colors have sufficient contrast with the white background
4848 // in the normal and high contrast themes
49- color : colors ?. contrasts . blue4570 ,
49+ color : colors ?. contrasts ? .blue4570 ,
5050 colorShamrock : colors ?. contrasts ?. green4570 ,
5151 colorBarney : colors ?. contrasts ?. blue4570 ,
5252 colorCrimson : colors ?. contrasts ?. red4570 ,
Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ const generateComponentTheme = (theme: Theme): HeadingTheme => {
8585 borderWidth : borders ?. widthSmall ,
8686 borderStyle : borders ?. style ,
8787
88- aiTextTopGradientColor : colors . contrasts . violet4570 ,
89- aiTextBottomGradientColor : colors . contrasts . sea4570
88+ aiTextTopGradientColor : colors ? .contrasts ? .violet4570 ,
89+ aiTextBottomGradientColor : colors ? .contrasts ? .sea4570
9090 }
9191
9292 return {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const generateComponentTheme = (theme: Theme): RadioInputGroupTheme => {
3434 const { colors } = theme
3535
3636 const componentVariables : RadioInputGroupTheme = {
37- invalidAsteriskColor : colors . primitives . red57
37+ invalidAsteriskColor : colors ? .primitives ? .red57
3838 }
3939
4040 return {
Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ const generateComponentTheme = (theme: Theme): SideNavBarItemTheme => {
6161
6262 hoverBackgroundColor : colors ?. contrasts ?. grey125125 ,
6363 outerFocusOutline : `inset 0 0 0 0.125rem ${ colors ?. contrasts ?. grey4570 } ` ,
64- innerFocusOutline : `inset 0 0 0 0.25rem ${ colors . contrasts ?. white1010 } ` ,
64+ innerFocusOutline : `inset 0 0 0 0.25rem ${ colors ? .contrasts ?. white1010 } ` ,
6565
6666 selectedFontColor : colors ?. contrasts ?. blue4570 ,
6767 selectedIconColor : colors ?. contrasts ?. blue4570 ,
6868 selectedBackgroundColor : colors ?. contrasts ?. white1010 ,
69- selectedOuterFocusOutline : `inset 0 0 0 0.125rem ${ colors . contrasts ?. white1010 } ` ,
70- selectedInnerFocusOutline : `inset 0 0 0 0.25rem ${ colors . contrasts ?. blue4570 } ` ,
69+ selectedOuterFocusOutline : `inset 0 0 0 0.125rem ${ colors ? .contrasts ?. white1010 } ` ,
70+ selectedInnerFocusOutline : `inset 0 0 0 0.25rem ${ colors ? .contrasts ?. blue4570 } ` ,
7171
7272 contentPadding : spacing ?. xxSmall
7373 }
You can’t perform that action at this time.
0 commit comments