Skip to content

emoji as figure#33

Open
rjoydip-zz wants to merge 4 commits intoklaudiosinani:masterfrom
rjoydip-zz:emoji-badge
Open

emoji as figure#33
rjoydip-zz wants to merge 4 commits intoklaudiosinani:masterfrom
rjoydip-zz:emoji-badge

Conversation

@rjoydip-zz
Copy link
Copy Markdown
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