Skip to content

Sass functions that support accessible color contrast ratios

License

Notifications You must be signed in to change notification settings

BlockScope/automated-a11y-sass

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

automated-a11y-sass

Sass functions that support accessible color contrast ratios

Requirements

Minimum Sass version 3.4.25. Libsass 3.5.4 (best performance).

Sandboxes

Editable sandbox on CodePen to see how this all works. Change the color variables to see the updates in real-time within the size tests.

When an edge case has been encountered, a version in SassMeister with debug output is helpful to see what might be happening (I changed the main function to a mixin so I can debug the output):

sassmeister.com/gist/42b8402a3cb5ac41f8557df4e175b1f7

Article with Full Explanation coming soon

About

Sass functions that support accessible color contrast ratios

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SCSS 100.0%