logo
Search
showing results for - "how to use secondary color in material ui usestyle"
Ingrid
28 Mar 2016
1import { makeStyles } from '@material-ui/core/';
2import { Typography } from '@material-ui/core';
3
4const useStyles = makeStyles(theme => ({
5      number: {
6        color: theme.palette.secondary.main
7      }
8    }));
9
source
similar questions
material ui color backgroundreact material ui classnameadding two jss style in material ui styelehow to pass variables to makestylescoreui react change background color
queries leading to this page
material ui makestyles background colormaterial ui usestyles color errorusing material ui palette colors in createstylematerial ui makestyles background color of wholematerial ui custom color how to add color props value in makestyles 40material ui 2fcore 2fstyles alternat colorschanging text color in react with usestylesmakestyles change background colorhow to use secondary color in material ui usestylematerial ui makestyles background color of whilecolor property in usestyles reacthow to pass props color to makestyle using muimui makestyles theme colorsset background color material ui primary and secondary stylesmaterial ui custom colors withstylehow to use different color material uihow to use material ui colors in stylesmaterial ui usestyles background colormakestyles color stylesmaterial ui makestyles colorhow to use secondary color in material ui usestyle
privacy policyterms of useinstagram
Crafted with  ♥  for everyone

sign in to continue
your answer for
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
sign in to continue
ask question on maxinterview
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content
please be clear, to the point and respectful
sign in to continue