mitsy0_0
I am trying to use pink design's dark mode in my react app, but its not working I followed these steps:
npm install "@appwrite.io/pink"
- Added this at top of my js file
import "@appwrite.io/pink";
import "@appwrite.io/pink-icons";
- 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
I think its working, the dark text becomes white, but the background remains white👀
Drake
You might want to apply the class to the HTML tag
Drake
Or body
Drake
mitsy0_0
works thanks
Recommended threads
- Appwriter Linux Key Bindings
Any tips for configuring appwriter for ubuntu? Actually the keybindings are tightly binded to either windows or mac. Working well on windows but in ubuntu some ...
- Admin Impersonating Clients?
I have a client that needs to use the admin User, to impersonate the Clients in order to debug better the App and the services that they are providing, could yo...
- create project api-rest
Hello good afternoon, I'm developing a project where I need to create a project by apirest, but I'm stuck with this "projects.read" permission, can I change my ...