Skip to content

Commit

Permalink
fix: add condition when generating backdropHueRotate
Browse files Browse the repository at this point in the history
  • Loading branch information
boompikachu authored and muhammadsammy committed Oct 7, 2021
1 parent 89c0b2e commit 9557847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/core/ClassnamesGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ export class ClassnamesGenerator {
backdropGrayscale: Object.keys(this._theme.backdropGrayscale).map(
x => 'backdrop-grayscale-' + x,
),
backdropHueRotate: Object.keys(this._theme.backdropHueRotate).map(
x => 'backdrop-hue-rotate-' + x,
backdropHueRotate: Object.keys(this._theme.backdropHueRotate).map(x =>
x.startsWith('-') ? '-backdrop-hue-rotate-' + x.slice(1) : 'backdrop-hue-rotate-' + x,
),
backdropInvert: Object.keys(this._theme.backdropInvert).map(x => 'backdrop-invert-' + x),
backdropOpacity: Object.keys(this._theme.backdropOpacity).map(x => 'backdrop-opacity-' + x),
Expand Down

0 comments on commit 9557847

Please sign in to comment.