Code Monkey home page Code Monkey logo

material-design-iconic-font's Introduction

![Latest Version](https://img.shields.io/github/release/zavoloklom/material-design-iconic-font.svg?style=flat-square&label=latest version) ![Software License](https://img.shields.io/badge/license-MIT License/SIL OFL 1.1-blue.svg?style=flat-square) Total Downloads

NPM Dependency DevDependency Last Month Downloads

Material Design Iconic Font

Material Design Iconic Font and CSS toolkit

Material Design Iconic Font is a full suite of official material design icons (created and maintained by Google) and community icons for easy scalable vector graphics on websites or desktop.

Material Design Icons are the official open-source icons featured in the Google Material Design specification.

Get started at http://zavoloklom.github.io/material-design-iconic-font

Upgrading from 1.x to 2.x at old docs http://zavoloklom.github.io/material-design-iconic-font/v1/

Issue with cheatsheet: If you think icons do not match the cheatsheet page, please read issue 47.

Install

Download: 2.1.2 (ZIP)
Bower: bower install material-design-iconic-font
NPM: npm install material-design-iconic-font

Getting started

EASY: CSS on CDNjs

Thanks to the cdnjs.cloudflare.com, you can use CDNjs to add MD Iconic Font into your website without downloading or installing anything!

  • Paste the following code into the section of your site's HTML.
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/material-design-iconic-font/2.1.2/css/material-design-iconic-font.min.css">
  • Check out the Examples pages to start using Material Design Iconic Font!

BASIC: Default CSS

Use this method to get the default Material Design Iconic Font CSS.

  • Download latest version of Material Design Iconic Font.
  • Unpack the entire material-design-iconic-font archive into your project.
  • In the of your html, reference the location to your material-design-iconic-font.min.css.
    <link rel="stylesheet" href="path/to/material-design-iconic-font/css/material-design-iconic-font.min.css">
  • Check out the Examples pages to start using Material Design Iconic Font!

PRO: Custom LESS/SCSS

Use this method to customize Material Design Iconic Font using LESS or SCSS.

  • Download latest version of Material Design Iconic Font.
  • Unpack the entire material-design-iconic-font archive into your project.
  • Open your project's path/to/material-design-iconic-font/less/variables.less or path/to/material-design-iconic-font/scss/_variables.scss and edit the @zmdi-font-path variable to point to your font directory.

@zmdi-font-path: "../fonts";

  • You can change prefix zmdi to something else by editing @zmdi-icon-prefix in path/to/material-design-iconic-font/less/variables.less or path/to/material-design-iconic-font/scss/_variables.scss

@zmdi-icon-prefix: zmdi;

  • Re-compile your LESS if using a static compiler.
  • Check out the Examples pages to start using Material Design Iconic Font!

Licence

The full details of how Material Design Iconic Font is licensed and 'Thanks to' section: License page.

Browser Support

  • Chrome 21+
  • Firefox 22+
  • Opera 12.1+
  • Safari 6.1+
  • IE 10+
  • Android Browser 4.3+
  • Not supported in Opera Mini

In fact it can work in earlier versions of browsers accordingly to caniuse.com portal (you can check ttf, woff, transform and animation properties), but i can't test it.

Changelog

v2.1.2:

  • add WOFF2 support
  • remove 2.0 SVG icons files
  • add EOT and SVG font files (not included in css)
    2.1.2 GitHub milestones

v2.1.1:

  • fix bugs in aliases LASS/SASS files

v2.1.0:

  • change base font folder to "fonts"
  • resort and rename icons for better search
  • change variables prefix in LESS/SASS from md- to zmdi-
  • change helper classes prefix in LESS/SASS from zmd- to zmdi-hc-
  • change icons variables prefix in LESS/SASS from md-iconset- to zmdi-var-
  • some changes with icons to make them look pixel perfect at 14px lie
  • add some community icons
  • add some new icons in directional and social sections
    2.1.0 GitHub milestones

All changes in LESS/SASS/CSS has backward compatibility with 2.0.
If you use font as standalone font - you should update it carefully, because 2.1 ttf file cheat sheet hasn't backward compatibility with 2.0. Sorry for that, but in 2.0 was a bug that I couldn't remove without breaking backward compatibility.

v2.0.2:

  • some minor changes in less/scss/css files for better icons display

v2.0.1:

v2.0.0:

  • add new Google icons
  • remove duplicated icons to reduce font size
  • resort and rename icons for better search (no backward compatibility with old icon names)
  • no support for IE7-8 (remove eot and svg font files)
  • change icon-prefix to 'zmdi-' for capability with Angular JS
  • add 'fixed-width', 'list' and 'stack' classes
  • add "!default" to sass variables
  • add vars with glyph codes to less/sass
  • add nested pseudo classes for less/sass
    2.0.0 GitHub milestones

Versioning

Material Design Iconic Font will be maintained under the Semantic Versioning guidelines as much as possible. Releases will be numbered with the following format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • New icons from Google or changes that breaking backward compatibility bumps the major (and resets the minor and patch)
  • New additions, including new non-Google icons, without breaking backward compatibility bumps the minor (and resets the patch)
  • Bug fixes and misc changes bumps the patch

For more information on SemVer, please visit http://semver.org.

Author

Donate

material-design-iconic-font's People

Contributors

zavoloklom avatar davidkpiano avatar

Watchers

vincent guo avatar

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.