Giter VIP home page Giter VIP logo

libsass-experiments's Introduction

##A project made with LibSass that plays with color, design, and photography in the context of Sass, Grunt, Bourbon, and Neat

This is an experimental project to explore LIbSass, Grunt, Node NPMs, Bourbon Sass, Neat, and more. The reason I started to play around with these is that I want to learn new things and my current Ruby Sass / Compass / Susy compile times were getting abysmal.

Enter LibSass! It breaks the Ruby Compass Sass bottleneck and compile times with LibSass are crazy fast, even for complex loops and functions. Although LibSass is not quite up to feature parity yet with Ruby Sass, it's in the works. You can take a look at Hugo Giraudel's Sass Compatibility site which includes LibSass.

##Introduction

LIbSass Experiments is multi-faceted, it contains the main 1.x-dev branch where all the development happens. Think of this as the master branch. Then there is a git sub-module for the gh-pages branch which is the actual Jekyll generated site. This setup allows for a streamlined workflow. To achieve this setup, I loosely followed Bernd Jünger's tutorial, Generate GitHub pages in a submodule

##Get up and running with this repo

To get up and running, you'll need a few things

  • You'll need Node.js installed locally. This is pretty easy to install, there's installers for download at the site. Node allows us to easily install all the NPM packages that this project depends on.

  • Clone this repo to your local, checkout 1.x-dev and then run npm install. (Note you may need to preface the command with sudo depending on your setup.)

  • Run grunt and jekyll serve, make a few code changes and watch the speed of Grunt and LibSass. You can preview any changes at http://localhost:4000/.

  • If you want to push this code to your own repo / site, you can adjust the site url and other settings in config.yml to suit your needs. Check out the Jekyll documentation for more info.

Your local top level directory structure should look something like this if all went well with npm install

|____css
|____gruntfile.js
|____index.html
|____node_modules
| |____grunt
| |____grunt-contrib-watch
| |____grunt-sass
| |____node-bourbon
| |____node-neat
| |____[etc...]
|____package.json
|____sass
| |_____(partials here...)
| |____styles.scss
| |____normalize.scss

##Node Modules used

##@TODO

Here are some ideas that I have for this project going forward.

  1. Add favicon and retina touch icons
  2. Add CSS comb, a CSS formatter, or prettifier
  3. Covert to Jekyll?
  4. Add photo gallery

libsass-experiments's People

Contributors

danny-englander avatar

Stargazers

 avatar

Watchers

 avatar  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.