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
For choosen coding standard and choosen linting reasons, I cannot change all the files by removing the quotes, so I ask you if you could add the option to export maps with it's SASS quotes standard, would it be possible?
The problem is also listed on SASS site ⚠️Heads up! paragraph.
The text was updated successfully, but these errors were encountered:
Hi again Vitto,
I'll come-up with an upgrade sometimes in the future regarding the possibility to quote the keys as you mentioned/suggested.
This should solve the issue you are describing above.
Note that I've never faced such issue myself before but this could be because:
I use node-sass only.
I always make sure to use a key value exactly similar to what is in the map; if in the map, I've used "black", then I make sure to map-get it using also "black". The same would go if I were to leverage just black.
Anyway - good luck with what you are doing and hopefully I'll find a bit time to implement what you've suggested regarding the keys (and something for values like "Arial, serif"...)
Regards.
The option to quote (single or double) keys has been added.
use the --k='dq' command line option to get double-quoted sass map keys.
You can get single quotes using --k='sq'.
Similar option is available for the values using the --v (the same option values apply such as 'auto' (no quotes), 'sq' and 'dq'.
It would be nice to add an option to wrap key name between quotes:
What the module does now:
What it could do:
Without quotes, the maps seems to work properly until I try to get quoted keys like
'black'
,'silver'
or'white'
:For choosen coding standard and choosen linting reasons, I cannot change all the files by removing the quotes, so I ask you if you could add the option to export maps with it's SASS quotes standard, would it be possible?
The problem is also listed on SASS site⚠️ Heads up! paragraph.
The text was updated successfully, but these errors were encountered: