Socket
Socket
Sign inDemoInstall

dt-iconography-webfont

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dt-iconography-webfont

Icon fonts for the DT web properties


Version published
Weekly downloads
1
decreased by-95.83%
Maintainers
1
Weekly downloads
 
Created
Source

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;
}

FAQs

Package last updated on 22 Jan 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc