GithubHelp home page GithubHelp logo

wxmn / neat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thoughtbot/neat

0.0 1.0 0.0 1.52 MB

[no longer maintained]

Home Page: https://neat.bourbon.io/

License: MIT License

Ruby 45.08% JavaScript 2.30% HTML 7.93% SCSS 44.69%

neat's Introduction

Neat logo

Reviewed by Hound

A lightweight and flexible Sass grid

Note: This project is no longer maintained. We favor and encourage people to use native CSS features like Grid and Flexbox. Float-based grid frameworks like Neat are no longer necessary.

Neat is a fluid grid framework with the aim of being easy enough to use out of the box and flexible enough to customize down the road.

Helpful Links

Table of Contents

Requirements

Installation

  1. Install the Neat gem using the RubyGems package manager:

    gem install neat
  2. Install or update Neat’s dependencies:

    gem install sass # or gem update sass

    Pro Tip: You can target installation into a specific directory using the path flag:

    neat install --path my/custom/path/
  3. Install the Neat library into the current directory:

    neat install
  4. Import Neat in your stylesheet:

    @import "neat/neat";

    It’s not recommended to add or modify the Neat files so that you can update them easily.

Installation for Ruby on Rails 4.2+

  1. Add Neat to your Gemfile:

    gem "neat"
  2. Then run:

    bundle install

    If you see the error Bundler could not find compatible versions for gem "sass", run:

    bundle update sass
  3. Import Neat in your application.scss:

    @import "neat";

    It should be noted that @import rules are not compatible with Sprockets directives. You need to use one or the other.

Installing with npm and using a Node-based asset pipeline

  1. Add Neat as a dependency:

    npm install --save bourbon-neat
  2. If you’re using eyeglass, skip to Step 3. Otherwise, you’ll need to add Neat to your node-sass includePaths option. require("bourbon-neat").includePaths is an array of directories that you should pass to node-sass. How you do this depends on how node-sass is integrated into your project.

  3. Import Neat into your Sass files:

    @import "neat";

Installing older versions of Neat

  1. Uninstall any Neat gem versions you already have:

    gem uninstall neat
  2. Reinstall the Neat gem, using the -v flag to specify the version you need:

    gem install neat -v 1.8.1
  3. Follow the instructions above to install Neat into your project.

Command Line Interface

neat [options]

Options

Option Description
-h, --help Show help
-v, --version Show the version number
--path Specify a custom path
--force Force install (overwrite)

Commands

Command Description
neat install Install Neat into the current directory
neat update Overwrite and update Neat in the current directory
neat remove Removes Neat from the current directory
neat help Show help
neat version Show the version number

The Bourbon family

  • Bourbon: A lightweight Sass tool set
  • Bitters: Scaffold styles, variables and structure for Bourbon projects

Contributing

See the contributing document. Thank you, contributors!

License

Neat is copyright © 2012 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the license.

About

Neat is maintained by the thoughtbot design team. It is funded by thoughtbot, inc. and the names and logos for thoughtbot are trademarks of thoughtbot, inc.

thoughtbot logo

We love open-source software! See our other projects or hire us to design, develop, and grow your product.

neat's People

Contributors

andryusha avatar apostoiis avatar aqeelfikree avatar clooth avatar davejtoews avatar dependabot-preview[bot] avatar dependabot-support avatar kennethormandy avatar kgcreative avatar kylefiedler avatar laurens avatar lukemelia avatar lukerollans avatar matsu911 avatar mehlah avatar mike-burns avatar nc avatar prakashmurthy avatar pusewicz avatar salbertson avatar tmikoss avatar torbjon avatar tow8ie avatar tute avatar tysongach avatar vesln avatar vis-kid avatar wardpenney avatar whmii avatar wxmn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.