Socket
Socket
Sign inDemoInstall

@theme-ui/global

Package Overview
Dependencies
65
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @theme-ui/global

Wrapper around the Emotion `Global` component, made Theme UI theme-aware.


Version published
Weekly downloads
17K
decreased by-4.41%
Maintainers
4
Install size
1.46 MB
Created
Weekly downloads
 

Readme

Source

@theme-ui/global

Wrapper around the Emotion Global component, made Theme UI theme-aware.

Note: This package is included in the main theme-ui package and a separate installation is not required unless you’re using @theme-ui/core.

npm i @theme-ui/global @theme-ui/core @emotion/react
import Global from '@theme-ui/global'

export default (props) => (
  <Global
    styles={{
      button: {
        m: 0,
        bg: 'primary',
        color: 'background',
        border: 0,
      },
    }}
  />
)

FAQs

Last updated on 19 Feb 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc