0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
Spectre is a lightweight, responsive and modern CSS framework.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1.0
~> 12.3.3
~> 3.0
 Project Readme

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.