diff options
| author | frozolotl <44589151+frozolotl@users.noreply.github.com> | 2024-02-27 12:15:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-27 11:15:17 +0000 |
| commit | 79615a01bd4266e6a5adb385650735768ea96d56 (patch) | |
| tree | 7a5844b3174bfc2602d6eeb32e03ed040e3b2bb8 /tests/typ/compiler | |
| parent | 0aa925435628f5a6f29478e7e19ed2d4f50eabf8 (diff) | |
Improve color negation (#3500)
Diffstat (limited to 'tests/typ/compiler')
| -rw-r--r-- | tests/typ/compiler/color.typ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/compiler/color.typ b/tests/typ/compiler/color.typ index ec1f9902..f165ac0f 100644 --- a/tests/typ/compiler/color.typ +++ b/tests/typ/compiler/color.typ @@ -8,7 +8,7 @@ spacing: 1fr, rect(width: 1cm, fill: cmyk(69%, 11%, 69%, 41%)), rect(width: 1cm, fill: c), - rect(width: 1cm, fill: c.negate()), + rect(width: 1cm, fill: c.negate(space: cmyk)), ) #for x in range(0, 11) { @@ -82,4 +82,4 @@ // Ref: false #test-repr(luma(20%).lighten(50%), luma(60%)) #test-repr(luma(80%).darken(20%), luma(64%)) -#test-repr(luma(80%).negate(), luma(20%)) +#test-repr(luma(80%).negate(space: luma), luma(20%)) |
