How to use fela-plugin-custom-property - 1 common examples

To help you get started, we’ve selected a few fela-plugin-custom-property 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 robinweser / fela / packages / fela-plugin-placeholder-prefixer / src / index.js View on Github external
export default function placeholderPrefixer() {
  return customProperty({
    '::placeholder': value =>
      reduce(
        placeholderPrefixes,
        (style, prefix) => {
          style[prefix] = value
          return style
        },
        {}
      )
  })
}

fela-plugin-custom-property

Fela plugin to use custom properties

MIT
Latest version published 1 year ago

Package Health Score

81 / 100
Full package analysis

Popular fela-plugin-custom-property functions