New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sippy-platform/mellow-css

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sippy-platform/mellow-css

The Mellow Design System.

  • 0.14.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

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

Keywords

FAQs

Package last updated on 22 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc