noto-color-emoji
v1.0.1
Published
noto fonts emoji
Downloads
228
Readme
Noto-color-emoji
A node module which makes it easier to play with noto-color-emoji fonts
Example Usage
$ npm i noto-color-emoji require-style
$ npm i yo-yo
var requireStyle = require('require-style')
var html = require('yo-yo')
var style = html`
<style>
${requireStyle('noto-color-emoji')}
body {
font-family: arial, NotoColorEmoji;
}
</style>
`
document.head.appendChild(style)
var hello = html`
<h1>Hello Noto! </h1>
`
document.body.appendChild(hello)
Notes :
- order of fonts in
font-family
css matters. I recommend you makeNotoColorEmoji
a fallback (as in example), otherwise it will try to take over all your fonts - this "just works" in electron apps, but for bundled apps read
require-style
documentation about bundling transforms.