summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-09-25 21:44:57 +0200
committerLaurenz <laurmaedje@gmail.com>2022-09-25 21:46:54 +0200
commit2661f1a5066bd5e3f8a9c68e4a5c304c248efcb7 (patch)
treee2a6790abb94ae88878d7c371151787d3ace5ec0 /tests/typ
parent680cc9aa93f46807754e9cb771e7942f610b0c72 (diff)
Round to nearest `u8` instead of flooring
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/utility/color.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/utility/color.typ b/tests/typ/utility/color.typ
index 3ff141d4..96d76063 100644
--- a/tests/typ/utility/color.typ
+++ b/tests/typ/utility/color.typ
@@ -23,7 +23,7 @@
---
// Test gray color modification.
#test(luma(20%).lighten(50%), luma(60%))
-#test(luma(80%).darken(20%), luma(64.5%))
+#test(luma(80%).darken(20%), luma(63.9%))
#test(luma(80%).negate(), luma(20%))
---