prizm 1.0.3 → 1.0.4
raw patch · 2 files changed
+3/−3 lines, 2 files
Files
- prizm.cabal +1/−1
- src/Data/Prizm/Types.hs +2/−2
prizm.cabal view
@@ -1,5 +1,5 @@ name: prizm-version: 1.0.3+version: 1.0.4 synopsis: Color transformations in different color spaces homepage: https://github.com/ixmatus/prizm license: BSD3
src/Data/Prizm/Types.hs view
@@ -82,12 +82,12 @@ -- | Shade a color by blending it using a weight and the -- @PresetColor@ black. shade :: PresetColor c => c -> Percent -> c- shade c w = interpolate (pctClamp w) (c, white)+ shade c w = interpolate (pctClamp w) (c, black) -- | Tint a color by blending it using a weight and the -- @PresetColor@ white. tint :: PresetColor c => c -> Percent -> c- tint c w = interpolate (pctClamp w) (c, black)+ tint c w = interpolate (pctClamp w) (c, white) -- | An adjustable color. class AdjustableColor c where