Coder Social home page Coder Social logo

lm-foundation's Introduction

LM-Foundation

Custom ZURB-Foundation Framework Fork. Created to provide a stylus-based version of Foundation with a simplified and clean code structure. Currently based on Foundation 5.x

=============

This project is a conversion of ZURBs Foundation Framework-Syntax from SASS/SCSS to Stylus. So we can use NodeJS. We try to keep all changes manually in sync with ZURB-Foundation!

Dependencies

  • NodeJS
  • Grunt
  • Yaml
  • Stylus
  • Jeet.gs
  • jQuery
  • Modernizr

Installation

  1. Install NodeJS using the Installer binary available from http://nodejs.org/
  2. Install packages via console (Mac OS "Terminal.app"): Switch to your local project directory using the console (terminal.app) and run the following command:
npm install

maybe a sudo is required in some environments (e.g. Mac os). This will install all dependencies defined in package.json.

NOTE:

  • The Project is in alpha state and for internal use only!

  • Instead of the module.export() function we use stylus' @require method to import all .styl files in "lm-foundation.styl". This avoids redundant loading.

  • All style overrides can be done in "_global/lm-foundation/_settings.styl". The outcommented code segments could be outdated! So look in the corresponding .styl files first, for the actual available variables. New or custom settings and variables can be defined in "custom/_settings.styl". Inside of the "custom" directory you can also implement your own .styl files for your projects.

  • I changed the indentation to 4 spaces instead of 2 spaces. This settings proved to be the best coding environment for me using widescreen displays.

  • The jeet.gs grid framework is integrated as a support for situations, where the foundation grid framework will not work flawlessly, e.g. in the _productlisting.styl!

  • There is an Internet Explorer 8 Fallback functionality implemented! Simply use the $ie8 stylus variable (true for ie) which can be used in every .styl for conditional stylings only for ie8. The Grunt build system compiles two different files: a "normal" styles.css and an ie8.css.

Namespace:

  • I shortened the Namespace of some classes a bit. So .button is .btn and the grid classes are -sml, -med, -lrg, -xlrg, -xxlrg instead of the longhands -small, -medium a.so. Every bit of saved code matters!

Deprecated and unused Components:

  • Foundation Orbit: We use "Slick Slider" instead

lm-foundation's People

Contributors

luxmedia avatar

Stargazers

 avatar

Watchers

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