Skip to content

Commit

Permalink
fix(typo): rules messages
Browse files Browse the repository at this point in the history
  • Loading branch information
giamir committed Oct 18, 2023
1 parent 95e3a68 commit 1e300c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/little-drinks-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"axe-apca": patch
---

Fix typo in rules messages
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const generateColorContrastAPCAConformanceCheck = (
bgColor: bgColor.toHexString(),
fontSize: `${((parseFloat(fontSize) * 72) / 96).toFixed(
1,
)}pt (${fontSize}px)`,
)}pt (${parseFloat(fontSize)}px)`,
fontWeight: fontWeight,
apcaContrast: Math.round(apcaContrast * 100) / 100,
apcaThreshold: apcaThreshold,
Expand Down

0 comments on commit 1e300c6

Please sign in to comment.