Easily import and setup the Segoe font family.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fonts Initial commit. Jun 17, 2015
test Add tests to bundle using webpack Sep 17, 2016
README.md Add tests to bundle using webpack Sep 17, 2016
bower.json Fix tabs Sep 14, 2016
package.json 1.0.1 Feb 20, 2017
segoe-fonts.css Fix font references, up bower version Sep 14, 2016

README.md

Segoe Fonts

Easily import and setup the Segoe font family.

Installation

Bower

bower install segoe-fonts --save

NPM / Webpack

npm install segoe-fonts -S

See example webpack config in test/webpack 🤘

Usage

Less Font Stack

@segoe: 'Segoe UI', 'Open Sans', Helvetica, sans-serif;
@segoe-semibold: 'Segoe UI Semibold', 'Open Sans', Helvetica, sans-serif;
@segoe-bold: 'Segoe UI Bold', 'Open Sans', Helvetica, sans-serif;
@segoe-light: 'Segoe UI Light', 'Open Sans', Helvetica, sans-serif;

Sass Font Stack

$segoe: 'Segoe UI', 'Open Sans', Helvetica, sans-serif;
$segoe-semibold: 'Segoe UI Semibold', 'Open Sans', Helvetica, sans-serif;
$segoe-bold: 'Segoe UI Bold', 'Open Sans', Helvetica, sans-serif;
$segoe-light: 'Segoe UI Light', 'Open Sans', Helvetica, sans-serif;

Contributing

Running bower tests

In ./test/bower:

npm install
npm run install     # Uninstalls segoe-fonts (if exists); clears the bower cache and installs segoe fonts from dev.
npm test            # Wires in segoe-fonts on the index page and opens it up locally.

Running webpack bundling tests

In ./test/webpack

npm install
npm test