G
G
game8022017-01-15 21:55:24
Sass
game802, 2017-01-15 21:55:24

Using Maps in SASS?

Good afternoon dear experts. While studying SASS, I came across Maps. They look like this

$status-colors: (
  primary: #000,
  success: #27BA6C
);

This code is written in SCSS, in SASS the compiler starts to swear...
Is there a way to use Maps in .sass? Or are Maps only supported in .scss files?
I could not dig up information on the Internet ...
I would be glad for any help and any answer! Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
iBird Rose, 2017-01-15
@game802

for sass write in one line:
yes. it is not comfortable. but the developers themselves also scored on this:
https://github.com/sass/sass/issues/1088#issuecomm...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question