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
In this format, ideally I'd like to steal a page out of @nhoizy's book and use the Sass module system, so I wouldn't need the "mri" prefix on the Sass variables; however, I would need them on the CSS variable names still.
Can I reference the token name with and without a prefix in the same formatter? If it's possible to do so, I couldn't figure it out. Below is my formatter function:
Hmm... not directly... The only thing I can think of would be to remove the prefix from the name in your formatter, or create the names in the formatter itself from the path of the token if that makes sense.
This is sort of a 3.x question, but may also apply to 2.x.
I'm writing a format where CSS variables are assigned to Sass variables for ease of use:
In this format, ideally I'd like to steal a page out of @nhoizy's book and use the Sass module system, so I wouldn't need the "mri" prefix on the Sass variables; however, I would need them on the CSS variable names still.
Can I reference the token name with and without a prefix in the same formatter? If it's possible to do so, I couldn't figure it out. Below is my formatter function:
The text was updated successfully, but these errors were encountered: