A fn to get theme & hasAdaptiveThemes #484
Replies: 2 comments
-
|
Both
You can listen to them inside react with |
Beta Was this translation helpful? Give feedback.
-
|
oh they already exists, when I searched the docs, I couldnt find it, thanks.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes we need to get
themein utils file, for that, I cant use hooks there so need a way to get the current theme likeAppearance.getColorScheme();gives. No subscribe/listener stuff, just the value of when its calledBeta Was this translation helpful? Give feedback.
All reactions