Skip to content

new view modifiers: brightness, contrast, saturation, huesaturation, colorMultiply#301

Merged
marcprux merged 1 commit intoskiptools:mainfrom
vincentborko:color-effects
Jan 16, 2026
Merged

new view modifiers: brightness, contrast, saturation, huesaturation, colorMultiply#301
marcprux merged 1 commit intoskiptools:mainfrom
vincentborko:color-effects

Conversation

@vincentborko
Copy link
Contributor

Complement to skiptools/skip-fuse-ui#81

  • REQUIRED: I have signed the Contributor Agreement
  • REQUIRED: I have tested my change locally with swift test
  • OPTIONAL: I have tested my change on an iOS simulator or device
  • OPTIONAL: I have tested my change on an Android emulator or device

…colormultiply

.brightness(_:)	Adjusts the brightness of the view
.contrast(_:)	Adjusts the contrast of the view
.saturation(_:)	Adjusts the color saturation of the view
.hueRotation(_:)	Rotates the hue of the view's colors by an angle
.colorMultiply(_:)	Multiplies the view's colors by a specified color

float casting is annoying, could probably be made cleaner with something like
let hueMatrix = ColorMatrix(values.map { Float($0) }.toFloatArray())
@cla-bot cla-bot bot added the cla-signed label Jan 16, 2026
@marcprux marcprux merged commit 01ce456 into skiptools:main Jan 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants