【发布时间】:2014-05-02 07:49:29
【问题描述】:
我有一个 Sass 地图,编译时 Compass 抱怨。我收到语法错误。我在 Sassmeister 上有一个 example of the code,它编译得很好。
这里是 Sass 地图和 Compass 编译错误:
$homepageShapes: (
template1: (svg: "verticies.svg", top: 200px, left: 150px),
template2: (svg: "full.svg", top: 300px, left: 30px),
template3: (svg: "swipe_medium_right.svg", top: 300px, left: 30px),
template4: (svg: "swipe_medium_left.svg", top: 300px, left: 30px),
template5: (svg: "swipe_small_left.svg", top: 300px, left: 30px),
template6: (svg: "swipe_small_right.svg", top: 300px, left: 30px),
template7: (svg: "text_only.svg", top: 300px, left: 30px)
);
error workspace/submoduled-assets/styles/styleguide.scss (Line 2 of workspace/submoduled-assets/styles/modules/_node-homepage-rotator.scss: Invalid CSS after " template1": expected ")", was ": (svg: "vertic...")
我安装了 Sass v3.3.6 和 Compass v0.12.6。
【问题讨论】:
-
可能想在 github 上提交问题...
标签: css sass compass-sass