Skip to content

Commit

Permalink
Generate only background color classes from bg-* selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Demedes committed Mar 8, 2020
1 parent 4e5df81 commit d80d4ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ const supportedUtilities = [
'lowercase',
'capitalize',
'normal-case',
// Background attachment, color, position, repeat, size
/^bg-/,
// Background color
/^bg-(transparent|black|white|gray|red|orange|yellow|green|teal|blue|indigo|purple|pink)/,
// Border color, style, width, radius
/^(border|rounded)/,
// Opacity
Expand Down

0 comments on commit d80d4ea

Please sign in to comment.