Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emoji as figure #33

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

rjoydip-zz
Copy link
Contributor

@rjoydip-zz rjoydip-zz commented Jun 2, 2018

This PR is for find or get emoji and use it in the badge of custom configured type option. This could be the use case for #19. Emoji may be used instead of the logo.

Example

const { Signale, Badge } = require('signale');
// custom type option
const options = {
    types: {
        remind: {
            badge: Badge.get('coffee'),
            color: 'yellow',
            label: 'reminder'
        },
        santa: {
            badge: Badge.get('santa'),
            color: 'red',
            label: 'santa'
        }
    }
};

@rjoydip-zz rjoydip-zz changed the title Custom emoji badge more emoji figure Jun 2, 2018
@rjoydip-zz rjoydip-zz changed the title more emoji figure emoji as figure Jun 2, 2018
@klaudiosinani klaudiosinani added the enhancement New feature or request label Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants