Have ideas to improve npm?Join in the discussion! »

    @sweetalert2/theme-dark

    4.0.5 • Public • Published

    @sweetalert2/theme-dark - Dark Theme for SweetAlert2

    npm version

    Installation

    npm install --save sweetalert2 @sweetalert2/theme-dark

    Usage

    With CSS:

    <!-- Include the Dark theme -->
    <link rel="stylesheet" href="@sweetalert2/theme-dark/dark.css">
    
    <script src="sweetalert2/dist/sweetalert2.min.js"></script>

    With SASS:

    your-app.js:

    import Swal from 'sweetalert2/src/sweetalert2.js'

    your-app.scss:

    @import '~@sweetalert2/theme-dark/dark.scss';

    Install

    npm i @sweetalert2/theme-dark

    DownloadsWeekly Downloads

    993

    Version

    4.0.5

    License

    MIT

    Unpacked Size

    58.2 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar