@@ -40,7 +40,13 @@ import { DesignableBannerCloseButton } from './components/DesignableBannerCloseB
4040import { DesignableBannerCtas } from './components/DesignableBannerCtas' ;
4141import { DesignableBannerHeader } from './components/DesignableBannerHeader' ;
4242import { DesignableBannerVisual } from './components/DesignableBannerVisual' ;
43- import type { BannerTemplateSettings , ChoiceCardSettings } from './settings' ;
43+ import type {
44+ BannerTemplateSettings ,
45+ ChoiceCardSettings ,
46+ CtaSettings ,
47+ CtaStateSettings ,
48+ } from './settings' ;
49+ import { buttonThemes } from './styles/buttonStyles' ;
4450import { templateSpacing } from './styles/templateStyles' ;
4551
4652const buildImageSettings = (
@@ -188,6 +194,15 @@ const DesignableBanner: ReactComponent<BannerRenderProps> = ({
188194 ? 'main-image'
189195 : '.' ;
190196
197+ // TODO: I assume we're planning on making this adjustable in RRCP in future.
198+ const choiceCardButtonCtaStateSettings : CtaStateSettings = {
199+ backgroundColour : '#FFE500' , // ${palette.brandAlt[400]},
200+ textColour : 'inherit' ,
201+ } ;
202+ const choiceCardButtonSettings : CtaSettings = {
203+ default : choiceCardButtonCtaStateSettings ,
204+ } ;
205+
191206 const templateSettings : BannerTemplateSettings = {
192207 containerSettings : {
193208 backgroundColour : hexColourToString ( basic . background ) ,
@@ -428,6 +443,9 @@ const DesignableBanner: ReactComponent<BannerRenderProps> = ({
428443 onClick = { onCtaClick }
429444 priority = "tertiary"
430445 cssOverrides = { styles . linkButtonStyles }
446+ theme = { buttonThemes (
447+ choiceCardButtonSettings ,
448+ ) }
431449 icon = { < SvgArrowRightStraight /> }
432450 iconSide = "right"
433451 target = "_blank"
0 commit comments