New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cirro-designsystem

Package Overview
Dependencies
Maintainers
1
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cirro-designsystem

The Cirro Design System provides a set of tools to help designers and developers build products and services more easily. Our custom TailwindCSS config file, component classes, and HTML snippets offer a starting point for development.

latest
Source
npmnpm
Version
2.27.4
Version published
Maintainers
1
Created
Source

Cirro Designsystem

CircleCI version

https://designsystem.cirro.io/ (Live deployment)

Installation

  • Install the package and save it as a dependency:

    yarn add cirro-designsystem
    
  • Import the system in your Sass manifest:

    @import "cirro-designsystem/src/_assets/stylesheets/cirro/app";
    
  • Make sure your postcss.config.js looks like below:

    module.exports = {
      plugins: [
        require('postcss-import'),
        require('postcss-nesting'),
        require('tailwindcss')('./node_modules/cirro-designsystem/src/_assets/stylesheets/cirro/tailwind.config.js'),
        require('postcss-simple-vars')(
          {
            variables: {
              package_path: '~cirro-designsystem/src/_assets',
              fonts_path: '~cirro-designsystem/src/_assets/stylesheets/cirro/components/fonts'
            }
          }
        ),
        require('autoprefixer'),
      ]
    }
    
  • Import the system in your Javascript manifest:

    import "cirro-designsystem/src/_assets/scripts/app.js"
    

Debugging

ForOfStatement runtime error

Screenshot 2022-11-18 at 13 28 58

Change your .browserslistrc to

defaults, ie >= 11

Development

Requirements

  • Node.js
  • NPM (comes with Node.js)

Install dependencies

npm install --lockfile-version 1

Working locally

Starts watch tasks to compile when changes detected

# Change the name of app in package.json file Eg: APP=cirro on "start" task as per your wish
npm start

Creating a production build

Minify HTML, compress JS, inline and minify CSS.

npm run build

Publishing to registry

  • Make sure to update the version number in package.json file for every pull request
  • CircleCi will take care of publishing to npm and also adding a tag when the commits are merged to master
  • CircleCI will publish it only if the package version has been increased

FAQs

Package last updated on 14 Jan 2026

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