@sweetalert2/theme-minimal

Minimal theme for SweetAlert2

Usage no npm install needed!

<script type="module">
  import sweetalert2ThemeMinimal from 'https://cdn.skypack.dev/@sweetalert2/theme-minimal';
</script>

README

@sweetalert2/theme-minimal - Minimal Theme for SweetAlert2

npm version

Installation

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

Usage

With CSS:

<!-- Include the Minimal theme -->
<link rel="stylesheet" href="@sweetalert2/theme-minimal/minimal.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-minimal/minimal.scss';