Skip to content

v1.1.2

Compare
Choose a tag to compare
@hipstersmoothie hipstersmoothie released this 02 Sep 08:00

Release Notes

Make brightness function behave like other implementations (#1312)

This PR changes the brightness function to behave like the css brightness function and other implementations. Previously it was doing something odd. Instead of multiplying the color channel by the multiplier value, it multiplied against the inversion of the current color.

In the current version a value of 1 won't change the colors at all. Values above 1 will brighten the colors, values below 1 will darken the colors.


🐛 Bug Fix

Authors: 1