Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

gradientColorStops behaves differently #122

@jayars

Description

@jayars

What version of @tailwindcss/jit are you using?

v0.1.4

What version of Node.js are you using?

14.10.1

What browser are you using?

Chrome

What operating system are you using?

Windows 10

Reproduction repository

https://github.com/jayars/tailwindcss-jit-gradientcolorstop

Hi,

gradientColorStops seems to behave differently when using @tailwindcss/jit.

  • tailwindcss: Custom gradient stops work
  • @tailwindcss/jit: Custom gradient stops don't work

image

Not sure if this is as-designed or a bug.

postcss.config.js

module.exports = {
  plugins: {
    '@tailwindcss/jit': {},
    autoprefixer: {},
  },
}

tailwind.config.js

module.exports = {
  ...
  theme: {
    extend: {
      gradientColorStops: {
        x: '#b1eafc',
        y: '#fbd7f8'
      }
    }
  }
  ...
}

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions