@sarmal/core 0.36.2 → 0.36.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1660,7 +1660,7 @@ function createSarmalDotMatrix(canvas, curveDef, options) {
1660
1660
  continue;
1661
1661
  }
1662
1662
  let r, g, b;
1663
- if (gradientOklab !== null) {
1663
+ if (currentTrailStyle !== "default" && gradientOklab !== null) {
1664
1664
  ({ r, g, b } = oklabToRgb(getPaletteColor(gradientOklab, intensity, timeOffset)));
1665
1665
  } else {
1666
1666
  ({ r, g, b } = colorRgb);