Socket
Socket
Sign inDemoInstall

@tedconf/monterey

Package Overview
Dependencies
Maintainers
9
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tedconf/monterey

![Monterey](/src/components/branding/monterey-logo.svg)


Version published
Weekly downloads
11
increased by22.22%
Maintainers
9
Weekly downloads
 
Created
Source

Monterey

Made with Monterey Storybook Playground

Install

yarn add @tedconf/monterey
npx installPeerdeps @tedconf/monterey

In your app root, wrap it in Monterey's theme provider, which gives all components inside of it access to the design tokens:

import { Monterey } from '@tedconf/monterey';

const App = () => <Monterey>{'…your app content'}</Monterey>;

Components

Notes

If you need them, you can access token values in other ways:

/** @jsx jsx */
import { jsx } from '@emotion/core';
import { sx, useTheme } from '@tedconf/monterey';

const CustomThing = () => {
  const theme = useTheme();
  return (
    <React.Fragment>
      {theme.colors.map(color) => (
        <FancyComponent css={sx({ padding: 1, fontSize: [2, 4] })}>
          {color[0]}
        </FancyComponent>
      )}
    </React.Fragment>
  )
};

FAQs

Package last updated on 08 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc