0.7.7 • Published 6 years ago

dt-iconography-webfont v0.7.7

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

dt-iconography-webfont

Icon webfonts for the Dealer Tire web properties

Usage with LessCSS

The package provides:

  • icon webfonts (eot, woff, woff2, ttf, svg)
  • a demo page (dt-icons.html)
  • stylesheets (vanilla CSS, LessCSS, and SCSS) file containing:
    • @font-family include
    • a general (bem style) .icon class
    • individual classes for each icon

Relative Font Path

You may specifiy a path prefix for the generated @font-family in the less file (at compile time) by specifying a @dt-icons-font-path less variable. (See fontPathVariables)

When not specified, the files are loaded from the current directory:

@font-face {
  font-family: "dt-icons";
  src: url("icon/dt-icons.eot?63cba9c901950ea6af5fdb9a59bb3c79");
  src: url("icon/dt-icons.eot?#iefix") format("embedded-opentype"),
       url("icon/dt-icons.woff2?63cba9c901950ea6af5fdb9a59bb3c79") format("woff2"),
       url("icon/dt-icons.woff?63cba9c901950ea6af5fdb9a59bb3c79") format("woff"),
       url("icon/dt-icons.ttf?63cba9c901950ea6af5fdb9a59bb3c79") format("truetype"),
       url("icon/dt-icons.svg?63cba9c901950ea6af5fdb9a59bb3c79#dt-icons") format("svg");
  font-weight:normal;
  font-style:normal;
}

When specified:

@dt-icons-font-path="../../icon/";

Yields:

@font-face {
  font-family: "dt-icons";
  src: url("../../icon/dt-icons.eot?63cba9c901950ea6af5fdb9a59bb3c79");
  src: url("../../icon/dt-icons.eot?#iefix") format("embedded-opentype"),
       url("../../icon/dt-icons.woff2?63cba9c901950ea6af5fdb9a59bb3c79") format("woff2"),
       url("../../icon/dt-icons.woff?63cba9c901950ea6af5fdb9a59bb3c79") format("woff"),
       url("../../icon/dt-icons.ttf?63cba9c901950ea6af5fdb9a59bb3c79") format("truetype"),
       url("../../icon/dt-icons.svg?63cba9c901950ea6af5fdb9a59bb3c79#dt-icons") format("svg");
  font-weight:normal;
  font-style:normal;
}
0.7.7

6 years ago

0.7.6

7 years ago

0.7.5

7 years ago

0.7.4

7 years ago

0.7.2

7 years ago

0.7.1

7 years ago

0.7.0

7 years ago

0.6.6

7 years ago

0.6.5

7 years ago

0.6.4

7 years ago

0.6.3

7 years ago

0.6.2

7 years ago

0.6.1

7 years ago

0.6.0

7 years ago

0.5.3

7 years ago

0.5.4

7 years ago

0.5.2

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.1.0

7 years ago