@alamantus/lighter v1.2.1
lighter 🔥
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
- 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" />
- (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" />
- 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
- Clone this repository (https://www.github.com/alamantus/lighter)
- Make sure you have npm installed
- (for Windows) Install
windows-build-toolsso you can install stuff - Run
npm installin the root directory oflighter - Once that is completed, run
npm run buildto build the minified version and the gzipped file. - If you are making changes live, use
npm run watch.watchwill build the minified css file in./distwhenever there is a change in./src/lighter.css.