Giter Site home page Giter Site logo

rolka / takana Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mechio/takana

0.0 3.0 0.0 8.56 MB

Takana lets you see your SCSS and CSS style changes live, in the browser, as you type them

Home Page: http://usetakana.com

License: MIT License

JavaScript 5.71% CoffeeScript 82.97% Shell 0.71% Python 10.61%

takana's Introduction

Takana Logo

Build Status npm version

http://usetakana.com

Takana is a Sass/CSS live-editor. It lets you see your SCSS and CSS style changes live, in the browser, as you type them.

Requirements

  • Currently, Takana supports OSX, Linux and Sublime Text 2 & 3.
  • Takana uses libsass under the hood, if you're using node-sass you'll be fine. However, if you're using the ruby compiler, you may need to refactor your code to get it running with libsass.

Getting Started

Using the CLI

1. Install the CLI

Install the takana command to your system path:

$ npm install -g takana

2. Start takana

Run takana by specifying the root of your project directory:

$ takana /path/to/project_folder

3. Add the JavaScript snippit to your HTML

Now add the JavaScript snippit to any page you want to live update:

<script type="text/javascript" src="http://localhost:48626/takana.js"></script>
<script type="text/javascript">
  takanaClient.run({
    host: 'localhost:48626' // optional, defaults to localhost:48626
  });
</script>

4. You're all set

Finally open the web page that you pasted the snippit into on the previous step. Then open one of its referenced stylesheets in Sublime and start live-editing!

Using Grunt

We maintain a grunt plugin for easy integration with Takana. Head over to mechio/grunt-takana for instructions on getting started.

Contributing

You can install your development folder with

$ npm install

Please adjust unit tests, if you change code. Run tests with:

$ npm test

takana's People

Contributors

barnaby avatar nc avatar mindreframer avatar

Watchers

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