Skip to content

Commit 3c6caa3

Browse files
fix(mobile): keep radio selection visible across themes
1 parent e1b95b6 commit 3c6caa3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎apps/mobile/src/components/MaterialRadioIndicator.android.tsx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ export function MaterialRadioIndicator({ selected }: { readonly selected: boolea
2222
height: 20,
2323
borderRadius: 10,
2424
borderWidth: 2,
25-
borderColor: themeVariables[selected ? "--color-primary" : "--color-foreground-muted"],
25+
borderColor:
26+
themeVariables[selected ? "--color-primary-text" : "--color-foreground-muted"],
2627
alignItems: "center",
2728
justifyContent: "center",
2829
}}
@@ -33,7 +34,7 @@ export function MaterialRadioIndicator({ selected }: { readonly selected: boolea
3334
width: 10,
3435
height: 10,
3536
borderRadius: 5,
36-
backgroundColor: themeVariables["--color-primary"],
37+
backgroundColor: themeVariables["--color-primary-text"],
3738
}}
3839
/>
3940
) : null}

0 commit comments

Comments
 (0)