Back

pink design in react app not working

  • 0
  • Tools
mitsy0_0
9 Jun, 2023, 02:27

I am trying to use pink design's dark mode in my react app, but its not working I followed these steps:

  1. npm install "@appwrite.io/pink"
  2. Added this at top of my js file import "@appwrite.io/pink"; import "@appwrite.io/pink-icons";
  3. added dark mode code <div className="theme-dark">
TL;DR
The user is trying to use the pink design's dark mode in their React app, but the background remains white. They have followed the steps of installing the "@appwrite.io/pink" package and importing it in their JS file. The possible solution suggested is to apply the class to the HTML tag or to the body tag.
mitsy0_0
9 Jun, 2023, 02:33

I think its working, the dark text becomes white, but the background remains white👀

Drake
9 Jun, 2023, 03:08

You might want to apply the class to the HTML tag

Drake
9 Jun, 2023, 03:08

Or body

mitsy0_0
9 Jun, 2023, 05:32

works thanks

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more