【文件属性】:
文件名称:livingstyleguide:使用Markdown和SassSCSS轻松创建前端样式指南
文件大小:345KB
文件格式:ZIP
更新时间:2021-02-02 04:05:46
ruby css rails sass styleguide
LivingStyleGuide
通过将Markdown文档添加到您的Sass项目中,轻松创建生活风格指南/前端样式指南/样式库。 以获取更新。
左侧: 的样式指南(非公共存储库)
右侧: : ()
入门
命令行界面
建立
$ gem install livingstyleguide
使用以下命令创建sass / styleguide.lsg (用您的Sass文件的目录名称替换sass/ ):
// Replace with your default Sass/SCSS file name:
@scss application.css.scss
// Set the HTML title of the document:
@title My Living Style Guide
// Import all your style guide files
@import sass/**/*.lsg
为每个模块sass / partials / _buttons.lsg编写文档(以在同一文件夹中描述_buttons.scss ):
# Buttons
```
<button