Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to use secondary color in material ui useStyle

import { makeStyles } from '@material-ui/core/';
import { Typography } from '@material-ui/core';

const useStyles = makeStyles(theme => ({
      number: {
        color: theme.palette.secondary.main
      }
    }));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #secondary #color #material #ui #useStyle
ADD COMMENT
Topic
Name
4+7 =