From 39dedb39f579d72ac89d895301c60718c9f014b0 Mon Sep 17 00:00:00 2001 From: kuekhaoyang Date: Tue, 18 Nov 2025 18:25:23 +0800 Subject: [PATCH] refactor: remove contrast test results file and update .gitignore for unused/generated files --- .gitignore | 3 ++ contrast-test-results.json | 75 -------------------------------------- 2 files changed, 3 insertions(+), 75 deletions(-) delete mode 100644 contrast-test-results.json diff --git a/.gitignore b/.gitignore index 5ef6a52..f544e37 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,6 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + +# unused/generated files +contrast-test-results.json diff --git a/contrast-test-results.json b/contrast-test-results.json deleted file mode 100644 index 043f10b..0000000 --- a/contrast-test-results.json +++ /dev/null @@ -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 - } -} \ No newline at end of file