Giter Club home page Giter Club logo

Comments (6)

ElenaBitire avatar ElenaBitire commented on September 16, 2024 1

What tailwindcss version do you have? In case you have a different version than 3.3.2 (the one we have on the template), then changing the darkMode: 'class' to darkMode: 'media' in the tailwind.config.js file should solve this issue on mobile, while on web isn't going to work as expected.

from react-native-template-obytes.

Hessuew avatar Hessuew commented on September 16, 2024

I think I'm on the latest version and noticed the same. I just added the theme button from the settings screen to test it in my new home screen and find out every text and button remained white while the background turned white.

Btw thank you for the super great starter/template. I have tested some and I think this is the best. Specifically the workflow + husky section is super nice. Keep up the good work 😄👍💯🥇

from react-native-template-obytes.

tlebeitsuk avatar tlebeitsuk commented on September 16, 2024

Same here.

from react-native-template-obytes.

MohammadHarisZia avatar MohammadHarisZia commented on September 16, 2024

Hey @ElenaBitire thank you so much for bringing this up! It was the tailwind version issue. For everyone else getting this issue kindly downgrade your tailwind CSS to 3.3.2 from whatever version you are using and you will be good to go using the darkMode: class in tailwind config.

from react-native-template-obytes.

minhdangoz avatar minhdangoz commented on September 16, 2024

What tailwindcss version do you have? In case you have a different version than 3.3.2 (the one we have on the template), then changing the darkMode: 'class' to darkMode: 'media' in the tailwind.config.js file should solve this issue on mobile, while on web isn't going to work as expected.

Thanks, it solved my problem

from react-native-template-obytes.

Hessuew avatar Hessuew commented on September 16, 2024

Yes, ensuring that the version is 3.3.2, not any above, solved the problem for me also.

Thank you very much.

from react-native-template-obytes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.