File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
dotcom-rendering/src/components/marketing/banners/designableBanner Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,13 @@ import { addChoiceCardsProductParams } from '../../lib/tracking';
3434import { ThreeTierChoiceCards } from '../../shared/ThreeTierChoiceCards' ;
3535import { bannerWrapper , validatedBannerWrapper } from '../common/BannerWrapper' ;
3636import type { BannerRenderProps } from '../common/types' ;
37- import type { ChoiceCardSettings } from './components/choiceCards/ChoiceCards' ;
3837import { DesignableBannerArticleCount } from './components/DesignableBannerArticleCount' ;
3938import { DesignableBannerBody } from './components/DesignableBannerBody' ;
4039import { DesignableBannerCloseButton } from './components/DesignableBannerCloseButton' ;
4140import { DesignableBannerCtas } from './components/DesignableBannerCtasV2' ;
4241import { DesignableBannerHeader } from './components/DesignableBannerHeader' ;
4342import { DesignableBannerVisual } from './components/DesignableBannerVisual' ;
44- import type { BannerTemplateSettings } from './settings' ;
43+ import type { BannerTemplateSettings , ChoiceCardSettings } from './settings' ;
4544import { templateSpacing } from './styles/templateStyles' ;
4645
4746const buildImageSettings = (
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import type { TickerSettings } from '@guardian/source-development-kitchen/react-
77import type { Image } from '@guardian/support-dotcom-components/dist/shared/types' ;
88import type { ReactNode } from 'react' ;
99import type { BannerId } from '../common/types' ;
10- import type { ChoiceCardSettings } from './components/choiceCards/ChoiceCards' ;
1110
1211export type ContainerSettings = {
1312 backgroundColour : string ;
@@ -38,6 +37,15 @@ export interface HeaderSettings {
3837 headerImage ?: Image ;
3938}
4039
40+ export interface ChoiceCardSettings {
41+ buttonColour ?: string ;
42+ buttonTextColour ?: string ;
43+ buttonBorderColour ?: string ;
44+ buttonSelectColour ?: string ;
45+ buttonSelectTextColour ?: string ;
46+ buttonSelectBorderColour ?: string ;
47+ }
48+
4149export interface BannerTemplateSettings {
4250 containerSettings : ContainerSettings ;
4351 primaryCtaSettings : CtaSettings ;
You can’t perform that action at this time.
0 commit comments