Zurb 基金会 SASS 变量 [英] Zurb Foundation SASS variable

查看:36
本文介绍了Zurb 基金会 SASS 变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Zurb 的 Foundation 框架,我想知道如何编辑 SASS 变量的默认值.我搜索了整个互联网,但找不到任何可以帮助我的东西.

I am using Zurb's Foundation framework, and I would like to know how I can edit the default values of the SASS variables. I searched all over the internet but I was not able to find anything that could help me.

请在他们的网站上查看此文档.

Please check this documentation on their site.

Available SCSS Variables 部分下,提供了 SCSS 变量,但在更改值后我不知道将它们放在哪里.我没有在谷歌上找到太多帮助,因为 Foundation 还没有那么老.

Under Available SCSS Variables section, SCSS variables are provided but I don't know where to place them after altering the values. I did not find much help by Googling because Foundation is not that old.

推荐答案

在创建 Foundation 项目后,查找将包含所有这些变量的_settings.scss"部分.

After creating a Foundation project, look for a "_settings.scss" partial that will contain all those variables.

向下滚动此页面:Zurb Foundation 4—Sass 文档到它说的地方Foundation Global Settings and Mixins"用于该文件中的代码.

Scroll down on this page: Zurb Foundation 4—Sass Documentation to where it says "Foundation Global Settings and Mixins" for the code in that file.

这篇关于Zurb 基金会 SASS 变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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