Giter VIP home page Giter VIP logo

styleguide's Introduction

Style guide

Getting started

First of all, decide where you want your local copy to be and clone the project:

git clone [email protected]:Knewton/styleguide.git

In order to run your local copy, you'll need to install a bunch of dependencies: npm, grunt, bower. Make sure you're using sudo, if you run into permission issues.

brew install node
gem update --system && gem install scss-lint && gem install compass
npm install -g grunt-cli bower

To setup:

npm install
bower install

To run:

grunt run
open dist/index.htm

Grunt run takes care of compiling and building tasks, and watches any new changes to the code and recompiles and builds whenever new changes are made.

Similarly, you can setup a server that automatically, compiles, builds and reloads the style guide whenever changes are made.

grunt server

To configure your sublime text to use only 2 spaces per tab for scss, install the scss plugin, open a .scss file, and open preferences > settings - more > syntax specific, and paste: { "tab_size": 2, "translate_tabs_to_spaces": true }

Requirements

Tasks

To add in the future

  • git submodule
  • minifier
  • spritifier

Misc:

  • put the bootstrap dependency inside the style package?
  • duster for autorecompiling
  • client side dust rendering
  • how to do event driven (pubsub)
  • helpers:
    • formatDate
    • plural

Todo: headers: -webkit-font-smoothing

styleguide's People

Contributors

allinallin avatar lud2k avatar rcarton avatar sharanyavenkat avatar francamps avatar pixelpony avatar aterkik avatar mkollins avatar mikeboyle 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.