Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (43 sloc) 1.46 KB
// Require a Gem with extensions (eg other filters):
@require some-gem
// WARNING: @require is not implemented in the alpha yet!
// Require any Ruby file you need:
@require custom-stuf
// Only load files needed instead of all Sass code (this speeds up rendering)
@import base/_colors.scss
@import base/_typography.scss
// Include the rendered CSS (*.css results in @import statement):
@import styles.css
// Insert HTML for the header of the style guide files:
@header {
<header>
<h1>My Living Style Guide</h1>
<nav>
<a href="style.html">Style</a>
<a href="sass.html">sass</a>
<a href="atoms.html">Atoms</a>
<a href="templates.html">templates</a>
</nav>
</header>
}
// WARNING: @header is not implemented in the alpha yet!
// Link JavaScript files:
@javascript-before /javascripts/modernizr.js
@javascript-after http://code.jquery.com/jquery-2.1.0.min.js
@javascript-after /javascripts/underscore-1.6.0.min.js
// WARNING: @javascript-* is not implemented in the alpha yet!
// Customize the defaut design (incl. variables defined in your project’s styles):
@style color: $my-color
@style code-color: adjust-hue($base-color, 180deg)
@style base-font: Helvetica Neue, Helvetica, Arial, sans-serif
// WARNING: @style is not implemented in the alpha yet!
// Set some defaults:
@default data: yaml
@default css: sass
@default html: html
// WARNING: @default is not implemented in the alpha yet!
@scss {
.some-custom-styleguide-css {
// ..
}
}