Bring repo up to REPO_POLICIES.md standards

- Add prettier (4-space indents) and reformat all files
- Add Makefile with test/lint/fmt/fmt-check/check/docker targets
- Add MIT LICENSE file
- Add REPO_POLICIES.md
- Fix Dockerfile: listen on 8080 with PORT env var via envsubst
- Restructure README.md with all required sections
- Set up pre-commit hook (make check)
- Update .prettierignore, .gitignore, .dockerignore
This commit is contained in:
2026-02-22 15:59:10 +01:00
parent ca403e68d1
commit 818accc454
14 changed files with 671 additions and 420 deletions

View File

@@ -1,18 +1,23 @@
@import "tailwindcss";
@theme {
--color-latency-excellent: #22c55e;
--color-latency-good: #84cc16;
--color-latency-moderate: #eab308;
--color-latency-poor: #f97316;
--color-latency-bad: #ef4444;
--color-latency-offline: #6b7280;
--color-latency-excellent: #22c55e;
--color-latency-good: #84cc16;
--color-latency-moderate: #eab308;
--color-latency-poor: #f97316;
--color-latency-bad: #ef4444;
--color-latency-offline: #6b7280;
}
body {
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
font-family:
ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
.sparkline-container {
background: linear-gradient(to bottom, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%);
background: linear-gradient(
to bottom,
rgba(255, 255, 255, 0.02) 0%,
rgba(255, 255, 255, 0) 100%
);
}