Introducing Cirrus, a modular, responsive, and component centric SCSS framework aimed at bringing not only beautiful, hassle-free styling, but also a better developer experience. Almost all generated styles can be modified via its config style so you can mold the framework to whatever you want.
🎁 Construct your web app or website by composing beautifully designed components.
🛠 Shipped with utility classes to design with scale.
📱 Fully responsive by design.
🎨 Almost fully customizable styles and classes.
⚡ The only file you need is the minified CSS file from a CDN.
Cirrus was built to remove all the overhead associated with designing any app. The framework comes with many different classes that help you quickly construct beautiful looking components quickly without having to come up with your own design.
The example below is constructed using an avatar, tabs, and tiles.
Starting with a full suite of prebuilt components doesn't mean sacrificing control over your design. Cirrus comes with a variety of utility classes to make your idea a reality.
These utility classes help with:
Designing components in a bottom up fashion writing little to no additional CSS.
Sticking to a consistent design system (which you can customize yourself!).
Reducing overhead of class naming, organization, and structuring within your project.
Cirrus comes with lots of functionality in a small package which only consists of a single minified CSS file. No extra JS libraries required. Coming in at 20.6 KB with Brotli compression, page loads are fast and data usage is minimal.
Cirrus is written in Sass, meaning you can leverage the power of Sass right inside your project out of the box. Importing Cirrus into your project is quite simple.
Once imported, you can use Cirrus's mixins, variables, and functions right in your project.
// main.scss@use "cirrus-ui/cirrus-core" as *;// Core build OR@use "cirrus-ui/src/cirrus-ext" as *;// Extended build@screen-above($md){.my-class {background-color:rgba(#{hex-to-rgb(fill('blue','600'))},.25);}}
Cirrus is a framework that is designed to be customized. At its core is a powerful config object that dictates which classes should be generated. This mechanism makes it easy to...
...add additional styles.
// main.scss@use "cirrus-ui/src/cirrus-ext" as * with ($config:(extend:(opacity:(25:.25,75:.75,),round:(50:50%,),),))
...turn off features.
// main.scss@use "cirrus-ui/src/cirrus-ext" as * with ($config:(excludes:( AVATAR, MODAL, PAGINATION, CLEARFIX, OPACITY,)))
...toggle viewport variants for classes.
// main.scss@use "cirrus-ui/src/cirrus-ext" as * with ($config:(viewports:(FLOAT:false,GAP:true,)))
...overwrite defaults.
// main.scss// Note that I am not using the extend keyword@use "cirrus-ui/src/cirrus-ext" as * with ($config:(letter-spacing:(tightest:-.3rem,tighter:-.2rem,tight:-.1rem,)))