Code Monkey home page Code Monkey logo

sasstask's Introduction

sassTask

Sass task from Lemon Code Master (Sesion 2 : 24/2/2018)

  • Given a color, a color palette is created with tones.

How to use

  • Clone this repo (You will need to have Node.js installed)
  • Open a command prompt inside project folder.
  • Execute npm install to install dependencies
  • Execute npm run sass to build CSS
  • Execute npm start to see the result (You can open http://localhost:9005 if your browser doesn't open automatically.

sasstask's People

Contributors

dailymp avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

sasstask's Issues

Code enhancement

  • I like the $variation usage inside get-color-pallete. ๐Ÿ‘
  • Reusability: It would be great to encapsulate both @for directives inside a mixin that receives a color and generate classnames, thus you can pass $color even $howManyClassNames you want to generate. This could allow to create multiple color palettes.
  • Naming convention: It would be nice to add "lighter" or "darker" to those classnames to know what I'm applying instead of div-8, or div-2. E.g. (red-darker-4 could symbolize the given color - if only one can be created - with 4 darker tones. What do yo think about $color-lighter|darker-$scale?

Overall you did a great job ๐Ÿ‘ ! Keep it up!

Edit:

  • Remove npm-debug.log and add it to .gitignore to prevent uploading it.
  • Add to README.md a "how to use this repo to see your results" It would be:

How to use

  1. Clone this repo (You will need to have Node.js installed)
  2. Open a command prompt inside project folder.
  3. Execute npm install to install dependencies
  4. Execute npm run sass to build CSS
  5. Execute npm start to see the result (You can open http://localhost:9005 if your browser doesn't open automatically.

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.