$input-btn-* overrides doesn't work using SCSS
See original GitHub issueThere are several $input-btn-* variables that are used by both $input-* and $btn-* counterparts like this:
$input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
$input-focus-box-shadow: $input-btn-focus-box-shadow !default;
$btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
But, when I modify the value of the $-input-btn-* variables it doesn’t affect the $input-* nor the $btn-* counterpart.
I am not that familiar with SCSS, so I can’t see the cause, but this seriously add more complexity to the variables since I have to override all places the $input-btn-* variables are used.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Input type="button" not overriding styles with class, but normal ...
When I use <button type="button" class="orange">Orange button</button> it works fine, but when I use <input type="button" class="orange" value=" ...
Read more >Overriding Default Button Styles | CSS-Tricks
There are a variety of “buttons” in HTML. You've got: <button>Button</button> <input type="button" value="Button">.
Read more >Find invalid, overridden, inactive, and other CSS
To get a hint at what goes wrong, open the Computed pane to see the "final" CSS applied to an element and compare...
Read more >Issue with variable overrides · Issue #43 · twbs/bootstrap-npm ...
Overriding some variable default only affect that variable, and does not affect other variables using that variable.
Read more >Sass: @use
To load a module with configuration, write @use <url> with (<variable>: <value>, <variable>: <value>) . The configured values will override the variables' ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hmm ok, maybe @andresgalante or @mdo can confirm that
!defaultmeans you can override it. So you are not doing it properly.