-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:inkdropapp/inkdrop-default-dark-u…
…i-theme
- Loading branch information
Showing
51 changed files
with
1,312 additions
and
2,348 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
11 | ||
16 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,35 @@ | ||
/******************************* | ||
Set-up | ||
*******************************/ | ||
* Set-up | ||
*******************************/ | ||
|
||
var | ||
gulp = require('gulp-help')(require('gulp')), | ||
gulp = require('gulp'), | ||
|
||
// read user config to know what task to load | ||
config = require('./tasks/config/user'), | ||
|
||
// watch changes | ||
watch = require('./tasks/watch'), | ||
|
||
// build all files | ||
build = require('./tasks/build'), | ||
buildJS = require('./tasks/build/javascript'), | ||
buildCSS = require('./tasks/build/css'), | ||
buildAssets = require('./tasks/build/assets'), | ||
|
||
// utility | ||
clean = require('./tasks/clean'), | ||
version = require('./tasks/version'), | ||
|
||
// docs tasks | ||
serveDocs = require('./tasks/docs/serve'), | ||
buildDocs = require('./tasks/docs/build'), | ||
|
||
// rtl | ||
buildRTL = require('./tasks/rtl/build'), | ||
watchRTL = require('./tasks/rtl/watch') | ||
config = require('./tasks/config/user') | ||
; | ||
|
||
|
||
/******************************* | ||
Tasks | ||
*******************************/ | ||
* Tasks | ||
*******************************/ | ||
|
||
gulp.task('default', false, [ | ||
'watch' | ||
]); | ||
require('./tasks/collections/build')(gulp); | ||
require('./tasks/collections/various')(gulp); | ||
require('./tasks/collections/install')(gulp); | ||
|
||
gulp.task('watch', 'Watch for site/theme changes', watch); | ||
|
||
gulp.task('build', 'Builds all files from source', [ 'build-css', 'build-assets' ]); | ||
gulp.task('build-javascript', 'Builds all javascript from source', buildJS); | ||
gulp.task('build-css', 'Builds all css from source', buildCSS); | ||
gulp.task('build-assets', 'Copies all assets from source', buildAssets); | ||
|
||
gulp.task('clean', 'Clean dist folder', clean); | ||
gulp.task('version', 'Displays current version of Semantic', version); | ||
gulp.task('default', gulp.series('watch')); | ||
|
||
/*-------------- | ||
Docs | ||
---------------*/ | ||
|
||
/* | ||
Lets you serve files to a local documentation instance | ||
https://github.com/Semantic-Org/Semantic-UI-Docs/ | ||
*/ | ||
|
||
gulp.task('serve-docs', 'Serve file changes to SUI Docs', serveDocs); | ||
gulp.task('build-docs', 'Build all files and add to SUI Docs', buildDocs); | ||
|
||
require('./tasks/collections/docs')(gulp); | ||
|
||
/*-------------- | ||
RTL | ||
---------------*/ | ||
|
||
if(config.rtl) { | ||
gulp.task('watch-rtl', 'Watch files as RTL', watchRTL); | ||
gulp.task('build-rtl', 'Build all files as RTL', buildRTL); | ||
if (config.rtl) { | ||
require('./tasks/collections/rtl')(gulp); | ||
} |
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 |
---|---|---|
|
@@ -17,10 +17,40 @@ | |
"author": "Takuya Matsuyama<[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"semantic-ui": "^2.4.2" | ||
"better-console": "^1.0.1", | ||
"del": "^6.0.0", | ||
"extend": "^3.0.2", | ||
"gulp": "^4.0.2", | ||
"gulp-autoprefixer": "^8.0.0", | ||
"gulp-chmod": "^3.0.0", | ||
"gulp-clean-css": "^4.3.0", | ||
"gulp-clone": "^2.0.1", | ||
"gulp-concat": "^2.6.1", | ||
"gulp-concat-css": "^3.1.0", | ||
"gulp-copy": "^4.0.1", | ||
"gulp-dedupe": "0.0.2", | ||
"gulp-flatten": "^0.4.0", | ||
"gulp-header": "^2.0.9", | ||
"gulp-if": "^3.0.0", | ||
"gulp-json-editor": "^2.5.6", | ||
"gulp-less": "^5.0.0", | ||
"gulp-notify": "^4.0.0", | ||
"gulp-plumber": "^1.2.1", | ||
"gulp-print": "^5.0.2", | ||
"gulp-rename": "^2.0.0", | ||
"gulp-replace": "^1.1.3", | ||
"gulp-rtlcss": "^1.4.2", | ||
"gulp-tap": "^2.0.0", | ||
"gulp-uglify": "^3.0.2", | ||
"gulp-watch": "^5.0.1", | ||
"inquirer": "^8.1.2", | ||
"mkdirp": "^1.0.4", | ||
"require-dot-file": "^0.4.0", | ||
"wrench-sui": "0.0.3", | ||
"yamljs": "^0.3.0" | ||
}, | ||
"browserslist": [ | ||
"Electron 7.3.2" | ||
"Electron 12.0.4" | ||
], | ||
"engines": { | ||
"inkdrop": "^5.x" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ | |
@width: @iconWidth; | ||
@height: 1em; | ||
@distanceFromText: 0.25rem; | ||
@lineHeight: 1; | ||
|
||
|
||
/* Variations */ | ||
|
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 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 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
Oops, something went wrong.