Inwerpsel / use-theme-editor

A React theme editor
GNU General Public License v3.0
4 stars 0 forks source link

Media queries not taken into account for custom property declarations #70

Open Inwerpsel opened 4 months ago

Inwerpsel commented 4 months ago

This was simply not added yet but is not very common. Though the openprops example contains quite a few of these.

As a result, if a custom property was declared in a media query, and it was declared earlier in the same selector without media query, it will incorrectly use the value of the media query for the selector when the media query doesn't match.