diff --git a/.changeset/itchy-hairs-beg.md b/.changeset/itchy-hairs-beg.md new file mode 100644 index 0000000..3f96d6f --- /dev/null +++ b/.changeset/itchy-hairs-beg.md @@ -0,0 +1,5 @@ +--- +"water.css": patch +--- + +Remove sourcemap references from built files diff --git a/.changeset/large-days-judge.md b/.changeset/large-days-judge.md new file mode 100644 index 0000000..a32e066 --- /dev/null +++ b/.changeset/large-days-judge.md @@ -0,0 +1,5 @@ +--- +"water.css": patch +--- + +Reduce input selector specificity for display property to prevent overriding user's css. Fixes #78 and #82 diff --git a/.changeset/nine-scissors-live.md b/.changeset/nine-scissors-live.md new file mode 100644 index 0000000..5f97b87 --- /dev/null +++ b/.changeset/nine-scissors-live.md @@ -0,0 +1,5 @@ +--- +"water.css": patch +--- + +Added styling for Input type Reset diff --git a/.changeset/thirty-buckets-invent.md b/.changeset/thirty-buckets-invent.md new file mode 100644 index 0000000..bc87c70 --- /dev/null +++ b/.changeset/thirty-buckets-invent.md @@ -0,0 +1,5 @@ +--- +"water.css": patch +--- + +Update main package entrypoint diff --git a/.changeset/tiny-ravens-decide.md b/.changeset/tiny-ravens-decide.md new file mode 100644 index 0000000..8ac1069 --- /dev/null +++ b/.changeset/tiny-ravens-decide.md @@ -0,0 +1,5 @@ +--- +"water.css": patch +--- + +Fix color of `` and `` tags inside links diff --git a/docs/index.html b/docs/index.html index 850c60f..d6ffd9d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -231,6 +231,7 @@ +

Code

diff --git a/gulpfile.js b/gulpfile.js index 569b8c7..34ee92e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -58,7 +58,6 @@ const style = () => { return ( gulp .src(paths.styles.src) - .pipe(sourcemaps.init()) .pipe(postcss([postcssImport(), postcssColorModFunction(), postcssInlineSvg()])) .pipe(startDiff()) @@ -69,12 +68,9 @@ const style = () => { .pipe(postcss([autoprefixer()])) .pipe(endDiff('autoprefixer')) - .pipe(sourcemaps.write('.')) .pipe(flatten()) // Put files in out/*, not out/builds/* .pipe(gulp.dest(paths.styles.dest)) - .pipe(filter('**/*.css')) // Remove sourcemaps from the pipeline - // .pipe(startDiff()) .pipe(postcss([cssnano({ preset: ['default', { svgo: { floatPrecision: 0 } }] })])) @@ -82,11 +78,9 @@ const style = () => { .pipe(rename({ suffix: '.min' })) // - .pipe(sourcemaps.write('.')) .pipe(gulp.dest(paths.styles.dest)) .pipe(gulp.dest(paths.docs.dest + '/water.css')) - .pipe(filter('**/*.css')) // Remove sourcemaps from the pipeline .pipe(sizereport({ gzip: true, total: false, title: 'SIZE REPORT' })) .pipe(browserSync.stream()) ) diff --git a/package.json b/package.json index f3bef62..3c883e8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "water.css", "version": "2.0.0", "description": "A drop-in collection of CSS styles to make simple websites just a little nicer", - "main": "index.js", + "main": "out/water.css", "scripts": { "build": "gulp build", "dev": "gulp watch", diff --git a/src/parts/_typography.css b/src/parts/_typography.css index a4a16d4..2d275b7 100644 --- a/src/parts/_typography.css +++ b/src/parts/_typography.css @@ -82,3 +82,8 @@ mark { padding: 0 2px 0 2px; color: #000; } + +a > code, +a > strong { + color: inherit; +}