@@ -47,12 +47,23 @@ const bodyDarkThemeStyles = css({
47
47
color : palette . gray . light2 ,
48
48
} ) ;
49
49
50
- const disclaimerStyles = css ( {
51
- color : palette . gray . dark1 ,
50
+ const disclaimerStylesCommon = {
52
51
marginTop : spacing [ 400 ] ,
53
52
marginLeft : spacing [ 800 ] ,
54
53
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
+ } ;
56
67
57
68
const bannerStyles = css ( {
58
69
width : '480px' ,
@@ -203,13 +214,14 @@ export const AIOptInModal: React.FunctionComponent<OptInModalProps> = ({
203
214
onLinkClick = { onOptInModalClose }
204
215
graphic = { < AiImageBanner /> }
205
216
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{ ' ' }
209
220
< Link hideExternalIcon = { false } href = { GEN_AI_FAQ_LINK } target = "_blank" >
210
221
FAQ
211
222
</ Link > { ' ' }
212
- for more information.
223
+ for more information. Continue to opt into all AI-powered features
224
+ within { isCloudOptIn ? 'Data Explorer' : 'Compass' } .
213
225
</ div >
214
226
}
215
227
>
0 commit comments