Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 646 Bytes

README.md

File metadata and controls

48 lines (31 loc) · 646 Bytes

Contrastor

Simple web app for checking contrast levels of two different colours.

contrastor home page

Noteable features:

  • Display WCAG contrast levels (AA/AAA, small/large text).
  • RGBA, HSL, HSLA and Hex colour format support.
  • Pages are server-side rendered, snazzy UX :)
  • Statically generetaed.

Development

Install the dependencies:

npm ci

Run the dev server:

npm run dev

Testing and Linting

Run unit-tests using:

npm run test

And linting using:

npm run lint --fix

Production

Build for production using:

$ npm run generate