Topic: Use Mdb colors in my own SCSS
jouvrard pro asked 5 years ago
Hello,
I would like to use some of the colors in this page: https://mdbootstrap.com/docs/jquery/css/colors/ in my own scss files.
I have imported the "_colors.scss" file but I Don't know how to use it, for example to use the "blue lighten-4" color?
Thanks,
Jerome
Marta Wierzbicka staff answered 5 years ago
Hi,
use variables from scss/core/_colors.scss
, for example:
.test { color: $red-lighten-5 }
Best, Marta
jouvrard pro answered 5 years ago
Sorry it wasn't clear.
I would like to use it in my own scss files, to use it in some other tags. For example:
.test { color: blue lighten-4; }
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.3
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: Yes