@@ -9,16 +9,16 @@ import Button from '../button';
9
9
import { Colors } from '../../style' ;
10
10
import { Constants } from '../../helpers' ;
11
11
import { HighlighterOverlayView } from '../../nativeComponents' ;
12
+ import Typography from '../../style/typography' ;
12
13
13
14
const defaultOverlayColor = Colors . rgba ( Colors . black , 0.82 ) ;
14
15
const defaultTextColor = Colors . white ;
15
16
const defaultStrokeColor = Colors . rgba ( Colors . white , 0.12 ) ;
16
17
const defaultStrokeWidth = 12 ;
17
- const contentViewPadding = Constants . isIOS ? 35 : 32 ;
18
+ const contentViewPadding = 32 ;
18
19
const contentViewRightMargin = Constants . isIOS ? 45 : 46 ;
19
- const titleBottomMargin = Constants . isIOS ? 15 : 12 ;
20
- const messageBottomMargin = Constants . isIOS ? 30 : 24 ;
21
- const titleLineHeight = Constants . isAndroid ? 26 : 24 ;
20
+ const titleBottomMargin = 12 ;
21
+ const messageBottomMargin = 24 ;
22
22
const messageLineHeight = 22 ;
23
23
const defaultButtonLabel = 'Got it' ;
24
24
const contentViewHeight = Constants . isAndroid ? 268 : 282 ;
@@ -242,7 +242,8 @@ class FeatureHighlight extends BaseComponent {
242
242
) }
243
243
< Button
244
244
label = { defaultButtonLabel }
245
- size = "small"
245
+ size = "medium"
246
+ labelStyle = { { ...Typography . text80 , fontWeight : '700' } }
246
247
outline
247
248
outlineColor = { color }
248
249
activeBackgroundColor = { Colors . rgba ( color , 0.3 ) }
@@ -289,13 +290,14 @@ const styles = StyleSheet.create({
289
290
alignItems : 'flex-start' ,
290
291
} ,
291
292
title : {
292
- fontWeight : '500' ,
293
293
marginBottom : titleBottomMargin ,
294
- lineHeight : titleLineHeight ,
294
+ lineHeight : Typography . text60 . lineHeight ,
295
+ fontWeight : '900' ,
295
296
} ,
296
297
message : {
297
298
marginBottom : messageBottomMargin ,
298
299
lineHeight : messageLineHeight ,
300
+ ...Typography . text70 ,
299
301
} ,
300
302
touchableOverlay : {
301
303
...StyleSheet . absoluteFillObject ,
0 commit comments