Custom Colors Problems in React JS #1920
Unanswered
tonyzheng01
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have been trying to add customize the color in my React app, and have run into multiple problems.
Here's some of my code:
I originally setup my React app following this tutorial using npm but that would not work. When I follow this tutorial using yarn, some custom colors are applying correctly.
Only custom text colors are applying, not bg colors.
Custom text color only applies if it's a React element. It doesn't work in a plain HTML tag.
I.E.
Thank you to anybody who can help enlighten me. :)
Beta Was this translation helpful? Give feedback.
All reactions