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
toolkit.extendConfig({ | |
/* ... Shortening for brevity, other config would likely be here. */ | |
css: { | |
scss: { | |
'style': { /* Override default options by adding 'style' to our config. */ | |
outputStyle: 'expanded', | |
sourceMap: false | |
}, | |
'woocommerce': { /* Output filename */ |
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
toolkit.extendConfig({ | |
/* ... Shortening for brevity, other config would likely be here. */ | |
css: { | |
scss: { | |
'style': { /* Override default options by adding 'style' to our config. */ | |
outputStyle: 'expanded' | |
}, | |
'woocommerce': { /* Output filename */ | |
src: 'develop/scss/woocommerce.scss', /* Input file */ | |
dest: 'css/', /* Output path. */ |
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
toolkit.extendConfig({ | |
/* ... Shortening for brevity, other config would likely be here. */ | |
css: { | |
scss: { | |
'woocommerce': { /* Output filename */ | |
src: 'develop/scss/woocommerce.scss', /* Input file */ | |
dest: 'css/' /* Output path. */ | |
}, | |
'edd': { /* Output filename */ | |
src: 'develop/scss/edd.scss', /* Input file */ |
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
toolkit.extendConfig({ | |
/* ... Shortening for brevity, other config would likely be here. */ | |
css: { | |
remreplace: true | |
} | |
}); |
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
toolkit.extendConfig({ | |
/* ... Shortening for brevity, other config would likely be here. */ | |
css: { | |
remmediaquery: false /* Turn off auto conversion of media queries to REMs. */ | |
}, | |
}); |
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
toolkit.extendConfig({ | |
/* ... Shortening for brevity, other config would likely be here. */ | |
css: { | |
basefontsize: 10 | |
}, | |
}); |
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
toolkit.extendConfig({ | |
/* ... Shortening for brevity, other config would likely be here. */ | |
css: { | |
/* Additional configuration */ | |
}, | |
}); |
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
'use strict'; | |
var gulp = require('gulp'), | |
toolkit = require('gulp-wp-toolkit'); | |
require('gulp-stats')(gulp); | |
toolkit.extendConfig({ | |
theme: { | |
name: "Infinity Pro", |
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
<?php | |
// Enqueue scripts and styles. | |
add_action( 'wp_enqueue_scripts', 'infinity_enqueue_scripts_styles' ); | |
function infinity_enqueue_scripts_styles() { | |
wp_enqueue_style( 'infinity-fonts', '//fonts.googleapis.com/css?family=Cormorant+Garamond:400,400i,700|Raleway:700', array(), CHILD_THEME_VERSION ); | |
wp_enqueue_style( 'infinity-ionicons', '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css', array(), CHILD_THEME_VERSION ); | |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; |
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
'use strict'; | |
var gulp = require('gulp'), | |
toolkit = require('gulp-wp-toolkit'); | |
require('gulp-stats')(gulp); | |
toolkit.extendConfig({ | |
theme: { | |
name: "Infinity Pro", |