-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reopened: Missing $primary-text-emphasis-dark variable #39367
Comments
Here to back this up as a |
^ |
I have encountered this issue as well, however there are several other issues when upgrading from 5.2.X to 5.3.X. The change should have been marked major, not minor. |
did you tried adding the following??
|
While that exact solution did not work for me, there are other solutions. However, there are two issues here:
|
Suggested a patch tackling this issue via #39380. Please test it in your projects to double-check that it fixes well the issue on your side and that it doesn't cause any unexpected side effects 🙏 |
I appreciate that you have taken the time to put this together! I will do a third-person review here soon as I get home.
|
Clarification from original issue #38683
The original ticket was closed by @mdo with the following explanation:
There seems to be a misunderstanding on what "breaking change" means. It should mean: "if you update this library to a new version, all usages of said library should continue to compile."
Before version 5.3.0, the following code compiles:
After version 5.3.0, the aforementioned code throws the following error:
If you disagree, can you please explain how you and the rest of the Bootstrap team interprets the phrase "breaking change"?
Original issue
Prerequisites
Describe the issue
The problem is your update a minor version (5.2.3 -> 5.3.0) and have a very little Breaking Change
variable
$primary-text-emphasis-dark
not exist on 5.2.3 and is required on 5.3.0The fix is very easy to implement, just need include the new file variables-dark on main styles
Some automated process may throw an error, because it's a minor update and it should be backwards compatible.
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.3.0
The text was updated successfully, but these errors were encountered: