Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme: take in user's preference #36

Open
lukejoo opened this issue Feb 1, 2022 · 1 comment
Open

Theme: take in user's preference #36

lukejoo opened this issue Feb 1, 2022 · 1 comment
Labels
style issues about frontend style/display only
Milestone

Comments

@lukejoo
Copy link
Contributor

lukejoo commented Feb 1, 2022

No description provided.

@tymonaghan tymonaghan added this to the Tier 2️⃣ milestone Feb 1, 2022
@tymonaghan
Copy link
Contributor

from the React Native Appearance API:

You can use the Appearance module to determine if the user prefers a dark color scheme:

const colorScheme = Appearance.getColorScheme();
if (colorScheme === 'dark') {
 // Use dark color scheme
}

@tymonaghan tymonaghan added the style issues about frontend style/display only label Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
style issues about frontend style/display only
Projects
None yet
Development

No branches or pull requests

2 participants