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

@ausbom/styles

Package Overview
Dependencies
Maintainers
5
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ausbom/styles

Styles is a library of components that help other components determine what styles to take by default and which ones to override using specified theme objects.

  • 0.2.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
196
increased by18.79%
Maintainers
5
Weekly downloads
 
Created
Source

@ausbom/styles

Styles is a library of components that help other components determine what styles to take by default and which ones to override using specified theme objects.

Installation

npm install @ausbom/styles

Demo

import Button from '@ausbom/button'
import { palette, ThemeProvider } from '@ausbom/styles'
import React from 'react'

const ThemeProviderDemo: React.StatelessComponent<any> = () => (
  <React.Fragment>
    <Button text='Default Color' onClick={() => {}} />
    <ThemeProvider theme={{
      button: {
        backgroundColor: palette.secondary.betaGreen
      }
    }}
    >
      <Button text='Theme Color' onClick={() => {}} />
    </ThemeProvider>
  </React.Fragment>
)

Keywords

FAQs

Package last updated on 10 Jul 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