How to use the theme-ui.ThemeProvider function in theme-ui

To help you get started, we’ve selected a few theme-ui 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 system-ui / theme-ui / gatsby-plugin-theme-ui / root.js View on Github external
var wrapRootElement = function wrapRootElement(_ref) {
  var element = _ref.element,
      props = _ref.props;
  return _react.default.createElement(_themeUi.ThemeProvider, {
    theme: theme,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 9
    },
    __self: this
  }, element);
};