GithubHelp home page GithubHelp logo

Comments (3)

mjaverto avatar mjaverto commented on June 1, 2024

Isn't this a duplicate of #10?

from material-design-iconic-font.

sasivarnan avatar sasivarnan commented on June 1, 2024

Hi @mjaverto.
Yup I haven't noticed that issue #10.
So I made a fork of it with the solution that I have suggested. You can find that here.
https://github.com/sasivarnan/material-design-iconic-font

from material-design-iconic-font.

jossef avatar jossef commented on June 1, 2024

You can customize this prefix

by using less / sass, you have the ability to change the default md prefix to anything you want

  1. Copy from the bower install location the content of .../scss/material-design-iconic-font.scss to a local project file
  2. Add after importing _variables.scss a new line that overrides $md-css-prefix

_md-icons.scss (change from md to mdi)

@import "../../lib/material-design-iconic-font/scss/variables";

$md-css-prefix: mdi;
$md-font-path: "../../lib/material-design-iconic-font/fonts";

@import "../../lib/material-design-iconic-font/scss/mixins";
@import "../../lib/material-design-iconic-font/scss/path";
@import "../../lib/material-design-iconic-font/scss/core";
@import "../../lib/material-design-iconic-font/scss/sizes";
@import "../../lib/material-design-iconic-font/scss/border";
@import "../../lib/material-design-iconic-font/scss/pulled";
@import "../../lib/material-design-iconic-font/scss/spinned";
@import "../../lib/material-design-iconic-font/scss/rotated";
@import "../../lib/material-design-iconic-font/scss/icons";

and this is the result:

image

from material-design-iconic-font.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.