0

I am just starting a React project and is required to create a css using typescript by referring to the color palette diagram below. When creating the theme using createMuiTheme, I noticed that there were multiple possible conditions for each color set, which means that I have to create multiple theme for each of the set ? Since I am new to React and TypeScript, I am quite confused on implementing different opacity and text color on different color set, thus would like to get a solution to simplify the whole thing.

enter image description here

1 Answer 1

1

Use Styled-components for styling. Learn ts with react how to use it. Hope this will help you

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.