0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Atomic CSS from WorkingNotWorking.com
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 10.0

Runtime

~> 2.2
 Project Readme

EnglishTea

Atomic CSS from WorkingNotWorking.com

Installation

Add this line to your application's Gemfile:

gem 'english_tea'

And then execute:

$ bundle

Or install it yourself as:

$ gem install english_tea

Include in your application.css file:

*= require english_tea

Alternatively you can include individual modules by using the index to include an entire module:

*= require english_tea/setup
*= require_tree english_tea/typography

@import 'english_tea/setup';
@import 'english_tea/typography';

Or just include the submodule you want directly:

*= require english_tea/typography/fonts

@import 'english_tea/typography/fonts';

Customization

You can override things like colors, fonts and sizing like so:

$english_tea: (
  "type-font-title": ('Comic Sans', 'Helvetica Neue', sans-serif),
  "color-1": (#a2f4fc, #2fa6ba, #248798, #1a7180)
);

@import 'english_tea';

Check out app/assets/stylesheets/english_tea/setup/_config.scss for the full list of default variables that you can override.

Documentation

See https://workingnotworking.com/styleguide for tons of usage examples (coming soon).

License

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