Git Product home page Git Product logo

musterknabe's Introduction

musterknabe is my collection repository for gulpfile and frontend styling ‘wisdom’ (anno domini 2017, thus a little outdated)

think development notes, scaffolding, sample project

A reference collection of my frontend styling experience. No rocket science, but useful to keep a reference in one place with all those learning on the go :) Easier than hiding the stuff in “development notes” in some way.

styles:

What to bring in first, what last and how to modularize the entire thing in a meaningful order (not just random globbing), see master.styl

sprites

general npm / nodejs / package / project stuff


Usage

Well... mostly this is about looking up stuff, but anyway, to run:

gulp scss — to build scss (aka sass) styles

gulp stylus — to build stylus styles

use switch --type production to get minified styles (under same name). stylesheet <link> in index.html still needs manual adjustment.

npm start — automatically runs server.js (since no npm script target defined), opening on port 3000 (or respective env.PORT override)

gulp watch-stylus – does just that. I use the Chrome LiveReload plugin for automatic refresh. (doesn't inject extra code into the page like browsersync did, rather listens on another (high) port and gets notified on changes there)


TODO — styles

  • div-ish reset for html5 tags (aside, main, figure, figcaption, ...)
  • Have typical breadcrumb (wrapped, and plain ul-li)
  • Reference Photoshop Action for saving x3, x2, x1
  • form styling
    • fancy radios and checkboxes
  • updates sass corresponding stuff

TODO - gulpfile

  • explicit, submittable html version (excempt from gitignore)
  • finish dev vs. production output (--type production resp. [cross-]env)
  • further minification matters
  • revisit watch

License

With the exceptions listed directly below, the contents of this project are released under the (very permissive) terms of the MIT license. The MIT License is simple and easy to understand and it places almost no restrictions on what you can do with the Project.

musterknabe's People

Contributors

nocke avatar

Stargazers

 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.