Socket
Book a DemoInstallSign in
Socket

@iconsauce/plugin-material-design-icons-updated

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@iconsauce/plugin-material-design-icons-updated

This plugin is created to work with iconsauce

unpublished
latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

plugin-material-design-icons-updated

This plugin scrapes Material Design Icons node module material-design-icons-updated icon library to make you use it with iconsauce:

module.exports = {
  content: [
    './src/**/*.{tsx,ts}',
  ],
  fontSize: '24px',
  plugin: [
    require('@iconsauce/plugin-material-design-icons-updated'),
  ],
}

You will be able to use these icons in your project.

const Component = () => {

  const icon = 'gm/filled/warning'

  return <section className={ icon }>
    <div className="grid desktop:grid-cols-4 gm/filled/add-chart tablet:grid-cols-2 grid-cols-1 desktop:gap-6 gap-12 desktop:auto-rows-fr desktop:items-end">
      <i className="gm/filled/info"/>
      <span className='bg-adjust-tone-01/24 gm/filled/error'/>
      <div>
        <footer title="gm/filled/close"></footer>
      </div>
    </div>
  </section>
}
export default Component

This plug-in will generate only icons used:

@font-face {
  font-family: "iconsauce";
  src: url(data:font/truetype;charset=utf-8;base64,AA...AA);
}
[class^="gm/"],
[class*=" gm/"] {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: "iconsauce" !important;
  font-size: 24px;
  font-style: normal;
}
.gm\/filled\/add-chart::before { content: "\ea02"; }
.gm\/filled\/close::before { content: "\ea03"; }
.gm\/filled\/error::before { content: "\ea04"; }
.gm\/filled\/info::before { content: "\ea05"; }
.gm\/filled\/warning::before { content: "\ea08"; }

Keywords

plugin

FAQs

Package last updated on 16 Feb 2022

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