New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

chameleon-sass

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chameleon-sass

A styleless Sass framework for responsive user interfaces

  • 0.0.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-76.92%
Maintainers
1
Weekly downloads
 
Created
Source

Chameleon

Getting started

Installing in a Rails project

Add to your Gemfile:

gem 'chameleon-sass'

Add to your main Sass stylesheet:

@import "chameleon";

Installing in a Compass project

From the command line:

gem install chameleon-sass

Add to the top of your Compass config file (usually config.rb):

require 'chameleon-sass'

Add to your main Sass stylesheet:

@import "chameleon"

Installing in a Bower project

From the command line:

bower install chameleon-sass

If you are using Compass you can add the import path to your Compass config file (usually config.rb):

add_import_path "bower_components/chameleon-sass/assets/stylesheets/"

Otherwise, you will need to manually add the above path to your @import.

Add to your main Sass stylesheet:

@import "chameleon"

Generating a responsive grid

One of the defining feature of Chameleon is that no CSS is generated until you explictly declare the generation of some classes.

Let's get started by adding some building blocks of a responsive grid:

@include grid-defaults();
@include classes("cols-spaced", $on: ("base" "fablet-up" "tablet-up" "desktop-up"))
@include classes("cols-to-rows", $on: ("base" "mobile" "fablet-down" "tablet-down"))

Keywords

FAQs

Package last updated on 05 Sep 2014

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc