From b32bc96b937e72d6ba9e85dd722d08b648dda1b4 Mon Sep 17 00:00:00 2001 From: Muhammad Mabrouk Date: Thu, 28 Mar 2024 17:51:39 +0200 Subject: [PATCH] Add `!default` flag to dark theme variables This change allows users to override these variables during their project setup using the `@use` rule, as documented on the SCSS website. --- dark/dark.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dark/dark.scss b/dark/dark.scss index 70bce67..ab8f1cb 100644 --- a/dark/dark.scss +++ b/dark/dark.scss @@ -1,7 +1,7 @@ @import 'sweetalert2/src/variables'; -$swal2-dark-theme-black: #19191a; -$swal2-dark-theme-white: #e1e1e1; +$swal2-dark-theme-black: #19191a !default; +$swal2-dark-theme-white: #e1e1e1 !default; $swal2-outline-color: lighten($swal2-outline-color, 10%); $swal2-background: $swal2-dark-theme-black;