Skip to content

Include declarative sizing and coloring CSS in iconfont/material-icons.css #309

@sryzycki

Description

@sryzycki

I'm involved in a project that implements very modular approach using webpack and AngularJS. I use your npm package so I can go ahead and depend on Material Design Icons like this:

import 'material-design-icons/iconfont/material-icons.css';

which is great but it does not contain declarative CSS rules that your guide suggests here. Which means I have to use Sass to globally import it. And that means if I take my component and give it to someone else, the icons will show but all the sizing and coloring will be lost. It either goes against "component way" or I'm missing something very obvious. Feel free to educate me. Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions