New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

csshat-language-sass

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csshat-language-sass

Sass language

  • 1.0.12
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Sass

Install in CSS Hat

This is a template for CSS Hat 2 that generates code in Sass language with mixins from Bourbon and Compass.

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

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

FAQs

Package last updated on 23 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc