fast icon indicating copy to clipboard operation
fast copied to clipboard

adaptive-ui: Initial support for opacity in neutral recipes

Open bheston opened this issue 3 years ago • 0 comments

Pull Request

📖 Description

Adds support for rendering neutral recipe colors as an overlay. This supports UI over the Windows 11 mica effect or contrast-safe scenarios over images or gradients.

The feature is applied to the neutral palette only for now, as it produces either a white or black semitransparent overlay instead of a fixed color. This works perfect with a non-tinted grey neutral palette, and it works well for low-saturated colors which might be more common for a tinted-neutral setup. It may not produce the expected colors for an accent color, which is typically more saturated and intended to stand out. Interested in thoughts for future updates in this regard though.

👩‍💻 Reviewer Notes

This needs to be applied to components to be tested. Working on getting this into the CLI now.

📑 Test Plan

See above.

✅ Checklist

General

  • [x] I have included a change request file using $ yarn change
  • [ ] I have added tests for my changes.
  • [ ] I have tested my changes.
  • [ ] I have updated the project documentation to reflect my changes.
  • [x] I have read the CONTRIBUTING documentation and followed the standards for this project.

bheston avatar Jul 06 '22 20:07 bheston