This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "rules": { | |
| "indentation": 4, | |
| "string-quotes": "single", | |
| "no-duplicate-selectors": true, | |
| "color-hex-case": "lower", | |
| "color-named": "never", | |
| "selector-no-qualifying-type": true, | |
| "selector-combinator-space-after": "always", | |
| "selector-attribute-quotes": "always", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Custom Ratio Boxes | |
| @mixin boxratio($val1, $val2, $maxwidth) { | |
| $height: ($val2 / $val1 * 100) + vw; | |
| $unit: unquote(unit($maxwidth)); | |
| $maxheight: strip-unit($maxwidth) / ($val1 / $val2) + $unit; | |
| width: 100%; | |
| max-width: $maxwidth; | |
| height: $height; | |
| max-height: $maxheight; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Your init script | |
| # | |
| # Atom will evaluate this file each time a new window is opened. It is run | |
| # after packages are loaded/activated and after the previous editor state | |
| # has been restored. | |
| # | |
| # An example hack to log to the console when each text editor is saved. | |
| # | |
| # atom.workspace.observeTextEditors (editor) -> | |
| # editor.onDidSave -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Define all plugins | |
| var gulp = require('gulp'); | |
| var sass = require('gulp-sass'); | |
| var sourcemaps = require('gulp-sourcemaps'); | |
| var cache = require('gulp-cached'); | |
| var imagemin = require('gulp-imagemin'); | |
| var filter = require('gulp-filter'); | |
| var autoprefixer = require('gulp-autoprefixer'); | |
| var uglify = require('gulp-uglify'); | |
| var rename = require('gulp-rename'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function (grunt) { | |
| grunt.initConfig({ | |
| //Sass | |
| sass: { | |
| options: { | |
| sourceMap: true, | |
| outputStyle: 'compressed' | |
| }, | |
| dist: { | |
| files: { |