File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
dotcom-rendering/src/components/marketing/shared Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,6 @@ const benefitsLabelStyles = (customColor?: string) => css`
5858 }
5959` ;
6060
61- const labelOverrideStyles = ( isSelected : boolean ) => css `
62- + label div {
63- ${ isSelected ? 'font-weight: bold;' : '' }
64- s {
65- font- weight: normal;
66- }
67- }
68- ` ;
69-
7061const supportingTextStyles = css `
7162 margin- to p: ${ space [ 4 ] } px;
7263` ;
@@ -166,6 +157,18 @@ export const ThreeTierChoiceCards = ({
166157 : `6px ${ space [ 5 ] } px` } ;
167158 ` ;
168159
160+ const labelOverrideStyles = ( isSelected : boolean ) => css `
161+ + label div {
162+ ${ isSelected ? 'font-weight: bold;' : '' }
163+ color : ${ isSelected
164+ ? choiceCardSettings ?. buttonSelectTextColour ?? 'inherit'
165+ : choiceCardSettings ?. buttonTextColour ?? 'inherit' } ;
166+ s {
167+ font- weight: normal;
168+ }
169+ }
170+ ` ;
171+
169172 const customRadioTheme : ThemeRadio = {
170173 ...themeRadio ,
171174 borderSelected :
You can’t perform that action at this time.
0 commit comments