summaryrefslogtreecommitdiff
path: root/_sass/neat/settings/_disable-warnings.scss
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2024-02-08 16:36:31 -0600
committerHombreLaser <sebastian-440@live.com>2024-02-08 16:36:31 -0600
commite182245d3205d929881f51da9b48d6c4ed97a682 (patch)
treed390e8754dec70a9c9293afb801321b96f043c15 /_sass/neat/settings/_disable-warnings.scss
Commit inicialHEADmaster
Diffstat (limited to '_sass/neat/settings/_disable-warnings.scss')
-rw-r--r--_sass/neat/settings/_disable-warnings.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/_sass/neat/settings/_disable-warnings.scss b/_sass/neat/settings/_disable-warnings.scss
new file mode 100644
index 0000000..3f9b92a
--- /dev/null
+++ b/_sass/neat/settings/_disable-warnings.scss
@@ -0,0 +1,13 @@
+@charset "UTF-8";
+
+/// Disable all deprecation warnings. Defaults to `false`. Set with a `!global` flag.
+///
+/// @type Bool
+
+$disable-warnings: false !default;
+
+@mixin -neat-warn($message) {
+ @if $disable-warnings == false {
+ @warn "#{$message}";
+ }
+}