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

@heroku/ember-malibu-icon

Package Overview
Dependencies
Maintainers
36
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heroku/ember-malibu-icon

Ember Malibu Icons

  • 0.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
271
increased by10.61%
Maintainers
36
Weekly downloads
 
Created
Source

Ember Malibu 🌴 Icon

This Ember addon injects the Malibu svg sprite into your Ember application and provides a helper to insert icons into your templates. You can explore how this helper works in Malibu Icon Builder.

Note that it will be helpful if you also use Purple 3 for styling

Installation

ember install @heroku/ember-malibu-icon

Configuration

By default this addon will inject the latest version of Malibu. Consumers can configure this in their application's config/environment.js file

ENV['ember-malibu-icon']: {
  malibuVersion: '1.1.0'
}

Usage

From a Handlebars (.hbs) file

{{malibu-icon size='28' iconClass='gradient-dark-gray' name='app-28' title="Optional Title"}}

From a javascript file

import { malibuIcon } from 'ember-malibu-icon/helpers/malibu-icon';
malibuIcon({
  name: 'app-16',
  size: 16,
  iconClass: 'v-mid gradient-purple',
  title='Optional Title'
})

Development

  • git clone https://github.com/heroku/ember-malibu-icon
  • cd ember-malibu-icon
  • yarn

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.

Keywords

FAQs

Package last updated on 09 Jun 2017

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