tailwind-gutenberg-components icon indicating copy to clipboard operation
tailwind-gutenberg-components copied to clipboard

README.md typo?

Open therealgilles opened this issue 5 years ago • 1 comments

I think it's supposed to be options and not theme for the paddingTop value below:

const options = theme('gutenberg.blocks.cover')
  const cover = ({
    '.wp-block-cover': {
      paddingTop: theme('gutenberg.spacing.vertical.default'), // <-- options?
    }
  })

therealgilles avatar Jan 12 '21 05:01 therealgilles

I think you are right.

I think it's supposed to be options and not theme for the paddingTop value below:

const options = theme('gutenberg.blocks.cover')
  const cover = ({
    '.wp-block-cover': {
      paddingTop: theme('gutenberg.spacing.vertical.default'), // <-- options?
    }
  })

Dioniggio avatar Apr 26 '21 14:04 Dioniggio