Flaticons Directory Documentation

This document covers all files in the css/flaticons folder, including a Windows shortcut, licensing, source SCSS, compiled CSS, and a demo HTML.


Overview

The Flaticons directory bundles a custom icon font from Flaticon. It provides:

  • A Windows shortcut (.lnk) for quick access in development
  • A license file with usage terms
  • The SCSS source defining the font-face and icon classes
  • The compiled CSS for production
  • A demo HTML showcasing available glyphs

📁 Shortcut: flaticons (flaticons - Shortcut.lnk)

A Windows Shell Link that points to the local css/flaticons folder, improving developer ergonomics on Windows.

Property Value
Target Path F:\Workspace\TMS_FrontEnd\freightanywhere.com\css\flaticons
Relative Path css\flaticons
Working Dir F:\Workspace\TMS_FrontEnd\freightanywhere.com
Description File folder
Machine Owner desktop-hk764j7
Icon Default folder icon
# Extracted fields from the binary .lnk (truncated):
TargetPath: F:\Workspace\TMS_FrontEnd\freightanywhere.com\css\flaticons
Description: File folder
RelativePath: css\flaticons
WorkingDir: F:\Workspace\TMS_FrontEnd\freightanywhere.com

:pushpin: Ignorable in production; purely a local convenience.


📄 License (license.txt)

Defines the usage terms for this Flaticon icon set.

You can review or download the full license here:
https://profile.flaticon.com/license/fi/SwkgUxJEL3JglsTgaFIv-7


💅 SCSS Source (_flaticon.scss)

Defines the webfont and maps icon names to glyph codes.

/* Flaticon WebFont Setup */
@font-face {
  font-family: "Flaticon";
  src: url("./Flaticon.eot");
  src: url("./Flaticon.eot?#iefix") format("embedded-opentype"),
       url("./Flaticon.woff") format("woff"),
       url("./Flaticon.ttf") format("truetype"),
       url("./Flaticon.svg#Flaticon") format("svg");
  font-weight: normal;
  font-style: normal;
}

.fi:before {
  display: inline-block;
  font-family: "Flaticon";
  font-style: normal;
  /* ... font smoothing ... */
}

/* Icon class mappings */
.flaticon-2412:before { content: "\f100"; }
.flaticon-2414:before { content: "\f101"; }
.flaticon-accounting:before { content: "\f102"; }
/* …many more… */ 
  • Purpose: Establishes the Flaticon font and defines CSS classes for each glyph.
  • Usage: Compile via Sass into flaticon.css, or import directly if your build supports SCSS.

🎨 Compiled CSS (flaticon.css)

Note: Not uploaded directly, but referenced by the HTML demo.

@font-face{font-family:"Flaticon";src:url("./Flaticon.eot");...}
[class^="flaticon-"]:before{font-family:Flaticon;...}
.flaticon-accounting:before{content:"\f102";}
  • Included In:
    $CSS[] = 'css/flaticons/flaticon.css';
    
  • Usage:
    <link rel="stylesheet" href="css/flaticons/flaticon.css">
    <i class="flaticon-logistics"></i> Logistics
    

🌐 Demo Page (flaticon.html)

A simple HTML page illustrating how to use the icon set.

<!DOCTYPE html>
<html>
<head>
  <title>Flaticon WebFont</title>
  <link href="http://fonts.googleapis.com/css?family=Varela+Round" rel="stylesheet">
  <link rel="stylesheet" href="flaticon.css">
</head>
<body>
  <div class="wrapper">
    <h1 class="title">Flaticon Icons</h1>
    <section class="iconsuse">
      <div class="image">
        <i class="glyph-icon flaticon-2412"></i>
        <span>&lt;i class="flaticon-2412"&gt;&lt;/i&gt;</span>
      </div>
      <!-- Additional examples… -->
    </section>
  </div>
</body>
</html>
  • Highlights:
    • Uses Google Font “Varela Round” for styling
    • Demonstrates icon usage via <i class="flaticon-XXX"></i>

📂 Directory Structure

File Description
flaticons - Shortcut.lnk Windows shortcut to this folder (development only)
license.txt Flaticon license details
_flaticon.scss SCSS source for icon font and CSS class definitions
flaticon.css Compiled CSS for production
flaticon.html Demo page showcasing icon usage 🎨
Flaticon.eot/.woff/.ttf/.svg Original font files for cross-browser support

🔧 Integration Tips

  • Build Pipeline: Include _flaticon.scss in your Sass build to generate flaticon.css.
  • Production: Serve flaticon.css and font files from your CDN or asset server.
  • Accessibility: Always include a visually hidden <span> or aria-label alongside icons conveying meaning.

This comprehensive guide helps you understand, customize, and deploy the Flaticons icon set in your project.