-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* **core** new global function `icon()`. * **core** add support for `tabler` icons. * **core** add support for `bootstrap` icons. * **shortcode** add shortcode for `[icon]`. ### BREAKING CHANGES * use new global function `icon()`. docs: https://github.com/flextype-plugins/icon affected plugins: account, accounts-admin, admin, form, form-admin, icon, themes-admin
- Loading branch information
Showing
12 changed files
with
2,810 additions
and
194 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,34 @@ | ||
const gulp = require('gulp'); | ||
|
||
/** | ||
* Task: gulp fontawesome-icons | ||
* Task: gulp fontawesome | ||
*/ | ||
gulp.task('fontawesome-icons', function(){ | ||
return gulp.src(['node_modules/@fortawesome/fontawesome-free/svgs/**/*']) | ||
.pipe(gulp.dest('assets/dist/fontawesome/svgs')); | ||
gulp.task('fontawesome', function(){ | ||
return gulp.src(['node_modules/@fortawesome/fontawesome-free/svgs/**/*.svg']) | ||
.pipe(gulp.dest('assets/dist/fontawesome/icons')); | ||
}); | ||
|
||
/** | ||
* Task: gulp tabler | ||
*/ | ||
gulp.task('tabler', function(){ | ||
return gulp.src(['node_modules/@tabler/icons/icons/**/*.svg']) | ||
.pipe(gulp.dest('assets/dist/tabler/icons')); | ||
}); | ||
|
||
/** | ||
* Task: gulp bootstrap | ||
*/ | ||
gulp.task('bootstrap', function(){ | ||
return gulp.src(['node_modules/bootstrap-icons/icons/**/*.svg']) | ||
.pipe(gulp.dest('assets/dist/bootstrap/icons')); | ||
}); | ||
|
||
/** | ||
* Task: gulp default | ||
*/ | ||
gulp.task('default', gulp.series( | ||
'fontawesome-icons' | ||
'fontawesome', | ||
'bootstrap', | ||
'tabler' | ||
)); |
Oops, something went wrong.