refactor: remove contrast test results file and update .gitignore for unused/generated files

This commit is contained in:
kuekhaoyang
2025-11-18 18:25:23 +08:00
parent f03ecb3294
commit 39dedb39f5
2 changed files with 3 additions and 75 deletions
+3
View File
@@ -39,3 +39,6 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
# unused/generated files
contrast-test-results.json
-75
View File
@@ -1,75 +0,0 @@
{
"timestamp": "2025-11-18T06:40:11.559Z",
"tests": [
{
"component": "Badge",
"variant": "Primary (Light)",
"foreground": "white",
"background": "#0056b3",
"ratio": 7.042135266678601,
"passAA": true,
"passAAA": true
},
{
"component": "Badge",
"variant": "Primary (Dark)",
"foreground": "white",
"background": "#1A6DBF",
"ratio": 5.271486985034207,
"passAA": true,
"passAAA": false
},
{
"component": "Badge",
"variant": "Secondary (Light)",
"foreground": "#1d1d1f",
"background": "#f2f2f7",
"ratio": 15.082365216973475,
"passAA": true,
"passAAA": true,
"notes": "Glass background approximated as solid color"
},
{
"component": "Button",
"variant": "Primary (Light)",
"foreground": "white",
"background": "#0056b3",
"ratio": 7.042135266678601,
"passAA": true,
"passAAA": true
},
{
"component": "Button",
"variant": "Secondary (Light)",
"foreground": "#1d1d1f",
"background": "#f2f2f7",
"ratio": 15.082365216973475,
"passAA": true,
"passAAA": true
},
{
"component": "TypeBadges",
"variant": "Selected (Light)",
"foreground": "white",
"background": "#0056b3",
"ratio": 7.042135266678601,
"passAA": true,
"passAAA": true
},
{
"component": "TypeBadges",
"variant": "Unselected (Light)",
"foreground": "#1d1d1f",
"background": "#f2f2f7",
"ratio": 15.082365216973475,
"passAA": true,
"passAAA": true
}
],
"summary": {
"total": 7,
"passedAA": 7,
"passedAAA": 6,
"failedAA": 0
}
}