From 66bf055c7074d7041813ef8da100558da00f0119 Mon Sep 17 00:00:00 2001 From: Andy Cochran Date: Tue, 10 May 2016 17:17:08 -0400 Subject: [PATCH] allow foundation-flex-video mixin, warn if used --- scss/components/_flex-video.scss | 1 + scss/components/_responsive-embed.scss | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 scss/components/_flex-video.scss diff --git a/scss/components/_flex-video.scss b/scss/components/_flex-video.scss new file mode 100644 index 000000000..bf85a6c53 --- /dev/null +++ b/scss/components/_flex-video.scss @@ -0,0 +1 @@ +@import 'responsive-embed'; diff --git a/scss/components/_responsive-embed.scss b/scss/components/_responsive-embed.scss index 3f84e5538..fb80bd337 100644 --- a/scss/components/_responsive-embed.scss +++ b/scss/components/_responsive-embed.scss @@ -58,6 +58,11 @@ $responsive-embed-ratio-widescreen: 16 by 9 !default; } } +@mixin foundation-flex-video { + @warn 'This mixin is being replaced by foundation-responsive-embed(). foundation-flex-video() will be removed in Foundation 6.4.'; + @include foundation-responsive-embed; +} + @mixin flex-video($ratio: $responsive-embed-ratio) { @warn 'This mixin is being replaced by responsive-embed(). flex-video() will be removed in Foundation 6.4.'; position: relative; -- 2.47.2