Giter VIP home page Giter VIP logo

openmoji-awesome's Introduction

Openmoji-awesome ๐Ÿ’ก

Like Font-Awesome and Twemoji-amazing, but for Openmoji Emojis! ๐ŸŒŸ

It's CSS classes for all your Emoji needs, now with all the Creative Commons goodness!

Forked from twemoji-amazing!

openmoji-banner

Usage

Basic Usage

Add the main files openmoji-color-awesome.css and openmoji-black-awesome.css to your project and then simply use the following in your HTML source:

<i class="oma oma-face-with-monocle"></i>

Size Options

Like in Font-Awesome, emoji sizes can be changed via oma-lg, oma-bg, oma-2x, oma-3x, oma-4x, and oma-5x.

Finding Emojis

  • Openmoji-awesome uses Openmoji json data as its source of codepoints and descriptions.
  • To find an emoji of your liking, check out the Openmoji emoji list. Replace spaces with hyphens to get the class name! (e.g. "man in suit levitating" becomes oma-man-in-suit-levitating or oma-black-man-in-suit-levitating ๐Ÿ•ด)

To use on your website, it is advised to download the svg files here: https://github.com/hfg-gmuend/openmoji/releases/tag/14.0.0 . By default, the script will generate a css file that will uses the emoji distributed from jsdeliver CDN.

Running the generator

./gradlew run will generate a fresh version of both the openmoji-color-awesome.css and the openmoji-black-awesome.css file in the root directory of the project.

The script source can be found in src/main/kotlin/Main.kt if you want to customize the image path (Change openmojiColorUrl and openmojiBlackUrl to the URL you want to use as a source).

You can integrate those in your project to use either color or black and white (or both!) emojis from Openmoji.

Licenses & Other

License: MIT.

Uses CSS snippets from twemoji-awesome, licensed under MIT.

Uses base code from twemoji-amazing, licensed under MIT.

As per the Openmoji repository, the graphics are licensed under the CC-BY 4.0 which has a pretty good guide on best practices for attribution.

openmoji-awesome's People

Contributors

gromain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

iamlucho

openmoji-awesome's Issues

Flag Myanmar is missing

The flag for Myanmar is missing from the list of countries.
No CDN link related to Myanmar Flag.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.