diff options
| author | cristiano <[email protected]> | 2020-12-29 11:37:06 +0000 |
|---|---|---|
| committer | cristiano <[email protected]> | 2020-12-29 11:37:06 +0000 |
| commit | 42e7081d073e271cd8b7e4dade706ff7fea8e7d6 (patch) | |
| tree | 9ec6a5530e18348dc9512362aa2e1ff1119a265a /gulpfile.js | |
| parent | 222619547154f36d90fc1d10a7b9def33da86db1 (diff) | |
| download | protonmail-themes-42e7081d073e271cd8b7e4dade706ff7fea8e7d6.tar.xz protonmail-themes-42e7081d073e271cd8b7e4dade706ff7fea8e7d6.zip | |
Full styles task is deprecated.
No longer required in favour of dark mode.
Diffstat (limited to 'gulpfile.js')
| -rw-r--r-- | gulpfile.js | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/gulpfile.js b/gulpfile.js index 1f9ddb6..56fd6b7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -17,27 +17,9 @@ gulp.task('styles', () => { .pipe(gulp.dest('themes')) }) -/* - Compiles a more robust version of each theme (full) - A separate task was created to aid in compiling both versions. -*/ -gulp.task('styles-full', () => { - const partial = '@import "../@theme-base/full";'; - const anchor = `// ${partial}`; - return gulp.src([themesPath, ...ignoredFiles]) - .pipe(replace(anchor, partial)) - .pipe(sass().on('error', sass.logError)) - .pipe(rename({ - suffix: "_full" - })) - .pipe(gulp.dest('themes')) -}) - - /* Lists tasks to be used by watch and build commands. */ const series = [ - 'styles', - 'styles-full' + 'styles' ] /* Registers changes in scrips and sass files. */ |
