question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

4.5.1 is broken (color maps)

See original GitHub issue

Expected behavior

Completed compiling (like on 4.5.0)

Actual behavior

Argument `$map2` of `map-merge($map1, $map2)` must be a map
in [...]\node_modules\mdbootstrap\scss\core\_colors.scss (line 43, column 7)

Because $red has been already set in bootstrap itself!

Your working environment and MDB version information

node v8.11.1, npm v5.6.0, yarn v1.5.1, bootstrap v4.1.0, mdbootstrap v4.5.1

Resources (screenshots, code snippets etc.)

scss file

@import "~bootstrap/scss/bootstrap";
@import "~mdbootstrap/scss/mdb";

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:31 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
Martusskycommented, Apr 26, 2018

For this package - MDB 4.5.1 we commented some of Bootstrap variables in our core/bootstrap/variables.scss file, because they had conflict with our variables, that’s why any new file, not ours will have conflict. This problem will be fixed in the next release which will be in May 7th.

1reaction
Martusskycommented, May 15, 2018

It should be fixed in the next MDB Angular release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SASS/SCSS: Bootstrap 5 Color functions not working well?
I'm using SASS and bootstrap the new version V5 as CSS Framework in some of my academic project in color ...
Read more >
Bad substitution if using color keywords as map keys #416
If you use color keywords, such as white oder black, and use them to build classes dynamically, sass-loader substitutes them with color hashes....
Read more >
Insufficient Color Contrast - Equalize Digital
The minimum acceptable contrast ratio for WCAG 2.1 AA compliance is 4.5:1 for body text or any smaller font sizes 18 pixels and...
Read more >
Retargeting Changes for Migration from .NET Framework 4.5 ...
Find information about application compatibility issues that might affect your app when migrating from .NET Framework 4.5.1 to 4.8.
Read more >
GMT_Tutorial.pdf - SOEST Hawaii
GMT follows the UNIX philosophy in which complex tasks are broken down into smaller ... Color palette table (For imaging, color plots, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found