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.I think its working, the dark text becomes white, but the background remains white👀
You might want to apply the class to the HTML tag
Or body
works thanks
Recommended threads
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, it’s mention that only setup client with endpoint / api key is enou...
- Create a project via REST API or SDK, mi...
I am currently self-hosting Appwrite in my local machine, deployed using docker script in the website. I also installed `appwrite-cli` through npm. I am trying...
- Attach Dart debugger for locally deploye...
Hello there, I was wondering if it is possible to attach debugger to dart function, that I run locally. It would make development much easier :-). Thank you.