放入数组" SCSS"

时间:2016-06-06 20:13:51

标签: sass compass

我试图在阵列中添加颜色

var result = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map(function (num) {
  return Math.pow(2, num)
})

但是我收到了这个错误:

    $colors:(
    "facebook": "#3B5998",
    "twitter": "#3CF",
    "google": "#DC4A38",
    "dribbble": "#F26798",
    "skype": "#00AFF0"
);

0 个答案:

没有答案