sass-boilerplate

A boilerplate for Sass projects using the 7-1 architecture pattern from Sass Guidelines.

Github星跟踪图

Sass Boilerplate

This is a sample project using the 7-1 architecture pattern and sticking to Sass Guidelines writing conventions.

Each folder of this project has its own README.md file to explain the purpose and add extra information. Be sure to browse the repository to see how it works.

Using the indented syntax

Sass conversion

This boilerplate does not provide a .sass version as it would be painful to maintain both versions without an appropriate build process. However, it is very easy to convert this boilerplate to Sass indented syntax.

Clone it, head into the project and then run:

sass-convert -F scss -T sass -i -R ./  && find . -iname “*.scss” -exec bash -c 'mv "$0" “${0%\.scss}.sass"' {} \;

Use with Node-sass

When using node-sass - in order to build that boilerplate, one needs to:

  • install node-sass if not yet installed:
npm install -g node-sass
  • run build command from command line:
node-sass stylesheets/main.scss dist/main.css

主要指标

概览
名称与所有者KittyGiraudel/sass-boilerplate
主编程语言SCSS
编程语言SCSS (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2015-05-22 10:09:45
推送于2024-07-28 07:36:30
最后一次提交2024-07-18 19:56:43
发布数0
用户参与
星数3.4k
关注者数100
派生数778
提交数63
已启用问题?
问题数26
打开的问题数0
拉请求数18
打开的拉请求数0
关闭的拉请求数9
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?