https://github.com/zokioki/spectre_scss
Spectre.css assets bundled for Rails
https://github.com/zokioki/spectre_scss
Last synced: about 1 month ago
JSON representation
Spectre.css assets bundled for Rails
- Host: GitHub
- URL: https://github.com/zokioki/spectre_scss
- Owner: zokioki
- License: mit
- Created: 2017-09-01T01:36:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-11-19T08:05:41.000Z (over 2 years ago)
- Last Synced: 2025-04-13T08:12:01.488Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 94.7 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Spectre.scss
[](https://badge.fury.io/rb/spectre_scss)
[Spectre](https://picturepan2.github.io/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:
```ruby
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`:
```scss
@import "spectre";
```
Or, import components as needed:
```scss
// 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](http://opensource.org/licenses/MIT).