function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tom HanelTom Hanel 

lightning token bundle and media query

Hi,
I'm trying to use a token in my css file eg 

@media (min-width: t(mobile_screen_size)) {
.THIS .css_selector{
display:inline-block;
}
}

and the token system does not seem to support putting a token in a media query. The generated css file simply contains the unsubstituted token string in it.

If I use a token within a normal class selector it works correctly. Does anyone know if you can put a token in a media query ?
Thanks Tom.
SFDC AppsdevSFDC Appsdev
@media token(mqMediumLandscape){
      .THIS .css_selector{
            display:inline-block;
       }
}

it should be like this.