@@ -24,7 +24,7 @@ interface RadioGroupOptions {
24
24
25
25
export function renderHeader ( title : string , others : TextProps ) {
26
26
return (
27
- < Text text30 grey10 { ...others } >
27
+ < Text text30 $textDefault { ...others } >
28
28
{ title }
29
29
</ Text >
30
30
) ;
@@ -35,7 +35,7 @@ export function renderBooleanOption(title: string, key: string) {
35
35
const value = this . state [ key ] ;
36
36
return (
37
37
< View row centerV spread marginB-s4 key = { key } >
38
- < Text flex > { title } </ Text >
38
+ < Text $textDefault flex > { title } </ Text >
39
39
< Switch
40
40
useCustomTheme
41
41
key = { key }
@@ -51,7 +51,7 @@ export function renderBooleanOption(title: string, key: string) {
51
51
export function renderBooleanGroup ( title : string , options : string [ ] ) {
52
52
return (
53
53
< View marginB-s2 >
54
- < Text text70M marginB-s2 >
54
+ < Text text70M $textDefault marginB-s2 >
55
55
{ title }
56
56
</ Text >
57
57
< View row style = { styles . rowWrap } >
@@ -69,7 +69,7 @@ export function renderBooleanGroup(title: string, options: string[]) {
69
69
// @ts -ignore
70
70
onValueChange = { value => this . setState ( { [ key ] : value } ) }
71
71
/>
72
- < Text text70 marginR-s3 marginB-s2 >
72
+ < Text text70 marginR-s3 $textDefault marginB-s2 >
73
73
{ key }
74
74
</ Text >
75
75
</ View >
@@ -89,7 +89,7 @@ export function renderRadioGroup(title: string,
89
89
return (
90
90
< View marginB-s2 >
91
91
{ ! _ . isUndefined ( title ) && (
92
- < Text text70M marginB-s2 >
92
+ < Text text70M $textDefault marginB-s2 >
93
93
{ title }
94
94
</ Text >
95
95
) }
@@ -125,7 +125,7 @@ export function renderColorOption(title: string,
125
125
const value = this . state [ key ] ;
126
126
return (
127
127
< View marginV-s2 >
128
- < Text text70M > { title } </ Text >
128
+ < Text text70M $textDefault > { title } </ Text >
129
129
< ColorPalette
130
130
value = { value }
131
131
colors = { colors }
@@ -143,7 +143,7 @@ export function renderSliderOption(title: string,
143
143
const value = this . state [ key ] || initial ;
144
144
return (
145
145
< View marginV-s2 >
146
- < Text marginB-s1 text70M >
146
+ < Text marginB-s1 text70M $textDefault >
147
147
{ title }
148
148
</ Text >
149
149
< View row centerV >
@@ -157,7 +157,7 @@ export function renderSliderOption(title: string,
157
157
// @ts -ignore
158
158
onValueChange = { value => this . setState ( { [ key ] : value } ) }
159
159
/>
160
- < Text marginL-s4 text70 style = { styles . text } >
160
+ < Text marginL-s4 text70 $textDefault style = { styles . text } >
161
161
{ sliderText }
162
162
{ value }
163
163
</ Text >
@@ -173,7 +173,7 @@ export function renderMultipleSegmentOptions(title: string, key: string, options
173
173
174
174
return (
175
175
< View row centerV spread marginB-s4 key = { key } >
176
- { ! ! title && < Text marginR-s2 > { title } </ Text > }
176
+ { ! ! title && < Text $textDefault marginR-s2 > { title } </ Text > }
177
177
< SegmentedControl
178
178
initialIndex = { index }
179
179
segments = { options }
0 commit comments