wds-blocks icon indicating copy to clipboard operation
wds-blocks copied to clipboard

Improve color contrast handling

Open ravewebdev opened this issue 5 years ago • 2 comments

Expand upon color contrast handling (introduced in #91):

  • Add support to contrast text color with background media (image or video)
  • Add support to contrast text color with background overlay (introduced in #94)

ravewebdev avatar Sep 10 '20 21:09 ravewebdev

9/10 EOD Update:

  • Began experimenting with fast-average-color package to determine average color of media elements. Appears to work for images but running into errors with videos.

ravewebdev avatar Sep 10 '20 22:09 ravewebdev

9/11 EOD Update:

  • Implemented fast-average-color and contrast check for image backgrounds.
  • Continuing to troubleshoot fast-average-color with video backgrounds.

ravewebdev avatar Sep 11 '20 22:09 ravewebdev