GithubHelp home page GithubHelp logo

tomasstankovic / language-less Goto Github PK

View Code? Open in Web Editor NEW

This project forked from csshat/language-less

0.0 1.0 0.0 25 KB

Less language with optional Less Hat library

License: MIT License

CoffeeScript 100.00%

language-less's Introduction

Less (Less Hat)

Install in CSS Hat

This is a template for CSS Hat 2 that generates code in Less language (using LESS Hat Library).

Settings

Inherit Font Styles

If you have a layer with more text styles, template will output just first complete style with all properties and the others will be just diffs (useful if they are childs of the main element - for example <strong> in <p>)

font-family: "Helvetica";
font-size: 12px;

font-weight: bold;

Selector

It will add curly braces and selector to the output

.layer-name {
  color: #000000;
}

Selector Type

We try to autogenerate a selector from layer name. You can choose which type it should be

Option Example
class .button
id #button
element button

Color Type

Choose your preferred color syntax.

Note that if you select hex, sometimes it may actually output an rgba, because hex has no option to express alpha.

Safe Mode

Use this if you are using an outdated Less compiler. It will wrap all mixin params to quotes, so Less Hat won't break. However in most cases - do not use this option.

Show Text Snippet

If you have text layer with more styles (various text sizes, colors, โ€ฆ), it will show you snippet of text in comment, so you know which rule relates to which part of content

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.