on-internet
← Community

Making dark themed inputs for Bootstrap 4

Stack Overflow ·

TL;DR - how can I nest validation states using a SASS mixin? Long version - I'm having a few difficulties using Bootstrap 4's SASS to generate a dark theme. Some variable replacements are obvious, but others are causing issues. The one I am currently stuck on is form inputs. Bootstrap's SASS will spit out white-background inputs by default. I override this background with a variable I have collected, and set the border to be 50% of the body's text colour (it will have contrast still, but not be stark). At the time of compile (which is a dynamic process handed over to the back end), the compile

Comments

Sign in or sign up to comment and upvote.

No comments yet.