diff options
author | Martijn Cuppens <martijn.cuppens@gmail.com> | 2019-02-07 20:19:00 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-02-07 20:19:00 +0300 |
commit | bcfb7ed159ee79b1d362c8ce0ef09fd53bef27f3 (patch) | |
tree | 0e0b80a7acedb6e54e493f331af0260519fb12a4 /scss | |
parent | c0e42cb89e399b9140114e1754c8cc5bbb5da71c (diff) |
Deprecate `invisible()` mixin (#28066)
Diffstat (limited to 'scss')
-rw-r--r-- | scss/mixins/_visibility.scss | 1 | ||||
-rw-r--r-- | scss/utilities/_visibility.scss | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/scss/mixins/_visibility.scss b/scss/mixins/_visibility.scss index fe523d0ee3..f174673117 100644 --- a/scss/mixins/_visibility.scss +++ b/scss/mixins/_visibility.scss @@ -4,4 +4,5 @@ @mixin invisible($visibility) { visibility: $visibility !important; + @include deprecate("`invisible()`", "v4.3.0", "v5"); } diff --git a/scss/utilities/_visibility.scss b/scss/utilities/_visibility.scss index 823406dc3c..7756c3bfac 100644 --- a/scss/utilities/_visibility.scss +++ b/scss/utilities/_visibility.scss @@ -1,11 +1,13 @@ +// stylelint-disable declaration-no-important + // // Visibility utilities // .visible { - @include invisible(visible); + visibility: visible !important; } .invisible { - @include invisible(hidden); + visibility: hidden !important; } |