You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,26 @@ function MergingGlassElements() {
67
67
}
68
68
```
69
69
70
+
To achieve automatic text color adaptation based on the background behind the glass view, use `PlatformColor` from `react-native`:
71
+
72
+
> [!NOTE]
73
+
> There appears to be a size limit for the glass to automatically adapt the text color. If the glass view height is >= 65 it won't automatically adapt to the material behind it.
0 commit comments