Skip to content

Instantly share code, notes, and snippets.

View dandelany's full-sized avatar
🚀
Building software for people who build spaceships

Dan Delany dandelany

🚀
Building software for people who build spaceships
View GitHub Profile
@dandelany
dandelany / create-flux-client.js
Created November 7, 2014 21:36
Fluxxor flux-client
var Fluxxor = require('fluxxor');
var _ = require('underscore');
// A FluxClient is a special Fluxxor.Store constructor that is a wrapper around a 'client' object.
// Client objects are generally an object containing all the server calls your app can make
// FluxClient allows you to listen for Fluxxor actions and cause them to trigger requests in the client,
// this way your actions can remain pure and don't have to call the client directly.
// It can also dispatch Fluxxor actions when the client request begins and upon request success/failure
// createFluxClient creates a FluxClient constructor from two arguments:
@dandelany
dandelany / materialdesign.less
Created July 8, 2014 19:27
Material Design Colors in LESS
/* colors from Google Material Design
http://www.google.com/design/spec/style/color.html#color-ui-color-palette
*/
@red-50: #fde0dc;
@red-100: #f9bdbb;
@red-200: #f69988;
@red-300: #f36c60;
@red-400: #e84e40;
@red-500: #e51c23;