尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
Accessible colour checker
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A colour contrast checker built with TanStack Start and deployed to Cloudflare Workers.
@cloudflare/vite-plugin and Wrangler.nvmrcbun install
bun run dev
The dev server runs on http://localhost:3000.
| Script | Description |
|---|---|
bun run dev | Start the Vite dev server |
bun run build | Build, generate Worker types, and type-check |
bun run typecheck | Run tsgo --noEmit |
bun run lint | Lint with Oxlint |
bun run format | Format with Oxfmt |
bun run format:check | Check formatting without writing |
bun run test | Run unit tests with Vitest |
bun run e2e | Run browser tests with Playwright |
bun run smoke | Build and smoke-test routes and APIs |
bun run cf-typegen | Generate Cloudflare Worker types |
bun run deploy:dry-run | Build and validate Worker output |
bun run deploy | Build and deploy to Cloudflare |
POST https://www.aremycolorsaccessible.com/api/are-they
{ "colors": ["#fff", "#000"] }
Returns the WCAG ratings and contrast ratio for the colour pair. See /api-page for full docs.