Skip to content

A sample lightning web component that handles chosing text color based upon a background color

Notifications You must be signed in to change notification settings

alex6499cat/ColorContrastExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ColorContrastExample

A sample lightning web component that handles chosing text color based upon a background color.

How to

  1. Add brainJs.min.js to your Salesforce Org's static resources with the name "brain." https://unpkg.com/[email protected]/dist/brain-browser.min.js
  2. Deploy the component colorContrastExample to your org.
  3. Place the component on a page or within another exposed lightning web component.

About

A sample lightning web component that handles chosing text color based upon a background color

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published