Spectre.scss

Gem Version

Spectre is a lightweight, responsive and modern CSS framework. This gem packages the Sass version of Spectre's assets for drop-in use in Rails applications.

Installation

Add this line to your application's Gemfile:

gem 'spectre_scss'

And then execute:

$ bundle

Or install it yourself as:

$ gem install spectre_scss

Usage

Once installed, add the following to your application.scss:

@import "spectre";

Or, import components as needed:

// Core variables and mixins
@import 'spectre/variables';
@import 'spectre/mixins';
@import 'spectre/utilities';

// Reset and dependencies
@import 'spectre/normalize';
@import 'spectre/base';

@import 'spectre/buttons';
@import 'spectre/navbar';
@import 'spectre/tables';

License

The gem is available as open source under the terms of the MIT License.