.pipe(sassGlob())
.pipe(sass(["last 2 version", "> 2%"]))
.pipe(autoprefixer())
.pipe(cssbeautify())
.pipe(gulp.dest("./dist/assets/css/"))
.pipe(cssnano())
.pipe(
rename({
suffix: ".min",
extname: ".css",
})
)
.pipe(gulp.dest("./dist/assets/css/"))
Root styles in the bootstrap framework contain these lines: --bs-form-valid-border-color: #198754; --bs-form-invalid-color: #dc3545; --bs-form-invalid-border-color: #dc3545 }
When using cssnano(), the modification is made from --bs-form-invalid-border-color:** #dc3545 to border:1px solid #dc3545; How can this alteration be prevented?
https://i.sstatic.net/9TxcVvKN.png Red HTML border =)