jmontoyaa 0030835069 move assets to public new symfony structure | 7 ani în urmă | |
---|---|---|
.. | ||
README.md | 7 ani în urmă | |
_emojione-awesome.map.scss | 7 ani în urmă | |
emojione-awesome.scss | 7 ani în urmă | |
generate.js | 7 ani în urmă |
In the same vein as Font-Awesome, Emojione Awesome is for front end developers who just wanna drop an emoji on a page without using any sorts of scripts. Uses human-friendly class names (based on emoji shortcodes). View a full list of shortcodes at www.emoji.codes
<!-- Coffee Emoji -->
<i class="e1a-coffee"></i>
Additional classes let you modify size:
<!-- Coffee Emoji (large) -->
<i class="e1a-coffee e1a-lg"></i>
<!-- Coffee Emoji (2x) -->
<i class="e1a-coffee e1a-2x"></i>
<!-- Coffee Emoji (3x) -->
<i class="e1a-coffee e1a-3x"></i>
<!-- Coffee Emoji (4x) -->
<i class="e1a-coffee e1a-4x"></i>
<!-- Coffee Emoji (5x) -->
<i class="e1a-coffee e1a-5x"></i>
Special Thanks to Michael Hartmann for creating these scripts for us!
cd lib/emojione-awesome
node generate.js
Once you've generated the mapping you can build the css files via grunt. The compiled styles are output into /assets/css/emojione-awesome.css
npm install grunt grunt-contrib-sass
grunt sass