A mixin for writing @font-face rules in SASS.
Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.
@include font-face(Samplino, fonts/Samplino);| // http://viljamis.com/blog/2013/prototyping-responsive-typography/?utm_source=Responsive+Design+Weekly&utm_campaign=76e7785581-Responsive_Design_Weekly_046&utm_medium=email | |
| $browser-context: 16; // Default | |
| @function em($pixels, $context: $browser-context) { | |
| @return #{$pixels/$context}em | |
| } |
| // Load plugins | |
| var gulp = require('gulp'), | |
| sass = require('gulp-ruby-sass'), | |
| autoprefixer = require('gulp-autoprefixer'), | |
| minifycss = require('gulp-minify-css'), | |
| jshint = require('gulp-jshint'), | |
| uglify = require('gulp-uglify'), | |
| imagemin = require('gulp-imagemin'), | |
| rename = require('gulp-rename'), | |
| clean = require('gulp-clean'), |
| ; Press quickly to send <key1>, hold for <delay> ms to send <key2> | |
| ; Examples: | |
| ; Joy8::dualPress("[", "]") | |
| ; Joy10::dualPress("N", "{RShift Down}{N}{RShift Up}") | |
| ; MButton::dualPress("F12", "F11", 0.5) | |
| dualPress(key1, key2, delay = 0.2) { | |
| IfNotInString, key1, { | |
| key1 = {%key1%} | |
| IfNotInString, key2, { |
| To enable any of there plugins, go to: `Settings` -> `Plugins` | |
| You'll find plugins in the first page, to get the others press `Browse repositories...` button. | |
| - Apache config (.htaccess) support | |
| - Bootstrap | |
| - Color Ide | |
| - CSS Support | |
| - EditorConfig | |
| - File Watchers | |
| - Git Integration |
| 'use strict'; | |
| var gulp = require('gulp'), | |
| watch = require('gulp-watch'), | |
| prefixer = require('gulp-autoprefixer'), | |
| uglify = require('gulp-uglify'), | |
| sass = require('gulp-sass'), | |
| sourcemaps = require('gulp-sourcemaps'), | |
| rigger = require('gulp-rigger'), | |
| cssmin = require('gulp-minify-css'), |