0.14.1 • Published 2 years ago

@sippy-platform/mellow-css v0.14.1

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
2 years ago

Mellow CSS

The Mellow Design System is the design language used for Sippy starting with the 2022 design refresh. For an (early) implementation of the design system, see Sippy.cloud.

Development

Initial setup

  1. Clone this repository.
  2. Run npm install to install de npm dependencies.

Starting development server

  1. Run npm start to start the script that will watch and (re)compile Mellow when changes are made as well as launch the documentation ot http://localhost:1313.

Scripts

Mellow CSS contains a number of npm scripts. We'll list their function below:

ScriptPurpose
bundlewatchChecks if the CSS size is below a given threshold configured in package.json.
cleanRemoves the /dist folder.
docs:buildBuilds the documentation into the /build folder.
docsRuns the documentation server on localhost:1313.
js:compileCompiles the JS as configured in build/rollup.config.js into the /dist folder.
js:minifyCompresses the javascript in the /dist folder with Terser.
jsRuns js:compile, then js:minify.
lintRuns js:lint and scss:lint.
prepareScript that runs automatically by npm, will run prod.
prodRuns clean, then scss, then js.
scssRuns scss:lint, then scss:compile, then scss:prefix, then scss:copy.
scss:compileCompiles the SCSS to the /dist folder.
scss:copyMerges all SCSS files and provides it as dist/mellow.scss.
scss:lintRuns scss:lint:style and scss:lint:vars.
scss:lint:styleRuns stylelint.
scss:lint:varsRuns a check for unused vars in the SCSS.
scss:prefixRuns PostCSS to properly prefix all CSS features that need it.
startRuns docs and watch.
watchRuns watch:js:core, watch:js:docs, watch:css:core, and watch:css:docs.
watch:js:coreRuns js while watching js/src.
watch:js:docsRuns js:lint while watching hugo/assets/js/.
watch:scss:coreRuns scss while watching scss/.
watch:scss:docsRuns scss:lint while watching hugo/assets/scss/.

License

AGPL v3

0.13.0

2 years ago

0.14.0

2 years ago

0.14.1

2 years ago

0.10.0

2 years ago

0.11.0

2 years ago

0.10.1

2 years ago

0.9.0

2 years ago

0.8.1

2 years ago

0.12.0

2 years ago

0.11.1

2 years ago

0.8.0

2 years ago

0.7.0

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago