@@ -47,12 +47,23 @@ const bodyDarkThemeStyles = css({
4747 color : palette . gray . light2 ,
4848} ) ;
4949
50- const disclaimerStyles = css ( {
51- color : palette . gray . dark1 ,
50+ const disclaimerStylesCommon = {
5251 marginTop : spacing [ 400 ] ,
5352 marginLeft : spacing [ 800 ] ,
5453 marginRight : spacing [ 800 ] ,
55- } ) ;
54+ textAlign : 'center' ,
55+ } ;
56+
57+ const disclaimerStyles = {
58+ [ Theme . Light ] : css ( {
59+ color : palette . gray . dark1 ,
60+ ...disclaimerStylesCommon ,
61+ } ) ,
62+ [ Theme . Dark ] : css ( {
63+ color : palette . gray . light2 ,
64+ ...disclaimerStylesCommon ,
65+ } ) ,
66+ } ;
5667
5768const bannerStyles = css ( {
5869 width : '480px' ,
@@ -203,13 +214,14 @@ export const AIOptInModal: React.FunctionComponent<OptInModalProps> = ({
203214 onLinkClick = { onOptInModalClose }
204215 graphic = { < AiImageBanner /> }
205216 disclaimer = {
206- < div className = { disclaimerStyles } >
207- This is a feature powered by generative AI, and may give inaccurate
208- responses. Please see our{ ' ' }
217+ < div className = { disclaimerStyles [ darkMode ? Theme . Dark : Theme . Light ] } >
218+ Features in { isCloudOptIn ? 'Data Explorer' : 'Compass' } powered by
219+ generative AI may produce inaccurate responses. Please see our{ ' ' }
209220 < Link hideExternalIcon = { false } href = { GEN_AI_FAQ_LINK } target = "_blank" >
210221 FAQ
211222 </ Link > { ' ' }
212- for more information.
223+ for more information. Continue to opt into all AI-powered features
224+ within { isCloudOptIn ? 'Data Explorer' : 'Compass' } .
213225 </ div >
214226 }
215227 >
0 commit comments