@material-ui/core/colors#indigo TypeScript Examples

The following examples show how to use @material-ui/core/colors#indigo. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: styles.ts    From DamnVulnerableCryptoApp with MIT License 6 votes vote down vote up
useStyles = makeStyles({
  container: {
    backgroundColor: grey[200]
  },
  coupons: {
    padding: '20px'
  },
  coupon: {
    padding: '20px'
  },
  logo: {
    maxWidth: '200px'
  },

  couponIcon: {
    fontSize: 100,
    color: indigo[500]
  },
  congrats: {
    marginBottom: '10px',
    backgroundColor: indigo[500],
    color: '#FFF',
    padding: '30px'
  },

  form: {
    display: 'flex',
  },
  couponInput: {
    paddingLeft: '20px',
  }
})
Example #2
Source File: theme.tsx    From covid19testing-map with GNU General Public License v3.0 6 votes vote down vote up
theme = createMuiTheme({
  palette: {
    primary: {
      main: indigo[900],
      light: '#7c42bd',
      dark: '#12005e',
      contrastText: '#ffffff',
    },
    secondary: {
      main: '#ace520',
      light: '#e2ff5e',
      dark: '#77b300',
      contrastText: '#4a148c',
    },
    warning: {
      main: '#ff9800',
      light: '#ffb74d',
      dark: '#f57c00',
      contrastText: '#4a148c',
    }
  },
})
Example #3
Source File: useTheme.tsx    From shadowsocks-electron with GNU General Public License v3.0 6 votes vote down vote up
themes = {
  light: createTheme({
    spacing: 8,
    palette: {
      primary: {
        main: indigo[500],
        light: indigo[400],
      },
      secondary: {
        main: grey[300]
      },
      background: {
        paper: "#fff",
        default: "#fafafa"
      },
    }
  }),
  dark: createTheme({
    spacing: 8,
    palette: {
      type: "dark",
      primary: {
        main: indigo[300],
        light: indigo[300],
      },
      secondary: {
        main: grey[800],
        dark: grey[900]
      },
      background: {
        default: '#424242',
        paper: grey[900],
      },
    }
  })
}
Example #4
Source File: AdrStatusChip.tsx    From log4brains with Apache License 2.0 6 votes vote down vote up
useStyles = makeStyles((theme: Theme) =>
  createStyles({
    root: {
      fontSize: "0.74rem",
      fontWeight: theme.typography.fontWeightMedium,
      height: "18px",
      verticalAlign: "text-bottom"
    },
    label: {
      padding: "0 6px"
    },
    draft: {
      color: grey[800]
    },
    proposed: {
      color: indigo[800]
    },
    rejected: {
      color: deepOrange[800]
    },
    accepted: {
      color: lightGreen[800]
    },
    deprecated: {
      color: brown[600]
    },
    superseded: {
      color: brown[600]
    }
  })
)