pnotify icon indicating copy to clipboard operation
pnotify copied to clipboard

Cannot change default FontAwesome5 icons

Open forxer opened this issue 3 years ago • 0 comments

I'm trying to change the default icons but it doesn't seem to work.

PNotify.defaultModules.set(PNotifyFontAwesome5Fix, {});
PNotify.defaultModules.set(PNotifyFontAwesome5, {
    notice: 'fal fa-exclamation-circle',
    info: 'fal fa-info-circle',
    success: 'fal fa-check-circle',
    error: 'fal fa-exclamation-triangle',

    // Buttons Module
    closer: 'fal fa-times',
    sticker: 'fal',
    stuck: 'fa-play',
    unstuck: 'fa-pause',

    // Reference Module (Useful for other modules.)
    refresh: 'fal fa-sync'
});

forxer avatar Feb 17 '21 10:02 forxer