2.7.2 • Published 9 years ago
mwyatt-codex v2.7.2
Codex
A refreshing start for your css.
Features
- normalize.css
- postcss
- Native var(--variable-name) syntax
Installation
npm install --save-dev mwyatt-codex autoprefixer gulp gulp-postcss postcss-color-function postcss-conditionals postcss-custom-properties postcss-hexrgba postcss-importUsage
Within your *.bundle.css file:
@import 'mwyatt-codex';Importing any additional Codex resources:
@import 'mwyatt-codex/css/file-name';Gulp Task
Your gulp build task should look something like this:
gulp.task('task-name', function() {
return gulp.src('css/*.bundle.css')
.pipe(postcss([
postcssImport,
postcssCustomProperties(),
postcssConditionals,
postcssHexrgba(),
postcssColorFunction(),
autoprefixer({browsers: ['last 1 version']})
]))
.pipe(gulp.dest('asset'));
});2.7.2
9 years ago
2.7.1
9 years ago
2.7.0
9 years ago
2.6.1
9 years ago
2.6.0
9 years ago
2.5.0
9 years ago
2.4.0
10 years ago
2.3.0
10 years ago
2.2.0
10 years ago
2.1.0
10 years ago
2.0.5
10 years ago
2.0.4
10 years ago
2.0.3
10 years ago
2.0.2
10 years ago
2.0.1
10 years ago
2.0.0
10 years ago
1.0.2
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago
0.1.0
10 years ago
0.0.1
10 years ago