Skip to content

geordanr/xwing-miniatures-font

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

X-Wing Miniatures Font Build Status

List of symbols

Vector font by:

Usage

<span>On a <i class="xwing-miniatures-font xwing-miniatures-font-hit"></i> or <i class="xwing-miniatures-font xwing-miniatures-font-crit"></i>, go <strong>kaboom!</strong></span>
<i class="xwing-miniatures-ship xwing-miniatures-ship-tiephantom"></i>

Install

Webpack

If you want, add an alias to make requiring the CSS suck a bit less:

resolve: {
    alias: {
        'XWingMiniaturesFont.css$': path.resolve(path.join(__dirname, 'node_modules', 'xwing-miniatures-font', 'xwing-miniatures.css'))
    }
}

Then in your code somewhere:

require('XWingMiniaturesFont.css')

Bower

This font pack is available as a Bower package which supplies the TTFs and CSS files.

npm install bower
`npm bin`/bower install xwing-miniatures-font

And use bower_components/xwing-miniatures-font/dist/xwing-miniatures.css.

Just Tell Me Where the Files Are

npm install xwing-miniatures-font

Then find the TTFs and CSS in node_modules/xwing-miniatures-font/dist.

Development

yarn          # or npm install
npm run build
npm test