Skip to content

Cannot change default FontAwesome5 icons #410

@forxer

Description

@forxer

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'
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions