How to use the @material-ui/system.palette function in @material-ui/system

To help you get started, we’ve selected a few @material-ui/system examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mui-org / material-ui / packages / material-ui-benchmark / src / server.js View on Github external
function renderPalette(req, res) {
  for (let i = 0; i < 10000; i += 1) {
    palette({
      theme: {},
      bgColor: ['blue', 'red'],
    });
  }

  res.send(renderFullPage('hello', ''));
}

@material-ui/system

Material-UI System - Design system for Material-UI.

MIT
Latest version published 2 years ago

Package Health Score

85 / 100
Full package analysis