Lightweight CSS Library made with SASS and inspired by Bootstrap. Gulp.js is used for compiling sass files to css and for debuging. Library can be used for multiple html pages inside of the work directory.
👉 Button (ex. .btn-"color", .btn-outlined-"color", .btn-complement-"color")
👉 Card (includes: .card-title, .card-body)
👉 Navbar (includes: .navbar-title)
👉 Dark and white variations for each color (ex. .text-"color"-dark-"1-9")
👉 "primary"
👉 "secondary"
👉 "error"
👉 "info"
👉 "blue"
👉 "red"
👉 "yellow"
👉 "green"
👉 "orange"
👉 "purple"
👉 "gray"
👉 "black"
👉 "white"
👉 Font sizes (ex. font-size-sm, font-size-lg, .font-size-xl, .font-size-xxl)
👉 Colors for text and background of text (ex. .text-"color", .bg-"color"-light-"1-9")
👉 Hover effects (ex. .text-hover-"color")
👉 Extra small
👉 Small
👉 Medium
👉 Large
👉 Extra large
👉 Padding (Padding left, right, top, bottom) (ex. .pl-1, .pr-2)
👉 Margin (Margin left, right, top, bottom) (ex. .ml-1, .mr-2)
👉 Opacitiy (ex. .0-20, .0-10)
👉 Border-radius (ex. .br-xs, .br-full)
👉 Display (ex. display-f, display-n)
👉 Font size (ex. .font-size-sm, .font-size-md)
Similiar to Bootstrap grid, devided by rows and columns.
👉 ex. .col-"1-12"-xs, .col-"1-12"-md
👉 Grid gap (ex. .gap-"1-3")
Gulp compiles all css classes which are then purged by gulp.purgecss package. Basically all classes that aren't used in html file are deleted.
All default library definitions can be overriden in the ./sass/index.scss file. Write overrides above the "@import 'ice'" line.
Clone this repository
$ git clone https://github.com/DBDoco/ICE-CSS-Library.git
Go into the repository
$ cd ICE-CSS-Library
Install dependencies
$ npm i
Compile
$ gulp