node-sass powered, includes stylelint and prettier, and autoprefix upon build. develop script includes hot-reload via browsersync.
View the documentation > available on Github pages, as well as the index.html
file once you load the project.
-
Select "Use this template" to copy this project into your own new repo.
-
Optional: Run a find/replace for
tdbc
to update to your preferred prefix (or adjust stylelint settings). -
You can customize the
theme
Sass directly, or place overrides to variables at the top of the mainstyle.scss
file before thetheme
file is imported. -
Then continue with the
develop
script and build something rad :)
npm run develop
Serve with hot reload at localhost:1337
npm run build
Generate minified, autoprefixed CSS for production
Use this as the "Publish command" if needed by hosting such as Netlify.
npm run serve
Serve latest build files at localhost:1337
Linting is provided by Stylelint and rules are extended from stylelint-config-standard and prettier-stylelint
npm run lint
Run stylelint and review errors in terminal
npm run lint:fix
Run stylelint with the fix flag to attempt to resolve found errors
You can file it as an issue.