/oddcontrast

Fork of OddContrast; to add APCA

Primary LanguageSvelteBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

OddContrast

OddBird's color contrast checker for modern CSS color formats

Netlify Status

Developing

To develop with local versions of Node/Yarn, first install the frontend dependencies with yarn install, then:

yarn serve

# or start the server and open the app in a new browser tab
yarn serve --open

Developing (Docker-based)

If you are using VS Code devcontainers to manage Node/Yarn versions, open the project folder and run "Re-open in container", then:

yarn serve

# or start the server and open the app in a new browser tab
yarn serve --open

Building

To create a production version of your app:

yarn build

You can preview the production build with yarn preview.

Deploying

The staging site is automatically deployed via Netlify to https://www.oddcontrast.com/ every time a commit is made on the main branch.