diff --git a/scss/_forms.scss b/scss/_forms.scss index ec9c335591b3e7c91108f74047bb9b06b1dd5b9b..79ca507f7a825ef6c49f7953b6ba9956d7450b5e 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -31,7 +31,7 @@ } // Customize the `:focus` state to imitate native WebKit styles. - @include form-control-focus(); + @include form-control-focus($ignore-warning: true); // Placeholder &::placeholder { diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss index ea8a91a024776c1e7fe00bce32185524a5e321f7..1b51a6439fb8ef83f772c802dfb8803a9ee691fd 100644 --- a/scss/mixins/_forms.scss +++ b/scss/mixins/_forms.scss @@ -10,7 +10,7 @@ // // Example usage: change the default blue border and shadow to white for better // contrast against a dark gray background. -@mixin form-control-focus() { +@mixin form-control-focus($ignore-warning: false) { &:focus { color: $input-focus-color; background-color: $input-focus-bg; @@ -23,6 +23,7 @@ box-shadow: $input-focus-box-shadow; } } + @include deprecate("The `form-control-focus()` mixin", "v4.3.2", "v5", $ignore-warning); }