View gruntfile.js
module.exports = function (grunt) { | |
grunt.loadNpmTasks('grunt-cssbeautifier'); | |
grunt.loadNpmTasks('grunt-strip-css-comments'); | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON("package.json"), | |
// Define paths. | |
paths: { | |
sass: 'source/sass', | |
devCSS: 'css', |
View gruntfile.js
var timer = require("grunt-timer"); | |
module.exports = function (grunt) { | |
timer.init(grunt); | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
watch: { | |
sass: { | |
files: ['sass/**/*.{scss,sass}', 'sass/_base/**/*.{scss,sass}'], | |
tasks: ['sass:render'] | |
}, //sass |
View SassMeister-input.scss
// ---- | |
// libsass (v3.0.2) | |
// ---- | |
// Sass | |
// Colors | |
$sea_green: #16a085; | |
$pomegranate: #c0392b; | |
$orange: #e04604; |
View gruntfile.js
// based on https://github.com/nicolashery/nicolashery.com | |
module.exports = function(grunt) { | |
// Load all NPM grunt tasks | |
require('matchdep').filterAll('grunt-*').forEach(grunt.loadNpmTasks); | |
// Project configuration | |
grunt.initConfig({ | |
meta: { | |
scripts: [ |
View SassMeister-input-HTML.html
<div class="l-main-wrap" role="main"> | |
<h1>Theme Color Palettes</h1> | |
<article> | |
<p>A demo of the Sass @each directive loop for theme color palettes using Susy grids.</p> | |
<ul class="theme-colors"> | |
<li class="cp-turquoise"><span>Turquoise</span></li> | |
<li class="cp-purple"><span>Purple</span></li> |
View SassMeister-input.scss
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
$white: #fff; | |
$medium_gray: #999; | |
$sea_green: #16a085; | |
$pomegranate: #c0392b; | |
$orange: #e04604; |
View SassMeister-input.scss
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
@mixin image-2x($image, $width, $height) { | |
@media (min--moz-device-pixel-ratio: 1.3), | |
(-o-min-device-pixel-ratio: 2.6/2), | |
(-webkit-min-device-pixel-ratio: 1.3), |
View SassMeister-input-HTML.html
<div class="page"> | |
<header> | |
<h1>Hello I'm The Header</h1> | |
</header> | |
<div class="hero"> | |
<div class="one"> | |
<h2>I'm by myself</h2> | |
</div> | |
<div class="two"> | |
<div><h3>I'm 1</h3></div> |
View SassMeister-input-HTML.html
<div class="page"> | |
<header> | |
<h1>Hello I'm The Header</h1> | |
</header> | |
<div class="hero"> | |
<div class="one"> | |
<h2>I'm by myself</h2> | |
</div> | |
<div class="two"> | |
<div><h3>I'm 1</h3></div> |
View SassMeister-input.scss
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
$white: #fff; | |
$medium_gray: #999; | |
$sea_green: #16a085; | |
$pomegranate: #c0392b; | |
$orange: #e04604; |