尚未收集儲存庫資訊。
尚未偵測到更新。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.