You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to style my buttons and forms using v5, but running into issues with setting my focus styles. This is due to the way box shadow variables are built up;
As you can see, the blur value for the $input-btn-focus-box-shadow variable is explicitly set to 0. This is fine in this instance as I can manually re-declare this variable with my own prop;
However, there are issues when it comes to validation. The problem is that the .form-control class that includes the validation state selector mixin explicitly sets the box-shadow, meaning there is no way for me to overwrite the property using variables:
I am therefore asking that a $input-btn-focus-blur variable be added so that the mixin can still work as intended, whilst giving users the ability to blur if they wish. Thanks.
The text was updated successfully, but these errors were encountered:
For now, going to pass on this. Our goal is to keep focus styles consistent and obvious. Adding a blur makes them look like default box-shadows IMO.
Sure, that makes sense, but for those developers that need to customise Bootstrap, the additional variable would allow us to set a consistent value for the blur.
You could even initialise the variable with a value of 0 so as to keep the base Bootstrap styles that you mention.
I am trying to style my buttons and forms using v5, but running into issues with setting my focus styles. This is due to the way box shadow variables are built up;
As you can see, the
blur
value for the$input-btn-focus-box-shadow
variable is explicitly set to0
. This is fine in this instance as I can manually re-declare this variable with my own prop;However, there are issues when it comes to validation. The problem is that the
.form-control
class that includes the validation state selector mixin explicitly sets thebox-shadow
, meaning there is no way for me to overwrite the property using variables:I am therefore asking that a
$input-btn-focus-blur
variable be added so that the mixin can still work as intended, whilst giving users the ability to blur if they wish. Thanks.The text was updated successfully, but these errors were encountered: