Skip to content
forked from ajusa/lit

a ridiculously small full responsive 🔥 css framework

License

Notifications You must be signed in to change notification settings

Alamantus/lighter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lighter 🔥

npm min+gzipped size install size Downloads

a ridiculously small responsive css framework.

ajusa challenged themself to see how small they could go, but preserve everything Skeleton, Milligram, and other micro frameworks have to offer.

Features

  • 12 Column Responsive Grid
  • Typography for h1-h6, and body text
  • Three types of buttons
  • Cards
  • Inputs
  • Table Styles

and a little bit more...

fuel

fuel is an atomic css addon for lighter. Check it out at https://alamantus.github.io/lighter/docs/fuel.html, and check back occasionally for new features!

Getting Started

  1. Install lighter.css with one of the following:
    • NPM: npm install --save @alamantus/lighter
    • CSS3: <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/alamantus/lighter@1.2.0/dist/lighter.css" />
    • CSSNext: <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/alamantus/lighter@1.2.0/src/lighter.css" />
  2. (Optional) Add fuel.css if you want more:
    • CSS3: <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/alamantus/lighter@1.2.0/dist/fuel.css" />
    • CSSNext: <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/alamantus/lighter@1.2.0/src/fuel.css" />
  3. Read the Docs to see usage

Note: lighter uses node-sass to transform from SCSS to CSS3. Each element of lighter and fuel is split into separate "modules" in src/modules, so you can pick and choose what elements to use if you want to customize your style with Sass by @importing what you need.
There is also a CSSNext version preserved and updated from the fork from lit. If you are comfortable outright using CSSNext, you can directly include the lighter.css file in the src directory. Otherwise, use the dist/lighter.css file.

Supported Browsers

lighter supports most modern browsers (Chrome, Firefox, Edge, Opera) but it also has impressive support for older browsers. lighter has been tested on Internet Explorer 11 with no issues.

Development Setup

  1. Clone this repository (https://www.github.com/alamantus/lighter)
  2. Make sure you have npm installed
  3. (for Windows) Install windows-build-tools so you can install stuff
  4. Run npm install in the root directory of lighter
  5. Once that is completed, run npm run build to build the minified version and the gzipped file.
  6. If you are making changes live, use npm run watch. watch will build the minified css file in ./dist whenever there is a change in ./src/lighter.css.

About

a ridiculously small full responsive 🔥 css framework

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • CSS 54.1%
  • SCSS 33.7%
  • JavaScript 12.2%