How to use the @rebass/preset.variants function in @rebass/preset

To help you get started, we’ve selected a few @rebass/preset examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ThadeuLuz / oleo-no-nordeste / src / services / theme.js View on Github external
import preset from '@rebass/preset'

preset.sizes.icon = 32
preset.variants.icon = {
  width: 'icon',
  height: 'icon',
}

export default preset

@rebass/preset

Base theme preset for use with Rebass

MIT
Latest version published 5 years ago

Package Health Score

59 / 100
Full package analysis

Popular @rebass/preset functions