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
what happens is that we process the first rule (:root), that generates a @supports rule after it, then we process the second rule ([data-theme="light"]), and at this point, it is no longer adjacent with the original :root rule so can no longer be merged (normally that could cause ordering issues).
So this would either require lookahead, to determine that the next rule is the same, and merge them before adding the @supports fallback, or somehow tracking that the @supports rule was generated and not in the original stylesheet and therefore does not affect order.
if we have two selectors with matching P3 themes, would it be possible to chain the selectors to reduce some of the duplication?
i was hoping for output like:
i can workaround this myself ofc in the meantime, but thought it might be a nice improvement☺️
The text was updated successfully, but these errors were encountered: