Socket
Socket
Sign inDemoInstall

nibble

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nibble

CSS Framework based on nib.


Version published
Weekly downloads
71
Maintainers
1
Install size
39.8 kB
Created
Weekly downloads
 

Readme

Source

Nibble!

Nibble is a CSS framework built on top of nib and strongly influenced by foundation.

It provides a grid system and basic elements like buttons and menu items.

It's like nibbling on a flying spaghetti monster's tentakle.

Lots (maybe all) of the credit goes to foundation. I have taken many ideas and lots of CSS code from their lib. I'm just not that big of a SCSS fan...

Installation

$ npm install nibble

Make sure you also install nib.

This is an example how you would include nib and nibble in your framework:

var connect = require('connect')
  , stylus = require('stylus')
  , nib = require('nib')
  , nibble = require('nibble');

var server = connect();

function compile(str, path) {
  return stylus(str)
    .set('filename', path)
    .set('compress', true)
    .use(nib()
    .use(nibble());
}

server.use(stylus.middleware({
    src: __dirname
  , compile: compile
}));

Documentation

To include all of nibble's elements you write this in your .styl file:

@import "nibble"

This includes nib and all of nibble's functionality.

You can also cherrypick the components you want instead of importing the whole lib. In this case, make sure that you include the setup.styl file

@import "nibble/setup"

which includes the settings, functions and mixins needed by nearly all components.

I'll add more documentation soon. Please refer to the nibble folder for now on which elements exist.

FAQs

Last updated on 05 Dec 2012

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc