Skip to content

Commit

Permalink
fix(color): added color definition to datepickk container
Browse files Browse the repository at this point in the history
color was not defined on datepickk container, which resultet in wrong text colors if a color was set

on the body element
  • Loading branch information
crsten committed Nov 17, 2016
1 parent dc38b84 commit 1064087
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions dist/datepickk.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
width: 100%;
height: 100%;
font-family: 'Raleway', 'Open Sans', Arial;
color: #333;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
Expand Down
2 changes: 1 addition & 1 deletion dist/datepickk.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/datepickk.min.css.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions gulp/less.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var gulp = require('gulp');
var less = require('gulp-less');
var minifyCss = require('gulp-minify-css');
var cssnano = require('gulp-cssnano');
var sourcemaps = require('gulp-sourcemaps');
var rename = require('gulp-rename');
var autoprefixer = require('gulp-autoprefixer');
Expand All @@ -21,7 +21,7 @@ gulp.task('less',function(){
browsers: ['last 2 versions'],
cascade: false
}))
.pipe(minifyCss())
.pipe(cssnano())
.pipe(rename({
suffix: '.min'
}))
Expand All @@ -31,4 +31,4 @@ gulp.task('less',function(){

gulp.task('watch:less',['less'],function(){
gulp.watch('./src/css/datepickk.less',['less']);
});
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"fs": "0.0.2",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^2.3.1",
"gulp-cssnano": "^2.1.2",
"gulp-less": "^3.0.3",
"gulp-minify-css": "^1.2.0",
"gulp-rename": "^1.2.2",
"gulp-sourcemaps": "^1.5.2",
"gulp-uglify": "^1.2.0",
Expand Down
1 change: 1 addition & 0 deletions src/css/datepickk.less
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
width: 100%;
height: 100%;
font-family: 'Raleway','Open Sans',Arial;
color: #333;

user-select: none;

Expand Down

0 comments on commit 1064087

Please sign in to comment.