Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

framer-icon

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

framer-icon

Dynamically tinted icons based off of a template image.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Framer icon module

Dynamically tinted icons based off of a template image.

Usage

$ cd <myProject>.framer
$ npm install framer-icon

modules/myModule.coffee:

exports.Icon = require "framer-icon"

app.coffee:

{Icon} = require "myModule"

new Icon
  width: 30
  height: 30
  image: "images/icon.png"
  tintColor: "cornflowerblue"

API

Icon#tintColor <string>

Get or set the tint color. Anything accepted by Layer#backgroundColor is valid, with the addition of CSS gradients. Icon#color and Icon#backgroundColor are aliases.

Keywords

FAQs

Package last updated on 08 Jul 2015

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