You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Use minimum targets so that the `light-dark()` polyfill doesn't get applied, which is buggy.
Currently we're relying on the lightningcss polyfill for light-dark(), but it's a bit buggy (doesn't work well with nested color-scheme, and also sometimes doesn't get properly transpiled for some reason, at least in our current build setup).
However, we can't move away at the moment because light-dark() is still relatively new (baseline since 2024-05-13), and in particular Chromatic runs Chrome 121 which doesn't support it. It is expected that Chromatic will upgrade to a newer browser version early 2025, so by that time we should re-evaluate whether we really need this polyfill anymore.
The text was updated successfully, but these errors were encountered:
See:
baklava/vite.config.ts
Line 71 in 4378054
Currently we're relying on the lightningcss polyfill for
light-dark()
, but it's a bit buggy (doesn't work well with nestedcolor-scheme
, and also sometimes doesn't get properly transpiled for some reason, at least in our current build setup).However, we can't move away at the moment because
light-dark()
is still relatively new (baseline since 2024-05-13), and in particular Chromatic runs Chrome 121 which doesn't support it. It is expected that Chromatic will upgrade to a newer browser version early 2025, so by that time we should re-evaluate whether we really need this polyfill anymore.The text was updated successfully, but these errors were encountered: