Git Product home page Git Product logo

pakpao--fed's Introduction

Pakpao — built with Ristretto

A Starter Kit & Style Board

Eye opening essentials to get you up and out the door in a hurry. Ristretto is a straight shot of essentials with lush overtones of typography and semantic markup.

Powerful. Lightweight. Ristretto.


The easiest way to get started with Foundation + Compass.

Requirements

  • Ruby 1.9+
  • Node.js: Clicky install
  • compass: Run gem install compass
  • bower: Run npm install bower -g

Quickstart

Then when you're working on your project, just run the following command:

compass watch

Updating

If you'd like to upgrade to a newer version of Foundation down the road just run:

cd MY_PROJECT foundation update


A Closer Look

Compass is a library of common elements, equations and helper styles that is kept up-to-date by a community of developers and is useful for rapid development and leaner code.

Scut is a compilation of commonly used patterns neatly folded into handy mixins. Centering in the unknown has never been so easy!

Foundation 5 now gives you the option to turn off output within each component—now you can build semantically with includes and trim off the grid class fat.

Both Sass and Compass are Ruby Gems and will need to be installed via command line or terminal (if you're on a mac you're already rocking Ruby baby).

You can compile using a GUI like Codekit or go hardcore and just use command line. Either way it's pretty easy to get up and running.

You'll find documentation on both the Sass and Compass websites on how to install and use these tools. If you plan on installing Compass (and you'll need to), then you shouldn't need to install Sass separately.

To install compass on a Mac open Terminal and type:

$ gem update --system

This will update the system. Then

$ gem install compass

To install compass

If you have trouble, try using the 'sudo commands' (with care) to access the correct level of permissions. E.g

$ sudo gem update --system $ sudo gem install compass


CSS Setup

Output lives in the assets folder (this is set in config.rb). The nuts and bolts are stored in bower_components. The core scss-both Foundation and custom styles-live in bower_components/foundation/scss. For Telegraph, we store our custom styles in this same directory inside telegraph-components

Telegraph-Settings.scss

This contains all the variables for the site. Things such as colours and font sizing live here. This file is for defining your core set-up and makes use of compass' baseline and font-size measures. More on that later.

Mixins.scss

Mixins contains any user made mixins for the project. It includes some simple ones to get you started. Add more as needed.

Typography.scss

This file contains the core typesetting for the site. It relies on variables set-up in the settings.scss file. If you don't wish to use compass's rhythm method, you can leave this out.

pakpao--fed's People

Contributors

bradfordbradford avatar

Watchers

James Cloos 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.