Skip to content

Commit

Permalink
Merge pull request #36 from jcayabyab/main
Browse files Browse the repository at this point in the history
Update variants to read from correct path in Tailwind 3.x
  • Loading branch information
adoxography authored Sep 4, 2022
2 parents 4cce9a9 + 6d10604 commit b01b0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { scrollbarAwareHover } = require('./variants');
const CUSTOM_VARIANTS = ['rounded'];

module.exports = plugin(tailwind => {
const scrollbarVariants = tailwind.variants('scrollbar', []);
const scrollbarVariants = tailwind.config('variants.scrollbar', []);

const scrollbarColorUtilities = generateUtilitiesFromSuffixes(
buildSuffixMap(tailwind.theme('colors', {}), tailwind.e),
Expand Down

0 comments on commit b01b0ac

Please sign in to comment.