Files
discourse/spec/support
Jarek Radosz b81f4104ef DEV: Normalize (ok)lch values in computed style matcher (#36404)
We can't compare **computed** (ok)lch values since those are not stable.
For example, one of the values used in "User color palette selector"
spec:

* `oklch(0.92 0.0708528 68.5036)` - the value hardcoded in the spec
* `oklch(0.92 0.0708528 68.5037)` - the value on my machine (the spec
was failing)
* `oklch(0.92 0.070857 68.5063)` - the value after updating pitchfork
(that's why the [PR](https://github.com/discourse/discourse/pull/36352)
is failing)

All those are effectively the same. When converted to hex they all
resolve to `#ffddb2`.
2025-12-03 02:13:09 +01:00
..
2024-07-04 10:58:21 +02:00