@theme-ui/global
v0.17.2
Published
Wrapper around the Emotion `Global` component, made Theme UI theme-aware.
Downloads
78,561
Readme
@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/reactimport Global from '@theme-ui/global'
export default (props) => (
<Global
styles={{
button: {
m: 0,
bg: 'primary',
color: 'background',
border: 0,
},
}}
/>
)