Skip to content

feat(tune)!: replace luminance with tint, remove sharpness, fix colorOverlay/fade#844

Merged
hm21 merged 1 commit into
stablefrom
fix/tune-adjustments
Jul 3, 2026
Merged

feat(tune)!: replace luminance with tint, remove sharpness, fix colorOverlay/fade#844
hm21 merged 1 commit into
stablefrom
fix/tune-adjustments

Conversation

@hm21

@hm21 hm21 commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

Cleanup of the ColorFilterAddons color matrices and the tune-editor adjustments.

  • colorOverlay — fix inverted sign; overlays now blend towards the given color instead of its complement (affects all overlay-based filter presets).
  • fade — rebuilt as a real fade (lower contrast + lifted black point) instead of a plain desaturation.
  • tint (new) — replaces the old luminance control with a green–magenta adjustment, the natural complement to temperature. The previous luminance matrix only desaturated (it was a duplicate of saturation and never touched brightness).
  • sharpness — removed. A per-pixel 4×5 color matrix cannot sharpen (that needs a spatial convolution); the old implementation was just a mislabeled contrast boost.

Docs on hue (rotation maps value == 1 to 180°) were also corrected.

Breaking changes

  • Renamed ColorFilterAddons.luminancetint, TuneEditorIcons.luminancetint, I18nTuneEditor.luminancetint.
  • Removed ColorFilterAddons.sharpness, TuneEditorIcons.sharpness, I18nTuneEditor.sharpness.
  • Saved history entries using the old tune ids (luminance, sharpness) are no longer recognized — no import migration is included.

Version bumped to 13.0.0.

Notes

example/ updated to match. dart analyze over lib + example is clean.

…Overlay/fade

- tint: new green–magenta control complementing temperature
- colorOverlay: fix inverted sign (previously tinted towards the complementary color)
- fade: rebuild as a real fade (lower contrast + lifted black point) instead of desaturation
- remove sharpness (a per-pixel color matrix cannot sharpen)

BREAKING CHANGE: renamed luminance → tint and removed sharpness across
ColorFilterAddons, TuneEditorIcons and I18nTuneEditor; saved histories using
the old tune ids are no longer recognized.
@hm21 hm21 merged commit 08d5ab2 into stable Jul 3, 2026
1 check passed
@hm21 hm21 deleted the fix/tune-adjustments branch July 3, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant