Topic: How to change correctly color variable with SASS (for button, etc ...)
AlexPEREIRA asked 9 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 Michal Szymanski staff pro premium priority answered 9 years ago
ijabit answered 9 years ago
twentyfour pro answered 6 years ago
Bartłomiej Malanowski staff pro premium 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"
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No