Topic: How to change correctly color variable with SASS (for button, etc ...)
AlexPEREIRA free asked 8 years ago
%primary-color{
background-color: $primary-color;
&:hover,&:focus{
background-color: $primary-color-dark !important;
}
}
but i just want to change $success-color variable for exemple.
Thx
twentyfour pro answered 6 years ago
Bartłomiej Malanowski staff commented 6 years ago
You can modify that file, but if you want to be sure that your changes won't be overwritten, I recommend you to add your custom code to "_custom-styles..scss" or "_custom-variables.scss"
ijabit free answered 8 years ago
Michal Szymanski staff answered 8 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No