const small_breakpoint = "min-width: 576px";
...
@media ({small_breakpoint}) {
...
My goal is to set my breakpoints in an external file, and refernce the values in my css. Standard css vars do NOT work in media queries. That is as designed it turns out. But seems like astro templates should inject my breakpoint values.
My original version that was using astro variables was:
@media( min-width: {small_breakpoint}) { ...
But that didn't work either..