https://github.com/jfmdev/contrast-ratio-calc
A tool to calculate and compare the contrast ratio of colors.
https://github.com/jfmdev/contrast-ratio-calc
bootstrap contrast contrast-ratio javascript svelte sveltekit webapp
Last synced: 3 months ago
JSON representation
A tool to calculate and compare the contrast ratio of colors.
- Host: GitHub
- URL: https://github.com/jfmdev/contrast-ratio-calc
- Owner: jfmdev
- License: mpl-2.0
- Created: 2022-05-15T20:42:20.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-12T16:20:27.000Z (over 2 years ago)
- Last Synced: 2025-05-28T07:03:09.915Z (10 months ago)
- Topics: bootstrap, contrast, contrast-ratio, javascript, svelte, sveltekit, webapp
- Language: Svelte
- Homepage: https://jfmdev.github.io/contrast-ratio-calc/
- Size: 1.33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Contrast ratio calculator
> A tool to calculate and compare the contrast ratio of colors.
A simple tool, implemented with Svelte and Boostrap, for calculate and compare the contrast ratio between different colors.
[Demo](https://jfmdev.github.io/contrast-ratio-calc/)
## Development and building
This application was created using [SvelteKit](https://kit.svelte.dev/), all commands for build and run locally can be found on the [official docs](https://kit.svelte.dev/docs/introduction), but the most used ones are:
- `yarn` to install all dependencies.
- `yarn run dev` to run the application locally.
- `yarn run format` to format the source code using Prettier.
- `yarn run lint` to identify errors on the source code using ESLint.
- `yarn run build` to build the application.
## License
Contrast Ratio Calc is free software; you can redistribute it and/or modify it under the terms of the Mozilla Public License v2.0. You should have received a copy of the MPL 2.0 along with this library, otherwise you can obtain one at http://mozilla.org/MPL/2.0/.