指南针SCSS小写的颜色代码 [英] Compass SCSS lower case of color code

查看:76
本文介绍了指南针SCSS小写的颜色代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的团队中,我们使用了相同版本的指南针(即Compass 0.12.2 Alnilam)。当Compass编译我的SCSS时,SCSS中的颜色代码从大写(#A0CAE3)更改为小写(#a0cae3)。只有我有这个问题,其他开发人员都有大写的颜色代码。为什么?

In my team we have the same version of Compass (it`s Compass 0.12.2 Alnilam). When Compass compiles my SCSS the color code is changed from uppercase (#A0CAE3) to lowercase (#a0cae3) in the SCSS. Only I have this problem, other developers have the uppercase color code. Why?

推荐答案

应该检查 sass的版本。

Is should check version of "sass".

sass -v

Sass版本3.1.15在我的情况。

Sass version 3.1.15 works fine in my case. Uninstall all installed "sass" versions with

gem uninstall sass

并安装3.1.15版本

and install 3.1.15 version

gem install sass -v 3.1.15

这篇关于指南针SCSS小写的颜色代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆