1.0.0 • Published 3 years ago

@semicolon-ui/react-emotion-theme v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@semicolondsm/react-emotion-theme

Install

yarn add @semicolondsm/react-emotion-theme

Usage

import React from "react";
import { SDSThemeProvider } from "@semicolondsm/react-emotion-theme";

<SDSThemeProvider>
  <MyComponent />
</SDSThemeProvider>;

Usage @emotion/styled

const Test = styled.div`
    color: ${(props) => props.theme.colors.blue400}
    background: ${(props) => props.theme.colors.indigo900}
`;