Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@roast-cms/react-sugar-styled

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@roast-cms/react-sugar-styled

Tools and magic numbers for styled-components theme used with roast-cms React components.

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

react-sugar-styled

GitHub version

🍬 Tools and magic numbers for styled-components theme used with roast-cms React components.

What is this?

This is a list of defaults (colours, sizes, fonts etc.) which all or most React components under roast-cms use with help from https://github.com/styled-components/styled-components.

What you will need.

This package requires styled-components.

# first you'll need the package:
yarn add @roast-cms/react-sugar-styled

How to use.

import { ThemeProvider } from "styled-components"
import { Sugar } from "../src/index"

const ThemedComponent = props =>
    <ThemeProvider theme={Sugar}>
      Whatever.
    </ThemeProvider>

Contributing

PRs and issue reports are welcome. Please submit all PRs to develop branch. To test, run yarn start

FAQs

Package last updated on 20 Feb 2018

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