keukenrolletje / postcss-lowvision

postcss plugin to simulate how your website will look for low vision users

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PostCSS Lowvision Build Status

PostCSS plugin to simulate how your website will look for low vision users.

.foo {
    color: #FFC0CB;
}
.foo {
    color: transparent;
    text-shadow: 0 0 5px rgba(255, 192, 203, 1);
}

Usage

Add strength option between 0 and 15.

postcss([ require("postcss-lowvision")({strength:'2'}) ])

See PostCSS docs for examples for your environment.

About

postcss plugin to simulate how your website will look for low vision users

License:MIT License


Languages

Language:JavaScript 100.0%