• Stars
    star
    1,326
  • Rank 35,449 (Top 0.7 %)
  • Language SCSS
  • License
    MIT License
  • Created almost 8 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

โ˜๏ธ The SCSS framework for the modern web.

Cirrus

v.0.7.1 MIT License Github Actions Known Vulnerabilities Known Vulnerabilities Reviewed by Hound Featured on Openbase

A component-and-utility-centric SCSS framework designed for rapid prototyping. Use beautiful pre-built components to bootstrap your next project and utility classes to polish your final design.
Check out the docs ยป

Request Feature / Report a Bug / Examples

โœจ Features

  • ๐ŸŽจ Beautiful Components - Beautifully designed components come right out of the box for rapid prototyping.
  • ๐ŸŽˆ Sass First - Forget bundling tons of JavaScript with each component. All styles require no JS for interactions/functionality (see Modals, Dropdowns, etc.).
  • ๐ŸŒˆ Configuration at its Core - Add additional components, remove utility classes, disable features, etc. Cirrus takes a generative approach to building your stylesheets.
  • โšก Lightweight - A large amount of features with a minimal footprint.
  • ๐Ÿ“ฑ Responsive - Fully responsive by design.
  • ๐Ÿ’ป Vscode Extension Support - Install it here.
  • ๐Ÿคนโ€โ™‚๏ธ Playground - Try out whatever experiment you want with Cirrus here.

๐ŸŽฏ Supported Browsers

Cirrus relies on What CSS to prefix? to determine which selectors need prefixes.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Electron
Electron
IE11, Edge last 3 versions, ESR last 3 versions last 3 versions last 3 versions last 3 versions

๐Ÿ“ฆ Install

Npm

npm install cirrus-ui

Yarn

yarn add cirrus-ui

CDN

For CDNs, it is recommended to attach a specific versions to the URLs to avoid unexpected updates to maintain consistency in your project.

Unpkg
<link rel="stylesheet" href="https://unpkg.com/cirrus-ui">
JsDelivr
<link rel="stylesheet" href="https://www.jsdelivr.com/package/npm/cirrus-ui">

Check out the Setup guide for more information.

๐Ÿ”จ Usage

Basic Page

<!DOCTYPE html>
<html>
  <head>
    <title>Hello World</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge;" />
    <link href="https://unpkg.com/cirrus-ui" type="text/css" rel="stylesheet" />
    <link href="https://fonts.googleapis.com/css?family=Nunito+Sans:200,300,400,600,700" rel="stylesheet" />
    <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" />
  </head>
  <body>
    <h1>๐Ÿ‘‹Hello World</h1>
  </body>
</html>

React

import { StrictMode } from "react";
import ReactDOM from "react-dom";

import App from "./App";

import 'cirrus-ui'; // You can import it here if you want

const rootElement = document.getElementById("root");
ReactDOM.render(
    <StrictMode>
        <App />
    </StrictMode>,
    rootElement
);

Vue

import Vue from 'vue';
import App from './App.vue';

import 'cirrus-ui';

Vue.config.productionTip = false;

new Vue({
    render: (h) => h(App),
}).$mount('#app');

Svelte

import App from "./App.svelte";
import "cirrus-ui";

const app = new App({
    target: document.body
});

export default app;

Sass/Scss

@use "node_modules/cirrus-ui/src/cirrus-ext" as * with (
    $config: (
        excludes: (
            ABSOLUTES,
        ),
        opacity: null, // Disable default opacity classes
        extend: (
            // Add your own
            opacity: (
                25: .25,
                50: .5,
                75: .75,
            )
        )
    ),
);

Check out the Setup guide for more information.

๐Ÿ’ป Development

Use Gitpod, a free online dev environment for GitHub.

Open in Gitpod

Or clone locally:

$ git clone [email protected]:Spiderpig86/Cirrus.git
$ cd cirrus
$ yarn install
$ yarn watch

๐Ÿ”ฎ What's Included

  • Base - base styles.
    • Animations
    • Default
    • Font
    • Grid
    • Layout
    • Media
    • Modifiers
    • Spacing
  • Builds - build files for core and ext.
  • Components - framework components.
    • Accordion
    • Avatar
    • Breadcrumb
    • Button
    • Card
    • Code
    • Footer
    • Forms
    • Frames
    • Header
    • Links
    • Lists
    • Modal
    • Pagination
    • Placeholder
    • Progress
    • Table
    • Tabs
    • Tags
    • Tiles
    • Toast
    • Tooltips
  • Internal - internal APIs, functions, constants, etc.
  • Utils - utility classes.
    • Absolute
    • Blur
    • Border
    • Clearfix
    • Display
    • Flex
    • Misc
    • Opacity
    • Overflow
    • Position
    • Shadow
    • Transitions
    • Z-Index

๐Ÿ‘ Related Projects

Project Description
vue-cirrus Cirrus components for Vue.js with straightforward syntax
cirrus-blocks A collection of beautiful components built with Cirrus ready to be copied and pasted.
cirrus-reset A simple CSS reset from Cirrus.

๐Ÿ“ฐ License and Attribution

Cirrus is licensed under the MIT license. If this frame work has helped you in any way, attribution in the footer of your website would be much appreciated.

FOSSA Status

๐Ÿค Contributing PRs Welcome

Read our contributing guide and improve Cirrus together.

We welcome all contributions. Please read our CONTRIBUTING.md first. You can submit any ideas as pull requests or as GitHub issues. If you'd like to improve code, check out the Development Instructions and have a good time! :)

When creating issues, please follow the templates provided for the issue type you selected. The added detail and formatting will help me understand and resolve your issue faster.

Let's fund issues in this repository

โค๏ธ Sponsors and Backers

I would greatly appreciate any support for the continued development of this project. ๐Ÿ˜„

More Repositories

1

TimeGPT

๐Ÿค– AI-powered time and dates.
TypeScript
106
star
2

Spiderpig86

๐Ÿ’Ž Me. This is a self-updating README. Star it if you like it :)
JavaScript
92
star
3

spottr

๐ŸŒต Your Spotify stats all in one place.
TypeScript
44
star
4

MetroMapMaker

๐Ÿš„ Build the metro map of your dreams.
Java
17
star
5

MaterialDark

๐ŸŒŒ A gorgeous dark theme for Chrome.
17
star
6

CSStoUserScriptConverter

A simple application that converts CSS to UserScripts for GreaseMonkey, TamperMonkey, and other UserScript clients.
C#
15
star
7

Nimbus

๐ŸŽถ A new way to discover songs and artists on SoundCloud.
JavaScript
13
star
8

SmoresUnderflow

โ™จ๏ธ A scalable StackOverflow clone powered by microservices.
TypeScript
12
star
9

focus.js

๐ŸŒ† An experimental image zooming library.
JavaScript
9
star
10

blog

๐Ÿ’ญ Maybe some extraterrestrial will read this someday.
JavaScript
7
star
11

phraze

๐Ÿ”“ A quick memorable pass phrase generator for HackCEWIT 2018. Original repository.
HTML
6
star
12

coronavirus-us-api

๐Ÿฆ ๐Ÿ‡บ๐Ÿ‡ธ A fast (< 400ms) microservice for live statistics on Coronavirus/Covid-19/SARS-CoV-2 impact on the US.
Python
6
star
13

vsco.css

๐Ÿ“ท Popular VSCO presets for the web.
CSS
5
star
14

ClubWebsiteHTML

The webpages for the SBUWADC website.
HTML
4
star
15

gerry-frontend

๐ŸŽจ Front-end for CSE 308 project.
TypeScript
3
star
16

CSE220Recitation

Recitation code for CSE 220.
Assembly
3
star
17

ImageToIcon

A simple C# image to icon converter.
C#
3
star
18

to-go

๐Ÿœ Simple web app for aggregating open restaurants in US/Canada cities during Covid-19.
TypeScript
3
star
19

MIPSPlusPlus

๐Ÿ’ป A lightweight framework for MIPS Assembly.
Assembly
3
star
20

dotfiles

๐Ÿš Some dotfiles.
Shell
3
star
21

espresso

โ˜• Control when your computer sleeps more flexibly.
C#
3
star
22

GSearch

โšก A portable library for fetching Google Search suggestions for .NET applications.
C#
3
star
23

GitStuffDone

๐Ÿ“˜ Common git commands simplified.
3
star
24

TheGame

Not sure what to call it yet.
Java
2
star
25

AndroidReference

Just a place for me to upload small snippets with explanations of what each thing does just in case I forget.
Java
2
star
26

DeepSleep

๐ŸŒ‰ Better sleeping times powered by React.
JavaScript
2
star
27

vsc-mock

๐Ÿฆ Generate mock data on the fly.
TypeScript
2
star
28

supavault

๐Ÿ”’ A simple library + cli to backup and restore your Supabase data.
TypeScript
2
star
29

TSARandomizer

Just a few ways to implement what the TSA paid $336,413.59 to IBM for.
Visual Basic
2
star
30

Attendance

๐Ÿ”‘ A fast live image ID verification system for clubs.
Java
2
star
31

ImageScanner

Java
1
star
32

Snek

๐Ÿ Long live snek
JavaScript
1
star
33

NoSurfTube

โณ An extension to remove suggested/recommended videos on YouTube.
JavaScript
1
star
34

WebAssemblyDice

๐ŸŽฒ Simple dice rolling powered by WebAssembly.
WebAssembly
1
star
35

CSE-214

Homework assignments for the Data Structures class.
Java
1
star
36

gitta

:octocat: Personalized git commit messages.
TypeScript
1
star
37

PyClosure

โš™๏ธ A CLI app that supports batch compilations using the Closure compiler.
Python
1
star
38

HTMLTutorialSite

A website dedicated to teaching the basics web development.
HTML
1
star