1.0.2 • Published 7 years ago

@jeykeu/font-os v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

font-os

Available logos

font-os is an icon font containing Operating System logos to be used on your website.

Usage

Note: All brand icons are trademarks of their respective owners and should only be used to represent the company or product to which they refer.

To use the font, include assets/css/font-os.css as well as the fonts in your project and use the CSS classes listed below.

<link href="/assets/css/font-os.css" rel="stylesheet">

Or via npm

npm install font-os --save

Available logos are:

DistributionCSS classInclusion code
Alpinefo-alpine<span class="fo-alpine"></span>
AOSC OSfo-aosc<span class="fo-aosc"></span>
Arch Linuxfo-archlinux<span class="fo-archlinux"></span>
Applefo-apple<span class="fo-apple"></span>
CentOSfo-centos<span class="fo-centos"></span>
CoreOSfo-coreos<span class="fo-coreos"></span>
Debianfo-debian<span class="fo-debian"></span>
Dockerfo-docker<span class="fo-docker"></span>
elementary OSfo-elementary<span class="fo-elementary"></span>
Fedorafo-fedora[-inverse]<span class="fo-fedora"></span>
FreeBSDfo-freebsd<span class="fo-freebsd"></span>
Gentoofo-gentoo<span class="fo-gentoo"></span>
Linux Mintfo-linuxmint[-inverse]<span class="fo-linuxmint"></span>
Mageiafo-mageia<span class="fo-mageia"></span>
Manjarofo-manjaro<span class="fo-manjaro"></span>
Mandrivafo-mandriva<span class="fo-mandriva"></span>
NixOSfo-nixos<span class="fo-nixos"></span>
OpenSUSEfo-opensuse<span class="fo-opensuse"></span>
Raspberry Pifo-raspberry-pi<span class="fo-raspberry-pi"></span>
Red Hatfo-redhat<span class="fo-redhat"></span>
Sabayonfo-sabayon<span class="fo-sabayon"></span>
Slackwarefo-slackware[-inverse]<span class="fo-slackware"></span>
Tuxfo-tux<span class="fo-tux"></span>
Ubuntufo-ubuntu[-inverse]<span class="fo-ubuntu"></span>
Windowsfo-win10<span class="fo-win10"></span>

Dependencies

  • This project uses fontcustom to compile vectors into fonts.
  • wkhtmltopdf is used to generate this readme's preview image.

Compilation of the vectors

After making changes to one of the vectors, the fonts have to be recompiled. From the root directory, run:

fontcustom compile

To compile everything including the readme's preview.png, run:

sh ./compile.sh

To stage the new revision:

git add assets .fontcustom-manifest.json