3.0.7 • Published 8 years ago

csshat-language-css v3.0.7

Weekly downloads
17
License
MIT
Repository
github
Last release
8 years ago

CSS

Install in CSS Hat

This is a template for CSS Hat 2 that generates CSS. This is the only template that ships with CSS Hat and is used for generating preview.

Settings

Vendor Prefixes

With this option on, some values will be prefixed to work in various browser. TODO: document when

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

OptionExample
class.button
id#button
elementbutton

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.

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

3.0.7

8 years ago

3.0.6

8 years ago

3.0.5

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.1.7

8 years ago

2.1.6

8 years ago

2.1.5

8 years ago

2.1.4

9 years ago

2.1.3

9 years ago

2.1.2

9 years ago

2.1.1

9 years ago

1.2.3

10 years ago

1.2.2

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago