Sass mappings and indented syntax

后端 未结 2 521
误落风尘
误落风尘 2020-12-06 01:45

Is there a way to indent Sass\' 3.3 mappings?

In scss we can write following:

$colors: (
  header: #b06,
  text: #334,
  footer: #666777
)

2条回答
  •  抹茶落季
    2020-12-06 01:51

    This is a known issue and will not be addressed any time soon.

    This is definitely something I'd like to add, but it would take a considerable amount of effort due to the refactoring of the indented syntax that would be required. Right now that's just lower priority than adding features that benefit everyone.

    https://github.com/sass/sass/issues/1088

提交回复
热议问题