@@ -173,6 +173,13 @@ type themeBasedStyleObj = {
173
173
shadowColor : string ,
174
174
shadowIntensity : float ,
175
175
primaryButtonHeight : float ,
176
+ disclaimerBackgroundColor : string ,
177
+ disclaimerTextColor : string ,
178
+ instructionalTextColor : string ,
179
+ poweredByTextColor : string ,
180
+ detailsViewTextKeyColor : string ,
181
+ detailsViewTextValueColor : string ,
182
+ silverBorderColor :string ,
176
183
}
177
184
178
185
let darkRecord = {
@@ -251,6 +258,13 @@ let darkRecord = {
251
258
normalTextInputBoderColor : "rgba(204, 210, 226, 0.75)" ,
252
259
shadowColor : "black" ,
253
260
shadowIntensity : 2 .,
261
+ disclaimerBackgroundColor : "#FDF3E0" ,
262
+ disclaimerTextColor : "#D57F0C" ,
263
+ instructionalTextColor : "#999999" ,
264
+ poweredByTextColor : "#111111" ,
265
+ detailsViewTextKeyColor : "#999999" ,
266
+ detailsViewTextValueColor : "#333333" ,
267
+ silverBorderColor :"#CCCCCC" ,
254
268
}
255
269
let lightRecord = {
256
270
primaryButtonHeight : 45 .,
@@ -328,6 +342,13 @@ let lightRecord = {
328
342
normalTextInputBoderColor : "rgba(204, 210, 226, 0.75)" ,
329
343
shadowColor : "black" ,
330
344
shadowIntensity : 2 .,
345
+ disclaimerBackgroundColor : "#FDF3E0" ,
346
+ disclaimerTextColor : "#D57F0C" ,
347
+ instructionalTextColor : "#999999" ,
348
+ poweredByTextColor : "#111111" ,
349
+ detailsViewTextKeyColor : "#999999" ,
350
+ detailsViewTextValueColor : "#333333" ,
351
+ silverBorderColor :"#CCCCCC" ,
331
352
}
332
353
333
354
let minimal = {
@@ -406,6 +427,13 @@ let minimal = {
406
427
normalTextInputBoderColor : "rgba(204, 210, 226, 0.75)" ,
407
428
shadowColor : "black" ,
408
429
shadowIntensity : 3 .,
430
+ disclaimerBackgroundColor : "#FDF3E0" ,
431
+ disclaimerTextColor : "#D57F0C" ,
432
+ instructionalTextColor : "#999999" ,
433
+ poweredByTextColor : "#111111" ,
434
+ detailsViewTextKeyColor : "#999999" ,
435
+ detailsViewTextValueColor : "#333333" ,
436
+ silverBorderColor :"#CCCCCC" ,
409
437
}
410
438
411
439
let flatMinimal = {
@@ -484,6 +512,13 @@ let flatMinimal = {
484
512
normalTextInputBoderColor : "rgba(204, 210, 226, 0.75)" ,
485
513
shadowColor : "black" ,
486
514
shadowIntensity : 3 .,
515
+ disclaimerBackgroundColor : "#FDF3E0" ,
516
+ disclaimerTextColor : "#D57F0C" ,
517
+ instructionalTextColor : "#999999" ,
518
+ poweredByTextColor : "#111111" ,
519
+ detailsViewTextKeyColor : "#999999" ,
520
+ detailsViewTextValueColor : "#333333" ,
521
+ silverBorderColor :"#CCCCCC" ,
487
522
}
488
523
489
524
let some = (~override , ~fn , ~default ) => {
@@ -870,6 +905,13 @@ let itemToObj = (
870
905
~defaultProp = themeObj .shadowIntensity ,
871
906
),
872
907
paymentSheetOverlay : themeObj .paymentSheetOverlay ,
908
+ disclaimerBackgroundColor : themeObj .disclaimerBackgroundColor ,
909
+ disclaimerTextColor : themeObj .disclaimerTextColor ,
910
+ instructionalTextColor : themeObj .instructionalTextColor ,
911
+ poweredByTextColor : themeObj .poweredByTextColor ,
912
+ detailsViewTextKeyColor : themeObj .detailsViewTextKeyColor ,
913
+ detailsViewTextValueColor : themeObj .detailsViewTextValueColor ,
914
+ silverBorderColor :themeObj .silverBorderColor ,
873
915
}
874
916
}
875
917
0 commit comments