Skip to content

Commit

Permalink
refactor scss builds and add special-colors to bg-gradient
Browse files Browse the repository at this point in the history
  • Loading branch information
louislow81 committed Aug 18, 2022
1 parent cca682f commit 3f1c9f3
Show file tree
Hide file tree
Showing 12 changed files with 714 additions and 396 deletions.
38 changes: 26 additions & 12 deletions dist/weavv-1.0.1.css
Original file line number Diff line number Diff line change
Expand Up @@ -639,20 +639,10 @@ x {
display: block;
}

/*! weavv.css v1.0.0 | MIT License | github.com/weavv/weavv-css */
/**
* @file: configs/components/_full.scss
*/
/*! weavv.css v1.0.1 | MIT License | github.com/weavv/weavv-css */
/**
customize WEAVV CSS framework by enable
or disable components.

EXAMPLE:

$category: (
'component': boolean
);

*/
/**
* @file: weavv.scss
Expand Down Expand Up @@ -20608,6 +20598,18 @@ x {
background: linear-gradient(var(--bg-gradient-angle), var(--bg-gradient-start-color) var(--bg-gradient-primary), var(--bg-gradient-stop-color) var(--bg-gradient-secondary));
}

.bg-gradient.start-white {
--bg-gradient-start-color: #ffffff;
}

.bg-gradient.start-transparent {
--bg-gradient-start-color: transparent;
}

.bg-gradient.start-current {
--bg-gradient-start-color: currentColor;
}

.bg-gradient.start-shade-amber-1 {
--bg-gradient-start-color: #ffbf00;
}
Expand Down Expand Up @@ -21364,6 +21366,18 @@ x {
--bg-gradient-primary: 90%;
}

.bg-gradient.stop-white {
--bg-gradient-stop-color: #ffffff;
}

.bg-gradient.stop-transparent {
--bg-gradient-stop-color: transparent;
}

.bg-gradient.stop-current {
--bg-gradient-stop-color: currentColor;
}

.bg-gradient.stop-shade-amber-1 {
--bg-gradient-stop-color: #ffbf00;
}
Expand Down Expand Up @@ -536226,6 +536240,6 @@ transform-none {
*
* USAGE
*/
/*! weavv.css 1.0.0 | MIT License | github.com/weavv/weavv-css */
/*! weavv.css 1.0.1 | MIT License | github.com/weavv/weavv-css */

/*# sourceMappingURL=weavv-1.0.1.css.map */
2 changes: 1 addition & 1 deletion dist/weavv-1.0.1.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/weavv-1.0.1.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/weavv-1.0.1.min.css.map

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const distCssPath = 'dist'

gulp.task('build-weavv-full', shell.task('sass --quiet --no-source-map ./src/full.scss ./dist/weavv-' + newVersion + '.css'))
gulp.task('build-weavv-min', shell.task('sass --quiet --no-source-map ./src/minimal.scss ./dist/weavv-' + newVersion + '.css'))
gulp.task('build-weavv-test', shell.task('sass --quiet --no-source-map ./src/test.scss ./dist/weavv-' + newVersion + '.css'))

gulp.task('clean', shell.task('rm -rfv ./weavv.scss ./dist/*'))

Expand Down Expand Up @@ -179,6 +180,12 @@ gulp.task('build-full', gulp.series(

gulp.task('build-min', gulp.series(
'build-weavv-min',
'post-processing',
'cleanup'
))

gulp.task('build-test', gulp.series(
'build-weavv-test',
'versioning',
'post-processing',
'cleanup'
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"gulp": "gulp",
"build-full": "gulp build-full",
"build-min": "gulp build-min",
"build-test": "gulp build-test",
"update-version": "gulp versioning",
"clean": "gulp clean"
},
Expand Down
Loading

0 comments on commit 3f1c9f3

Please sign in to comment.