Home how often do bootstrap variables change
Reply: 0

how often do bootstrap variables change

user7548
1#
user7548 Published in September 20, 2018, 12:59 pm

Switching from "bootstrap": "~4.0.0-beta.2" to "bootstrap": "^4.0.0" added new variables in the _variables.scss. Boostrap classnames only change when there is a major version upgrade (AFAIK), but does the same apply to _variables.scss too?

It would change how we share the _variables.scss accross our application.

share|improve this question
  • 1
    The variable names shouldn't change as Bootstrap 4 is now in "real" release. The variables are there for a good reason: Your CSS shouldn't break when you upgrade. (not counting major versions of course) – Klooven Feb 12 at 10:25
  • Of course new variables can be added. Those shouldn't break your CSS. – Klooven Feb 12 at 10:26
  • @Klooven if you put this as answer, I'd accept it. Also give a hint how to implement it with scss (include the original _variables.scss from the boostrap folder an the ones you overwrite in a separate "_variables.scss" where only the changes ones are added without "!default" at the end) – Stefan Feb 13 at 11:11

1 Answer 1

active oldest votes
up vote 1 down vote accepted
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.302184 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO